klever-vm-sdk 0.2.0

SDK for interacting with the Klever blockchain
Documentation

Klever SDK for Rust

Crates.io

General purpose collection of tools & SDKs to interact with the Klever blockchain from Rust projects.

Example

use klever_vm_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.

Acknowledgements

Project originally started by Bicarus labs, later integrated into the Klever official codebase.