#elrond #tokio #api #smart-contracts #api-bindings #rpc #sdk

elrond-sdk-erdrs

Elrond Rust SDK for interacting with the Elrond Network and Smart Contracts

29 releases

0.2.16 Dec 29, 2023
0.2.13 Aug 28, 2023
0.2.9 Jun 21, 2023
0.2.3 Mar 24, 2023
0.1.10 Nov 20, 2021

#2 in #elrond

Download history 7/week @ 2024-07-23 8/week @ 2024-07-30 3/week @ 2024-08-06 1/week @ 2024-09-17 7/week @ 2024-09-24

216 downloads per month
Used in elrond-interact-snippets

MIT and GPL-3.0-only

265KB
6.5K SLoC

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

Dependencies

~12–25MB
~372K SLoC