Crates.io | dharitri-sdk-erdrs |
lib.rs | dharitri-sdk-erdrs |
version | 0.0.4 |
source | src |
created_at | 2024-02-02 11:51:28.529188 |
updated_at | 2024-02-03 06:19:12.159611 |
description | Dharitri Rust SDK for interacting with the Dharitri Network and Smart Contracts. |
homepage | https://github.com/Battula-anil-app-could/dharitri-sdk-erdrs |
repository | https://github.com/Battula-anil-app-could/dharitri-sdk-erdrs |
max_upload_size | |
id | 1124268 |
size | 257,469 |
use dharitri_sdk_erdrs::blockchain::rpc::{DharitriProxy, DEVNET_GATEWAY};
#[tokio::test]
async fn get_network_config() {
let blockchain = DharitriProxy::new(DEVNET_GATEWAY.to_string());
let network_config = blockchain.get_network_config().await.unwrap();
println!("network_config: {:?}", network_config)
}
More example in ./src/blockchain/tests.rs