Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bicarus-labs/elrond-sdk-erdrs

Elrond Rust SDK for interacting with the Elrond Network and Smart Contracts.
https://github.com/bicarus-labs/elrond-sdk-erdrs

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Elrond SDK for Rust

[![Crates.io](https://img.shields.io/crates/v/elrond-sdk-erdrs)](https://crates.io/crates/elrond-sdk-erdrs)

## Example

```rust
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`