multiversx-sc-codec

Crates.iomultiversx-sc-codec
lib.rsmultiversx-sc-codec
version0.20.0
sourcesrc
created_at2023-01-12 13:27:39.810955
updated_at2024-07-06 13:48:35.426353
descriptionLightweight binary serializer/deserializer, written especially for MultiversX smart contracts
homepagehttps://multiversx.com/
repositoryhttps://github.com/multiversx/mx-sdk-rs
max_upload_size
id757128
size158,757
Andrei Marinica (andrei-marinica)

documentation

https://docs.multiversx.com/

README

Smart contract standard codec

crates.io

Lightweight binary serializer/deserializer, written especially for MultiversX 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 MultiversX smart contracts, it needs to be able to run in a no-std environment.

It is also safe to run in a regular std environment.

The types provided by default all work without an allocator. To use an allocator, pass feature flag "alloc".

Commit count: 8481

cargo fmt