dharitri-sdk 0.10.0

SDK for interacting with the Dharitri blockchain
Documentation

Dharitri SDK for Rust

Crates.io

General purpose collection of tools & SDKs to interact with the Dharitri blockchain from Rust projects.

Example

use dharitri_sdk::blockchain::rpc::{CommunicationProxy, DEVNET_GATEWAY};

#[tokio::test]
async fn get_network_config() {
    let blockchain = CommunicationProxy::new(DEVNET_GATEWAY.to_string());
    let network_config = blockchain.get_network_config().await.unwrap();

    println!("network_config: {:?}", network_config)
}

More examples in ./examples.

Acknowledgements

Project originally started by Bicarus labs, later integrated into the Dharitri official codebase.