1 stable release

1.0.1 Jan 20, 2025

#24 in #dharitri

Download history 70/week @ 2025-01-14 49/week @ 2025-01-21 4/week @ 2025-01-28 15/week @ 2025-02-04 5/week @ 2025-02-11

143 downloads per month
Used in dharitri-sc-snippets

MIT and GPL-3.0-only

310KB
7.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 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.

Dependencies

~12–25MB
~398K SLoC