53 releases (7 breaking)

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

#26 in #dharitri

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

GPL-3.0-only

1MB
26K SLoC

Smart contract base crate

crates.io

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.

no-std

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.

Dependencies

~4MB
~73K SLoC