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/tinyvanityeth
Usage: 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 5eaf00d
tinyvanityeth -s 5eaf00d
tinyvanityeth -c -p 5EAF00D -i 60
tinyvanityeth -p 000 -s 000
tinyvanityeth -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.61.0
)
Platform | Speed |
---|---|
tinyvanityeth | ~488,247 addr/sec |
vanity-eth.tk | ~19,047 addr/sec |
Intel Xeon E5-1620v2 (stable-x86_64-pc-windows-msvc - rustc 1.61.0
)
Platform | Speed |
---|---|
tinyvanityeth | ~77,084 addr/sec |
vanity-eth.tk | ~4,889 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 --release
cargo test