Crates.io | klever-vm-sdk |
lib.rs | klever-vm-sdk |
version | 0.2.0 |
source | src |
created_at | 2024-03-29 00:21:28.457032 |
updated_at | 2024-03-29 00:21:28.457032 |
description | SDK for interacting with the Klever blockchain |
homepage | https://klever.io/ |
repository | https://github.com/klever-io/klever-vm-sdk-rs |
max_upload_size | |
id | 1189530 |
size | 240,384 |
General purpose collection of tools & SDKs to interact with the Klever blockchain from Rust projects.
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
.
Project originally started by Bicarus labs, later integrated into the Klever official codebase.