| Crates.io | velas-address-rust |
| lib.rs | velas-address-rust |
| version | 0.2.3 |
| created_at | 2020-04-05 05:08:53.244818+00 |
| updated_at | 2023-04-29 05:19:03.850642+00 |
| description | Rust lib for en/decoding address to velas/ether format |
| homepage | https://github.com/CipherDogs/velas-address-rust |
| repository | https://github.com/CipherDogs/velas-address-rust |
| max_upload_size | |
| id | 226497 |
| size | 42,428 |
Rust lib for en/decoding address to velas/ether format
use velas_address_rust::*;
fn main() {
let eth_addresses = "0x32Be343B94f860124dC4fEe278FDCBD38C102D88";
let vlx_addr = eth_to_vlx(eth_addresses).unwrap(); // V5dJeCa7bmkqmZF53TqjRbnB4fG6hxuu4f
let eth_addr = vlx_to_eth(&vlx_addr).unwrap(); // 0x32be343b94f860124dc4fee278fdcbd38c102d88
}