dharitri-sdk

Crates.iodharitri-sdk
lib.rsdharitri-sdk
version0.10.2
sourcesrc
created_at2023-10-17 09:45:54.595758
updated_at2024-02-26 13:16:37.211942
descriptionSDK for interacting with the Dharitri blockchain
homepagehttps://dharitri.com/
repositoryhttps://github.com/Battula-anil-app-could/dx-sdk-rs-new
max_upload_size
id1005679
size298,476
(Battula-anil-app-could)

documentation

https://docs.dharitri.com/

README

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.

Commit count: 0

cargo fmt