dharitri-sc-codec

Crates.iodharitri-sc-codec
lib.rsdharitri-sc-codec
version0.5.1
sourcesrc
created_at2023-10-17 07:54:30.146326
updated_at2024-02-26 10:31:54.895395
descriptionLightweight binary serializer/deserializer, written especially for Dharitri smart contracts
homepagehttps://dharitri.com/
repositoryhttps://github.com/Battula-anil-app-could/dx-sdk-rs-new
max_upload_size
id1005608
size159,466
(Battula-anil-app-could)

documentation

https://docs.dharitri.com/

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: 0

cargo fmt