Skip to content

reds/bitkeygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

bitkeygen

Bitcoin/Litecoin vanity address generator.

Very simple bitcoin/litecoin key/address generator. The objective is to be

  • short: so it can be easily read
  • have few dependancies: only needs to be linked to libcrypto (openssl)
  • reasonably fast: can be used to generate vanity addresses

Generate a random address and calculate the associated public key.

For linux and mac:

gcc -o genkey genkey.c -lcrypto && ./genkey

To import the private key into the bitcoin client:

./bitcoin importprivkey 5xxxxxxxxx "account name"

Usage

-s string: generate a public address with the given string
-t number: number of threads to use
-a: allow the string to be anywhere in the public address, not just at the begining
-c: the string should be case sensitive
-l: generate a litecoin key/address pair
-v verbose
examples:
	generate a private key and its public address
		  ./genkey
		  generate a private key where the public address contains the string 'BiT'
		  	   ./genkey -s BiT -c -t 8

About

Bitcoin/Litecoin address generator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages