Giter VIP home page Giter VIP logo

zcash-vanity's Introduction

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.

Related Work

  • 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.

zcash-vanity's People

Contributors

jasondavies avatar zmanian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zcash-vanity's Issues

Update to work with newer curve25519-dalek?

Problems:


$  cargo update
    Updating crates.io index
error: failed to select a version for the requirement `curve25519-dalek = "^0.14"`
  candidate versions found which didn't match: 1.2.1, 1.1.4, 1.1.3, ...
  location searched: crates.io index
required by package `zcash-vanity v0.2.8 (/home/kevin/dev/zcash-vanity)`


$ cargo install zcash-vanity
    Updating crates.io index
  Installing zcash-vanity v0.2.8
error: failed to compile `zcash-vanity v0.2.8`, intermediate artifacts can be found at `/tmp/cargo-installxvhSbz`

Caused by:
  failed to select a version for the requirement `curve25519-dalek = "~0.9.2"`
  candidate versions found which didn't match: 1.2.1, 1.1.4, 1.1.3, ...
  location searched: crates.io index
required by package `zcash-vanity v0.2.8`

Compiling with the current version 1.2.1 of curve25519-dalek after modifying Cargo.toml:

warning: unknown lint: `unreadable_literal`
 --> src/sha256.rs:4:9
  |
4 | #[allow(unreadable_literal)]
  |         ^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unknown_lints)] on by default

error[E0599]: no method named `compress` found for type `curve25519_dalek::montgomery::MontgomeryPoint` in the current scope
  --> src/address.rs:87:41
   |
87 |         let pk_enc = pk.to_montgomery().compress().to_bytes();
   |                                         ^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.
error: Could not compile `zcash-vanity`.

failed to compile "zcash-vanity v0.2.7"

error: failed to run custom build command for ring v0.13.0-alpha
process didn't exit successfully: C:\Users\todhiba\AppData\Local\Temp\cargo-install.f6aGmdqTCpWe\release\build\ring-8de6a6c4297493e9\build-script-build (exit code: 101)
warning: build failed, waiting for other jobs to finish...
error: failed to compile zcash-vanity v0.2.7, intermediate artifacts can be found at C:\Users\todhiba\AppData\Local\Temp\cargo-install.f6aGmdqTCpWe

Caused by:
build failed

Abort trap: 6

It exits after a few seconds with this error. Additionally it doesn't seem to respond to ctrl-c to exit cleanly.

zcash-vanity -ci -- zcauber
Available devices on platform Apple:
  0:0 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
  0:1 Iris
zcAuBErGoVrpxMJ1kAuj21BEU6EotDBdc4VKCx5NJ5a7XTVMy5KAZ6jotjhPCirHWuxRRp8KNoWeeg5sPE2ZPrm1JbTMYoj
SKxsPsozZ3b23HkdcuD3gGLuYBDJ7VrnMGNcqCthvt6Zkv3VG7cj
zcAubeRWuyfXFfBREDa1tgHwfTqNjs8E8Pn34tZX4N57KzRD1HJPJb1YARhm9nn5TQHK4dqoNowSd8TiQQjGGtDNZ6gWjBp
SKxrTZ7saFLhwvDa7XHK8r1A9c9wyLou2Y2XTiFVaKFSXfPAS5MZ
zcauber89brTJnpVUYxzyiZkajNsJYKWMwHcwaxNsGeTdqnpXPNMw8FtNFERPRnUE6EyLJfKzjNWpsx9VeK7LRuTEt336r8
SKxtnn9gnQWoFMvYAnyKe7xPxvnX29Jkvn2VrSgFeYUECD3VADXe
zcAuBerUC1BBcdGnxLDBdGnugavRjpHQLkXu4ipScWEz9yBQXJRGnM7hSDyCDTvYP5D6jkEcsFGVcxm4tNTGSRVNYMPKMyD
SKxoZFgHStASc3nErb9yNPhnj9CsfmyVh1NmHvZqDJcaWQ7F3ujx
zcauBeRBkzgN2tPVqzf7tFVvg22QhUXhyb6ap6T8Ssw3n6WGeLKJymCfPUgwCpZveMyv6EUu2kPrvnWVBhwWnsD2iqQFuei
SKxuo58GwoGRcNPuXDWmSP1AVuRMyWomY2fLWpiPt4gQJugHfJv5
zcaUbeRmrmGWyZ5CkwvJdp5CmAKS9tkkcJRq2ocNXTmfY1PhSDm8gb7QLAaYLM3yFaJZLj3Q91VsCq8kdYDG9H1AHL8B11F
SKxtwe1Wdkw7i1e2aB4xnDH1CeYhh6zgPFC348u5zKxDy9B34RGn
Elapsed: 6/3s Rate: 3702784/s Prob: 84.74%Abort trap: 6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.