#smart-contracts #blockchain #elrond

nightly no-std elrond-codec

Lightweight binary serializer/deserializer, written especially for Elrond smart contracts

30 releases (15 breaking)

0.16.0 Dec 15, 2022
0.14.0 Oct 13, 2022
0.12.0 Jul 8, 2022
0.10.0 Mar 17, 2022
0.1.1 Jul 18, 2020

#1 in #elrond

Download history 124/week @ 2025-09-20 142/week @ 2025-09-27 99/week @ 2025-10-04 72/week @ 2025-10-11 149/week @ 2025-10-18 101/week @ 2025-10-25 80/week @ 2025-11-01 88/week @ 2025-11-08 71/week @ 2025-11-15 90/week @ 2025-11-22 62/week @ 2025-11-29 77/week @ 2025-12-06 48/week @ 2025-12-13 62/week @ 2025-12-20 46/week @ 2025-12-27 61/week @ 2026-01-03

226 downloads per month
Used in 16 crates (2 directly)

GPL-3.0-only

120KB
3K SLoC

elrond-codec

Lightweight binary serializer/deserializer, written especially for Elrond smart contracts.

Designed to:

  • produce minimal WASM bytecode
  • be fast
  • avoid data copy as much as possible

Largely inspired by the Parity SCALE codec, but a completely different format and implementation.

For more info about the serialization format, see the developer reference.

no-std

Being designed for elrond-wasm smart contracts, it needs to be able to run in a no-std environment.

Dependencies

~150–670KB
~12K SLoC