Crates.io | vanify |
lib.rs | vanify |
version | 0.2.0 |
source | src |
created_at | 2022-10-03 13:47:56.059641 |
updated_at | 2022-10-20 22:25:40.346918 |
description | A CLI tool to generate a vanity addresses for EVM-based blockchains |
homepage | |
repository | https://github.com/vidalpaul/vanify |
max_upload_size | |
id | 679008 |
size | 76,250 |
๐ฆ Brute-force 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 complete implementation of the brute-force 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, XML, and TSV export, optional benchmarking, hex strings formatting, and more.
You can install Vanify from source by cloning the repository and running the following commands:
$ git clone
$ cd vanify
$ cargo install --path .
You can install Vanify from crates.io by running the following command:
$ cargo install vanify
Vanify can be used in two ways:
To use Vanify as a standalone application, you can run the following command:
$ vanify -p 1234 -s 5678 -n 10
This will generate 10 addresses starting with 0x1234
and ending with 5678
.
It supports the following parameters:
USAGE:
vanify [OPTIONS]
OPTIONS:
-b, --benchmark Benchmark mode
-c, --csv Export to CSV file
-e, --excludes-all <EXCLUDES-ALL>... Excludes all substring(s)
-E, --excludes-any <EXCLUDES-ANY>... Excludes any substring(s)
-f, --filename <FILENAME> Filename for exports
-h, --help Print help information
-i, --includes-all <INCLUDES-ALL>... Includes all substring(s)
-I, --includes-any <INCLUDES-ANY>... Includes any substring(s)
-j, --json Export to JSON file
-n, --number <NUMBER> Number of addresses to search for
-p, --prefix <PREFIX> Prefix to search for
-r, --random Randomize private key generation
-R, --random-unique Randomize private key generation and ensure uniqueness
-s, --suffix <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
-X, --xlsx Export to XLSX file
If a file export option is provided, the results will be exported to relative path /results.
To use Vanify as a library, you can add it to your Cargo.toml
file:
[dependencies]
vanify = "0.2.0"
And then use it in your code:
use vanify::vanity;
0.2.0 comes with the following new features:
And solves the following issues:
๐ Fixed export to .tsv formatting bug
Vanify is licensed under the MIT License.
If you want to contribute to Vanify, you can do so by opening a pull request or an issue.