53 releases (7 breaking)

0.14.1 Feb 26, 2024
0.13.9 Feb 26, 2024
0.1.7 Nov 10, 2023

#20 in #dharitri

23 downloads per month
Used in 8 crates (6 directly)


26K SLoC

Smart contract base crate


This is the main crate for building smart contracts for the Dharitri blockchain.

It contains the interface that the smart contract sees and can use. No implementation details are available from this crate alone.


The crate supports both std and no-std builds. Building for the blockchain is done with no-std, while for debugging std is used.

Using a heap allocator is possible but discouraged. Use the "alloc" feature if you need it.


~71K SLoC