2 releases

0.5.0 Sep 2, 2024
0.0.3 Sep 2, 2024
0.0.2 Sep 2, 2024
0.0.1 Aug 27, 2024

#3 in #dharitri


Used in 2 crates (via drt-sc-snippets)

MIT license

255KB
6.5K SLoC

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.

Dependencies

~10–22MB
~312K SLoC