velas-address-rust

Crates.iovelas-address-rust
lib.rsvelas-address-rust
version0.2.3
sourcesrc
created_at2020-04-05 05:08:53.244818
updated_at2023-04-29 05:19:03.850642
descriptionRust lib for en/decoding address to velas/ether format
homepagehttps://github.com/CipherDogs/velas-address-rust
repositoryhttps://github.com/CipherDogs/velas-address-rust
max_upload_size
id226497
size42,428
DEADBLACKCLOVER (deadblackclover)

documentation

README

velas-address-rust

crates.io docs.rs

Rust lib for en/decoding address to velas/ether format

Usage

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
}
Commit count: 13

cargo fmt