Vanity addresses generator for EVM-based blockchains.

Vanity addresses are crypto public keys, personalized and created respecting a series of parameters given by the users of said addresses. This with the aim of making them more personal and easily identifiable, but without giving up the security they provide.

Vanify is a simple implementation of the vanity address generator for EVM-based blockchains, such as Ethereum, Binance Smart Chain, Polygon, etc, written in Rust.

It supports prefix, suffix, and multiple infixes and disfixes validation, JSON, CSV, and XML export, optional benchmarking, and hex strings formatting.

Table of contents

Installation

From source

You can install Vanify from source by cloning the repository and running the following commands:

bash $ git clone $ cd vanify $ cargo install --path .

From crates.io

You can install Vanify from crates.io by running the following command:

bash $ cargo install vanify

Usage

Vanify can be used in two ways:

  1. As a standalone application, which will generate a random address and check if it matches the given parameters.
  2. As a library, which can be used to generate addresses in a loop.

As a standalone application

To use Vanify as a standalone application, you can run the following command:

bash $ vanify -p 1234 -s 5678 -n 10

This will generate 10 addresses starting with 0x1234 and ending with 5678.

Options

It supports the following parameters:

``` USAGE: vanify [OPTIONS]

OPTIONS: -b, --benchmark Benchmark mode -c, --csv Export to CSV file -e, --excludes ... Excludes substring(s) -f, --filename Filename for exports -h, --help Print help information -i, --includes ... Includes substring(s) -j, --json Export to JSON file -n, --number Number of addresses to search for -p, --prefix Prefix to search for -s, --suffix Suffix to search for -t, --tsv Export to TSV file -T, --trim-hex Trim 0x from output keys -v, --verbose Verbose output -V, --version Print version information -x, --xml Export to XML file ```

If a file export option is provided, the results will be exported to relative path /results.

As a library

To use Vanify as a library, you can add it to your Cargo.toml file:

toml [dependencies] vanify = "0.1.0"

And then use it in your code:

rust use vanify::vanity;

New features

v0.1.2 comes with the following new features:

License

Vanify is licensed under the MIT License.

Contributing

If you want to contribute to Vanify, you can do so by opening a pull request or an issue.