| Crates.io | ergonames-rust-testnet |
| lib.rs | ergonames-rust-testnet |
| version | 0.1.0 |
| created_at | 2022-04-19 00:15:56.039024+00 |
| updated_at | 2022-04-19 00:15:56.039024+00 |
| description | A SDK for resolving ErgoNames on testnet. |
| homepage | https://ergonames.com/ |
| repository | https://github.com/ergonames/ergo-names-rust-sdk |
| max_upload_size | |
| id | 570092 |
| size | 14,654 |
A simple SDK for resolving Ergo Names.
To install the library:
A published package will be available once Ergo Names is released on mainnet.
Add this to your Cargo.toml file
ergo-names-rust-sdk = { git = "https://github.com/ergonames/ergo-names-rust-sdk" }
To import the functions:
use ergo_names_rust_sdk;
Checking if address exists
let address = ergo_names_rust_sdk::resolve_ergoname("~balb");
println!("{}", address);