Crates.io | elrond-sdk-erdrs |
lib.rs | elrond-sdk-erdrs |
version | 0.2.16 |
source | src |
created_at | 2021-10-13 18:37:17.309188 |
updated_at | 2023-12-29 03:25:55.775317 |
description | Elrond Rust SDK for interacting with the Elrond Network and Smart Contracts. |
homepage | https://github.com/bicarus-labs/elrond-sdk-erdrs |
repository | https://github.com/bicarus-labs/elrond-sdk-erdrs |
max_upload_size | |
id | 464604 |
size | 265,364 |
use elrond_sdk_erdrs::blockchain::rpc::{ElrondProxy, DEVNET_GATEWAY};
#[tokio::test]
async fn get_network_config() {
let blockchain = ElrondProxy::new(DEVNET_GATEWAY.to_string());
let network_config = blockchain.get_network_config().await.unwrap();
println!("network_config: {:?}", network_config)
}
More example in ./src/blockchain/tests.rs