1 unstable release

0.2.0 Mar 29, 2024

#3 in #klever


Used in klever-sc-scenario

MIT license

240KB
6K SLoC

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.

Dependencies

~10–25MB
~367K SLoC