4 releases
0.2.0 | Feb 2, 2024 |
---|---|
0.0.4 | Feb 3, 2024 |
0.0.3 | Feb 2, 2024 |
0.0.2 | Feb 2, 2024 |
#46 in #dharitri
260KB
6.5K
SLoC
Dharitri SDK for Rust
Example
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
Dependencies
~11–23MB
~331K SLoC