i2p_vanity 0.3.0

A simple I2P vanity address generator
Documentation

I2P vanity

A tool that generates vanity addresses for I2P destinations.

Build

Build using cargo in release mode: cargo build --release

Build with native instructions: RUSTFLAGS="-C target-cpu=native" cargo build --release

Usage

Command line arguments will override config ones.

Via command line

i2p_vanity --help:

Usage: i2p_vanity [OPTIONS]

Options:
  -r, --regex-pattern <REGEX_PATTERN>
          A regex pattern. Only A-Z and 2-7 are allowed in I2P's base32

  -t, --thread-count <THREAD_COUNT>
          Thread count. Defaults to `std::thread::available_parallelism()`

  -n, --numbers-needed <NUMBERS_NEEDED>
          Number of keys to generate. Defaults to 0 (infinite generation)

  -l, --location <LOCATION>
          Output folder for generated keys. Defaults to current working directory

  -c, --config <CONFIG>
          Path to the config file. Defaults to `config.toml`

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Example: i2p_vanity -r "^(abc|def)" will search for addresses that starts with abc or def.

The regex provided will not be modified in any way. You are in full control, so be aware of invalid patterns.

Base32 addresses can only contain characters from A-Z and 2-7.

Via config file

See src/config-sample.toml for a sample config file.

Use -c to specify the path to your configuration file.

By default, it loads config.toml in the current working directory.