Skip to content

stealth addresses library implementing ERC-5564 over secp256k1 in rust

License

Notifications You must be signed in to change notification settings

kassandraoftroy/eth-stealth-addresses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages