53 releases (7 breaking)

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

#2208 in Magic Beans

Download history 57/week @ 2024-01-07 32/week @ 2024-01-14 597/week @ 2024-02-11 2768/week @ 2024-02-18 1037/week @ 2024-02-25 65/week @ 2024-03-03 15/week @ 2024-03-10 21/week @ 2024-03-17 362/week @ 2024-03-31 3/week @ 2024-04-07

365 downloads per month
Used in 7 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
~68K SLoC