bbenzikry / eth-stealth-addresses

stealth addresses library implementing ERC-5564 over secp256k1 in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eth-stealth-addresses

rust library implementing ERC-5564 stealth addresses using canonical ECC over the secp256k1 curve.

let's make privacy on evm chains a reality!

NOT AUDITED - HOMEROLLED CRYPTO - USE AT YOUR OWN RISK

Usage

Add this library to your rust project with:

cargo add eth-stealth-addresses

Use it:

use eth_stealth_addresses::{generate_stealth_meta_address}

fn main() {
    let (stealth_meta_address, spending_key, viewing_key) = generate_stealth_meta_address();

    // do stuff
}

Or invoke the basic utilities this library offers from the command line with the cli:

cargo install stealthereum-cli

For cli source code and documentation see here

Test

cargo test

to test the core functionality of library

About

stealth addresses library implementing ERC-5564 over secp256k1 in rust

License:MIT License


Languages

Language:Rust 100.0%