1 unstable release
0.1.4 | Aug 10, 2022 |
---|
#14 in #vanity
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:
- Install Rust via Rustup.rs
- Clone this repository:
git clone https://github.com/azorng/styleth.git
- Move to the project directory:
cd styleth
- 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