dharithri-sdk 0.2.0

SDK for interacting with the dharithri blockchain
Documentation
1
2
3
4
5
6
7
8
9
use dharithri_sdk::blockchain::{CommunicationProxy, DEVNET_GATEWAY};

#[tokio::main]
async fn main() {
    let blockchain = CommunicationProxy::new(DEVNET_GATEWAY.to_string());
    let result = blockchain.get_latest_hyper_block_nonce(false).await;

    println!("latest block result: {result:?}")
}