Skip to content

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

License

Notifications You must be signed in to change notification settings

twoblocks/velas-address-rust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

velas-address-rust

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
}

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%