Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 514 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 514 Bytes

Elrond SDK for Rust

Crates.io

Example

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