Tiny and fast command line tool to find vanity Ethereum addresses that match a given pattern.
- Rust (1.60+)
- Cargo
On macOS, use Homebrew to install Rust & Cargo via brew install rustup.
For other platforms, please see the official installation guide.
After Cargo and Rust is installed, run the command below which installs the latest version of tinyvanityeth.
cargo install --git https://github.com/bcsongor/tinyvanityethUsage: tinyvanityeth [options]
Options:
-c, --case-sensitive enables case-sensitive search
-p, --prefix PREFIX address prefix to search for
-s, --suffix SUFFIX address suffix to search for
-r, --regexp REGEXP regular expression to search for
-t, --threads COUNT number of threads to use (default num_cpus)
-i, --interval SECONDS statistics print interval (default 10)
Suffix or prefix and regular expression rules are mutually exclusive.
tinyvanityeth -p 5eaf00dtinyvanityeth -s 5eaf00dtinyvanityeth -c -p 5EAF00D -i 60tinyvanityeth -p 000 -s 000tinyvanityeth -r '0{5}'tinyvanityeth -c -r '^B000|F000$'tinyvanityeth achieves optimal speed by avoiding expensive heap allocations in the critical path and by using high-performance libraries for EC key generation and hashing, like secp256k1 and tiny_keccak.
Case-insensitive search for an address with the prefix 5eaf00d. π£
Apple M1 Max (stable-aarch64-apple-darwin - rustc 1.89.0)
| Platform | Speed |
|---|---|
| tinyvanityeth | ~580,748 addr/sec |
| vanity-eth.tk | ~19,047 addr/sec |
Intel Core i9-13900KS (stable-x86_64-pc-windows-msvc - rustc 1.89.0)
| Platform | Speed |
|---|---|
| tinyvanityeth | ~934,903 addr/sec |
| vanity-eth.tk | ~51,762 addr/sec |
Please note, release builds contain optimisations which can positively affect performance. It is not recommended to use debug builds for searching addresses.
# Debug
cargo build
# Release
cargo build --releasecargo test