Git Product home page Git Product logo

vanitygen-1's Introduction

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 if 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

vanitygen-1's People

Contributors

samr7 avatar kangaderoo avatar fizzisist avatar filosottile avatar cdemian20 avatar

Watchers

James Cloos avatar

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.