2 releases
0.0.6 | Feb 3, 2024 |
---|---|
0.0.5 | Feb 3, 2024 |
#28 in #dharitri
Used in dharitri-interact-snippet…
260KB
6.5K
SLoC
Dharitri SDK for Rust
Example
use dharitri_sdk_moars::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
Dependencies
~11–23MB
~339K SLoC