ethaddrgen is a custom Ethereum address generator that allows users to create unique Ethereum addresses with various customization options.
--regex/-e): Use regex pattern matching to generate addresses.--quiet/-q): Output only the results.--stream/-s): Continuously output results.--color/-c): Enable or disable colored output.Download the latest release here. To display usage information, run ethaddrgen -h or ethaddrgen --help for more details. The last arguments should be patterns; if no patterns are provided, ethaddrgen reads patterns from the standard input.
To generate an address starting with c0ffee, deadbeef, or c0c0a:
ethaddrgen c0ffee deadbeef c0c0aOn Windows, use ethaddrgen.exe instead of ethaddrgen.
To generate an address starting with 10 letters:
ethaddrgen -e '^[abcdef]{10}'While multiple regex patterns are supported, avoid using a large list of regex patterns for performance reasons.
If no patterns are provided as arguments, patterns are read from the standard input.
Get-Content patterns.txt | ethaddrgen.execat patterns.txt | ethaddrgen
# or
ethaddrgen < patterns.txtThe patterns.txt file should contain a newline-separated list of patterns, such as:
c0ffee
deadbeef
c0c0aUsing large pattern lists with regex may significantly decrease performance.
The easiest way to get ethaddrgen is to download a pre-built binary here. To compile it yourself:
git clone https://github.com/Limeth/ethaddrgen.git; cd ethaddrgen.cargo build --release. The binary will be located at target/release/ethaddrgen or ./target/release/ethaddrgen.exe on Windows.