drt-sdk

Crates.iodrt-sdk
lib.rsdrt-sdk
version0.0.3
sourcesrc
created_at2024-08-27 11:14:02.592844
updated_at2024-09-02 02:03:31.264772
descriptionSDK for interacting with the Dharitri blockchain
homepagehttps://dharitri.com/
repositoryhttps://github.com/DharitriOne/drt-sdk-rs
max_upload_size
id1353170
size307,826
xfactor@rust (xfactor-toml)

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 drt_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