#numbat #contract #blockchain #smart-contracts #wasm

no-std numbat-codec

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

1 unstable release

0.0.0 May 9, 2024

#5 in #numbat

Download history 136/week @ 2024-05-05 12/week @ 2024-05-12 20/week @ 2024-05-19

168 downloads per month
Used in 3 crates (via numbat-wasm)

GPL-3.0-only

39KB
974 lines

numbat-codec

Lightweight binary serializer/deserializer, written especially for Numbat 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.

no-std

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

Dependencies

~160–335KB