dharitri-sdk-erdrs

Crates.iodharitri-sdk-erdrs
lib.rsdharitri-sdk-erdrs
version0.0.4
sourcesrc
created_at2024-02-02 11:51:28.529188
updated_at2024-02-03 06:19:12.159611
descriptionDharitri Rust SDK for interacting with the Dharitri Network and Smart Contracts.
homepagehttps://github.com/Battula-anil-app-could/dharitri-sdk-erdrs
repositoryhttps://github.com/Battula-anil-app-could/dharitri-sdk-erdrs
max_upload_size
id1124268
size257,469
(Battula-anil-app-could)

documentation

https://docs.rs/dharitri-sdk-erdrs

README

Dharitri SDK for Rust

Crates.io

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

Commit count: 0

cargo fmt