Crates.io | dharitri-sdk |
lib.rs | dharitri-sdk |
version | 0.10.2 |
source | src |
created_at | 2023-10-17 09:45:54.595758 |
updated_at | 2024-02-26 13:16:37.211942 |
description | SDK for interacting with the Dharitri blockchain |
homepage | https://dharitri.com/ |
repository | https://github.com/Battula-anil-app-could/dx-sdk-rs-new |
max_upload_size | |
id | 1005679 |
size | 298,476 |
General purpose collection of tools & SDKs to interact with the Dharitri blockchain from Rust projects.
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
.
Project originally started by Bicarus labs, later integrated into the Dharitri official codebase.