MultiversX SDK for Rust
General purpose collection of tools & SDKs to interact with the MultiversX blockchain from Rust projects.
Example
use ;
async
More examples in ./examples
.
General purpose collection of tools & SDKs to interact with the MultiversX blockchain from Rust projects.
use multiversx_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
.