#vanity #address #ethereum #cryptocurrency #eth

app styleth

Ethereum vanity address generator

1 unstable release

0.1.4 Aug 10, 2022

#14 in #vanity

MIT license

14KB
269 lines

styleth

An Ethereum vanity address generator.

Installation

Cargo:

First, install Rust (using the recommended rustup installation method) and then

cargo install styleth

Compile it yourself:

  1. Install Rust via Rustup.rs
  2. Clone this repository: git clone https://github.com/azorng/styleth.git
  3. Move to the project directory: cd styleth
  4. Compile the project: cargo build --release. The binary can then be found at ./target/release/styleth or ./target/release/styleth.exe on Windows machines.

CLI

styleth 0.1.4

USAGE:
    styleth [FLAGS] [OPTIONS]

FLAGS:
    -h, --help            Prints help information
    -n, --numbers-only    Matches on random numbers.
                          Example: ./styleth --random-numbers
    -V, --version         Prints version information

OPTIONS:
    -l, --leading <hex char>                 Takes a single char as input and performs an incremental matching.
                                             Example: ./styleth --leading 0
    -s, --starts-with <hex text>             Matches on addresses that starts with given chars.
                                             Example: ./styleth --starts-with dead69
    -r, --regex <regex>                      Matches on a given regex pattern.
                                             Example: ./styleth --regex "^dead.*0dead$"
    -c, --specific-chars <specific-chars>    Matches on specific hex chars without any particular order.
                                             Example: ./styleth --specific-chars abc123

Development

# Build
$ cargo build

# Help
$ cargo run -- --help

Note: Cargo run creates an unoptimized executable with debug info. When testing the speed/throughput of the application, make sure to use cargo run --release.

Dependencies

~8–18MB
~213K SLoC