#smart-contracts #blockchain #dharitri #contract

dharitri-sc-meta-lib

Dharitri smart contract meta-programming tools and build system

13 stable releases

1.19.0 Jul 7, 2025
1.18.2 Jul 7, 2025
1.17.2 Jun 23, 2025
1.0.1 Jan 19, 2025
0.56.1 Jun 23, 2025

#18 in #dharitri

29 downloads per month
Used in 7 crates (2 directly)

GPL-3.0-only

1.5MB
43K SLoC

Smart contract meta crate support

crates.io

The library that provides all the functionality of the individual contracts meta crates.

The purpose of the contract meta crates is to produce the contract ABI. Because of their access to the ABI, they have other ABI-based responsibilities, such as:

  • generating the wasm crates,
  • building the contracts,
  • performing validations not possible otherwise,
  • generating snippets,
  • etc.

For more about the build process, see https://docs.dharitri.org/developers/developer-reference/sc-build-reference/

Dependencies

~9–12MB
~234K SLoC