4 releases
0.2.2 | Oct 25, 2023 |
---|---|
0.2.1 | Sep 4, 2023 |
0.2.0 | Jun 23, 2023 |
0.1.2 | Jun 19, 2023 |
#291 in #substrate
585KB
12K
SLoC
Dhatu Core Libraries
this libs aims to ease web3 development by providing a set of tools and utilities to interact with substrate based blockchain. currently only tested with mandala chain.
for now, please refer to the api documentation for more details.
Usage
cargo add dhatu
License
all the codes inside this repository are licensed under Apache-2.0 license.
lib.rs
:
dhatu core libraries. aims to abstract away the complexity of interacting to substrate blockchain. for now, is meant to be used with mandala based blockchains. but in future, it will be extended to support other substrate based blockchains.
Re-exports
#[cfg(feature = "unstable_sp_core")]
pub use sp_core;
#[cfg(feature = "subxt")]
pub use subxt;
#[cfg(feature = "sp_keyring")]
pub use sp_keyring;
due to the unstable nature of substrate modules, they are not re-exported by default.
if you want to interact with the some of the low level feature of dhatu and use the raw substrate primitive types,
we reccomend you to enable unstable
feature flag to properly interact with the low level modules.
see [ext] for more details.
Dependencies
~19–32MB
~491K SLoC