11 releases

Uses old Rust 2015

0.2.9 Aug 26, 2021
0.2.8 Jan 29, 2018
0.2.5 Dec 20, 2017
0.2.4 Jul 25, 2017
0.1.0 Jul 14, 2017

#8 in #vanity

MIT license

36KB
745 lines

Zcash Vanity Address Generator

I just thought of something. Eventually there'll be some interest in brute force scanning bitcoin addresses to find one with the first few characters customized to your name, kind of like getting a phone number that spells out something. Just by chance I have my initials.

—Satoshi Nakamoto in an email to Hal Finney in 2009, referring to his Bitcoin address 1NSwywA5Dvuyw89sfs3oLPvLiDNGf48cPD.

Zcash-vanity is a high-throughput vanity address generator for Zcash shielded addresses (z-addrs), i.e. those starting with "zc".

You can search for addresses with particular prefixes, e.g. "zcVANiTY". The engine is written in OpenCL so that it can run on devices such as GPUs. Currently, NVIDIA's GTX 1080 Ti can locate an exact 6-character prefix (excluding "zc") in around 30 seconds.

Case-insensitive matching and multiple prefixes are also supported.

Installation

The engine wrapper is written in Rust. At the moment, the easiest way to install zcash-vanity is to install Rust, which comes with a package manager called Cargo. Then run:

cargo install zcash-vanity

This should download all dependencies, build and add zcash-vanity to your path. You will also need OpenCL installed.

Usage

Note: not all 58 characters can be used as the third character of the prefix; only the following may be used: [8-9,A-Z,a-h].

The following should list all available options:

zcash-vanity --help

Note that unless otherwise specified, all available OpenCL devices are used, which may include your CPU on some platforms.

  • zcash-mini, a portable wallet generator written in Go by Filippo Valsorda, which supports vanity address generation (z-addrs) too but not using the GPU.
  • vanitygen_z, a modified version of Bitcoin's vanitygen, for generating transparent Zcash addresses (t-addrs) using OpenCL.

Donations gratefully received at zcVANiTYZ1VxZp9dr6CEqfesYyfak8d6ZDFh4LLQPtHdGUb47CkpHzspFg4YV4NqsfyWkUxs4rcrzhKGsqHhXkzZsWkDaLT.

Please see https://zcash.plutomonkey.com/vanity/ for further information and new releases.

Dependencies

~7.5MB
~112K SLoC