1 stable release
new 1.0.1 | Jan 20, 2025 |
---|
#534 in Magic Beans
112 downloads per month
Used in dharitri-sc-snippets
310KB
7.5K
SLoC
Dharitri SDK for Rust
General purpose collection of tools & SDKs to interact with the Dharitri blockchain from Rust projects.
Example
use dharitri_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
.
Dependencies
~13–26MB
~414K SLoC