Crates.io | drt-sdk |
lib.rs | drt-sdk |
version | 0.0.3 |
source | src |
created_at | 2024-08-27 11:14:02.592844 |
updated_at | 2024-09-02 02:03:31.264772 |
description | SDK for interacting with the Dharitri blockchain |
homepage | https://dharitri.com/ |
repository | https://github.com/DharitriOne/drt-sdk-rs |
max_upload_size | |
id | 1353170 |
size | 307,826 |
General purpose collection of tools & SDKs to interact with the Dharitri blockchain from Rust projects.
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
.
Project originally started by Bicarus labs, later integrated into the Dharitri official codebase.