Skip to content

Keygen - FAST Bitcoin address generator

License

Notifications You must be signed in to change notification settings

magnuspub/keygen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keygen FAST Bitcoin Generator

Capable of reaching ~20000 address per second for single thread.

Forked from Fast Vanity Bitcoin address generator for Linux using the secp256k1_fast_unsafe library.

Modified by magnuspub From the original work of gandalf@winds.org

Example

Example program execution: (Note: This application is USELESS, you cannot generate tons of random address hoping to find at least one, Bitcoin is STRONG!)

// Generate bitcoin address and store to a file
$ keygen >> btc.list
$ cat btc.list
 Address: 1Vanity8HEFQDR7ZFsAUFeRR67AG38PcR Privkey: L3jTmJvNtjNrUw5SJJGFfGTog46fLutsQJ4XG66YWHMV5UmgFWqZ
 ...

// Create a file with address you want to find (one per line)
$ cat pattern.list
 1Vanity8HEFQDR7ZFsAUFeRR67AG38PcR
 ...
 
// Search address from pattern.list 
$ cat ./btc.list |awk '/Address/ {print $2}' |awk 'NR==FNR{arr[$0];next} $0 in arr' './pattern.list' -

Build Prerequisites

Successful compilation depends on installing these additional programs:

  • GCC
  • Make
  • Libtool
  • Autotools
  • GMP

Installing prerequisites on RedHat or Fedora Core:

$ yum -y install gcc make automake autoconf libtool gmp-devel

Installing prerequisites on Ubuntu:

$ sudo apt-get install build-essential automake autoconf libtool libgmp3-dev

Build Instructions

Simply run make:

$ make

This will automatically configure the secp256k1 library and compile the project using default options. To change compile options in secp256k1, cd to secp256k1 and run configure with your new options, and then rerun make in the top level directory.

If the gmp development library is not installed on your system, you may remove -lgmp from the LDLIBS line in the Makefile. See below for other prerequisites.

For slow CPUs, you might get a better hash rate by lowering the "#define STEP" value in keygen.c. Similarly, server CPUs with large amounts of fast memory might benefit by increasing the STEP value.

Warning

Please verify all generated addresses before use!

This software is beta and may contain bugs. Do not send coins to an address without first checking that the generated private/public keys are correct.

License

This software is distributed under the GPLv2 license. Most individual portions are placed under compatible MIT or BSD licenses. See each respective file for details.

About

Keygen - FAST Bitcoin address generator

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 70.5%
  • Assembly 10.7%
  • C++ 9.4%
  • Python 3.3%
  • Java 3.3%
  • M4 2.2%
  • Other 0.6%