Crates.io | dharithri-sdk |
lib.rs | dharithri-sdk |
version | 0.2.0 |
source | src |
created_at | 2023-09-14 05:46:59.866328 |
updated_at | 2023-09-14 05:46:59.866328 |
description | SDK for interacting with the dharithri blockchain |
homepage | https://dharithri.com/ |
repository | https://github.com/dharithri/mx-sdk-rs |
max_upload_size | |
id | 972292 |
size | 298,108 |
General purpose collection of tools & SDKs to interact with the dharithri blockchain from Rust projects.
use dharithri_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 dharithri official codebase.