Crate dhatu

source ·
Expand description

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.

Modules

  • error associated with dhatu
  • re export external libraries that makes up dhatu.
  • identity registrar, consist of types and modules regarding blockchain identity. i.e keypair.
  • raw node runtime types, consist of types that are specific to mandala node. generated using subxt.
  • transaction module, consist of extrinsics abstraction.
  • global crate level types, code inside this modules is meant to be used globally.