ethaddrgen

ethaddrgen is a custom Ethereum address generator that allows users to create unique Ethereum addresses with various customization options.

Features

  • Regex support (--regex/-e): Use regex pattern matching to generate addresses.
  • Quiet mode (--quiet/-q): Output only the results.
  • Stream mode (--stream/-s): Continuously output results.
  • Color settings (--color/-c): Enable or disable colored output.
  • Dictionary support: If no patterns are provided as arguments, patterns are read from the standard input.

Usage

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.

Examples

Simple Example

To generate an address starting with c0ffee, deadbeef, or c0c0a:

ethaddrgen c0ffee deadbeef c0c0a

On Windows, use ethaddrgen.exe instead of ethaddrgen.

Regex Example

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.

Using Pattern Lists (Dictionaries)

If no patterns are provided as arguments, patterns are read from the standard input.

  • On Windows:
Get-Content patterns.txt | ethaddrgen.exe
  • On Unix:
cat patterns.txt | ethaddrgen
# or
ethaddrgen < patterns.txt

The patterns.txt file should contain a newline-separated list of patterns, such as:

c0ffee
deadbeef
c0c0a

Using large pattern lists with regex may significantly decrease performance.

Compilation

The easiest way to get ethaddrgen is to download a pre-built binary here. To compile it yourself:

  1. Install Rust via Rustup.rs.
  2. Clone the repository: git clone https://github.com/Limeth/ethaddrgen.git; cd ethaddrgen.
  3. Compile the project: cargo build --release. The binary will be located at target/release/ethaddrgen or ./target/release/ethaddrgen.exe on Windows.

Similar Projects