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

#951 in Magic Beans

Download history 406/week @ 2024-08-27 104/week @ 2024-09-03

510 downloads per month
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–21MB
~320K SLoC