6 releases

0.10.2 Feb 26, 2024
0.10.1 Feb 23, 2024
0.2.0 Jan 17, 2024
0.0.9 Feb 20, 2024
0.0.2 Oct 30, 2023

#15 in #dharitri


Used in 3 crates (via dharitri-sc-snippets)

MIT license

250KB
6K SLoC

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.

Dependencies

~11–23MB
~331K SLoC