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

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

#1785 in Magic Beans

Download history 45/week @ 2023-12-17 7/week @ 2023-12-24 106/week @ 2023-12-31 8/week @ 2024-02-18 81/week @ 2024-02-25 3/week @ 2024-03-03 17/week @ 2024-03-10 1/week @ 2024-03-17 472/week @ 2024-03-31

490 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–26MB
~404K SLoC