dharitri-sc-codec

Crates.iodharitri-sc-codec
lib.rsdharitri-sc-codec
version1.19.0
created_at2023-10-17 07:54:30.146326+00
updated_at2025-07-07 11:54:56.886214+00
descriptionLightweight binary serializer/deserializer, written especially for Dharitri smart contracts
homepagehttps://dharitri.org/
repositoryhttps://github.com/TerraDharitri/drt-rs-sdk
max_upload_size
id1005608
size164,830
(mangonui)

documentation

https://docs.dharitri.org/

README

Smart contract standard codec

crates.io

Lightweight binary serializer/deserializer, written especially for Dharitri 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 Dharitri 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: 28

cargo fmt