A Java implementation of Bitcoin address Vanity Generator
This project is inspired by Vanitygen that is built in Java and relies on bitcoinJ.
What it does:
- Searches for queries supplied by the user in a single or multi-threaded approach.
- Can search for compressed, uncompressed addresses.
- Can search for P2SH addresses
- Provides simple stats while searching such as total amount of addresses generated since that search was started and speed per second.
Defining Queries:
- The basis of searching relies on
Patternprovided by java.util.regex.RegexQueryis the base definition of a query; it is a wrapper around aPatternand a few booleans indicating what type of address to search for. - Another type of query is simply called
Querywhich takes aQueryBuilderas its definition.Queryis meant to serve as a more flexibleRegexQuerysuch that you are able to define a word (query) and decide how you want it to show up in an address. WithQueryyou are able to switch between a 'Begins' and a 'Contains' searching pattern, toggle case insensitivity, and you are provided with pseudo odds on how long it will take to find. - The last type of query you can use is a
NetworkQuery(which may be deprecated shortly - 12-9-15) which extendsRegexQuery. Everything is the same asRegexQueryalong with defining aNetworkto search on by itself. If you have aSearchthread running with a predefinedGlobalNetParamsand you have oneNetworkQuerywhose network does not match the threads network,NetworkQuerywill only use its ownNetworkwhenmathcesis called.
Coming Soon:
- Encrypted keys
- Better odds
- Much more
What needs work:
- Flexibility of searching with regular expressions (removing sub patterns if desired)
- Test classes
Examples are provided within the examples module.