dharitri-sdk-moars

Crates.iodharitri-sdk-moars
lib.rsdharitri-sdk-moars
version0.0.6
sourcesrc
created_at2024-02-03 10:04:18.046488
updated_at2024-02-03 10:09:46.685593
descriptionDharitri Rust SDK for interacting with the Dharitri Network and Smart Contracts.
homepagehttps://github.com/Battula-anil-app-could/dharitri-sdk-moars
repositoryhttps://github.com/Battula-anil-app-could/dharitri-sdk-moars
max_upload_size
id1125266
size257,469
(Battula-anil-app-could)

documentation

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

README

Dharitri SDK for Rust

Crates.io

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

Commit count: 0

cargo fmt