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

#2447 in Magic Beans

Download history 26/week @ 2024-01-11 1/week @ 2024-01-18 373/week @ 2024-02-15 428/week @ 2024-02-22 46/week @ 2024-02-29 5/week @ 2024-03-07 1/week @ 2024-03-14

79 downloads per month
Used in 4 crates (2 directly)

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

~10–25MB
~368K SLoC