1 unstable release

0.2.0 Mar 29, 2024

#8 in #klever

Download history 167/week @ 2024-03-25 36/week @ 2024-04-01

203 downloads per month
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–24MB
~362K SLoC