Skip to content

ndv/vanitygen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork from OpenCL version of the Bitcoin vanity address generator that is adapted to use for the 32btc bounty.

These are the change from the original vanity generator:

- Replace Random Number Generation of Private Key with Sequental Decrementing Mode, starting key is set with command line arguments
- Periodically dump progress (current private key) to a file
- Now oclvanitygen generates only compressed addresses from private key, add support for generation of uncompressed addresses
- Replace current feature of "read prefixes from file" to "read full addresses from file" (thousands of addresses)
- Store addresses (to find) in search efficient O(1) structure like hashset
- Remove saving hashes to the GPU's memory; check the addresses immediately

Usage:

make oclvanitygen

./oclvanitygen -f addresses.txt -o found.txt -k lastkey.txt 5KHon4xmV31t9dFSHzeN3KF3R1EvjnSRCuy5ZcVEL83NZXzsyeE

An argument is the starting private key. Or, in HEX:

./oclvanitygen -f addresses.txt -o found.txt -k lastkey.txt 1AD2662234520000000000

Tips for Windows build: 

Download and install OpenSSL 1.0.2 (full, not light) from https://slproweb.com/products/Win32OpenSSL.html
Clone & compile https://github.com/tpruvot/pthreads
Install PCRE, AMD APP SDK

Set the following variables:

 SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt

 SET LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64

 SET PATH="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64";%PATH%

Run:

 nmake -f Makefile.Win64

About

32btc bounty address search on GPU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.7%
  • Other 0.3%