README.md (1498B)
1 # NiceBit 2 ## A Simple Bitcoin Vanity Address Generator 3 Create Bitcoin vanity addresses with C. 4 An open source method to generate nice Bitcoin addresses, also serving as an example of how to use the [bitcoin-core/secp256k1](https://github.com/bitcoin-core/secp256k1) C library. 5 6 **Disclaimer:** this software has not been thoroughly tested, never store significant funds on such an address. 7 8 # Tutorial 9 For a tutorial on how this code works, see http://nicholasfarrow.com/Cryptography-in-Bitcoin-with-C/. 10 11 ## Dependencies 12 * [libsep256k1](https://github.com/bitcoin-core/secp256k1) (easy install) 13 * openssl (you likely have this) 14 ## Compilation 15 ``` 16 gcc niceBit.c -o niceBit -lcrypto -lsecp256k1 17 ``` 18 ## Usage 19 ``` 20 ./niceBit 21 ``` 22 23 Specify minimum number of consecutive digits: 24 ``` 25 ./niceBit -n 5 26 ``` 27 28 Search for words from a file: 29 ``` 30 ./niceBit -f FILE 31 ``` 32 33 Search for alphanumeric substitutions of words from a file: 34 ``` 35 ./niceBit -aC -f FILE 36 ``` 37 38 The file should contain one word per line. 39 40 ## Loading Private Keys 41 Private keys are printed in base58 [Wallet Import Format](https://en.bitcoin.it/wiki/Wallet_import_format), which can be easily loaded into common desktop wallet software. 42 43 Proof that this all works can be found via these [ingoing and outgoing transactions](https://explorer.bitcoin.com/bch/address/1Hh555555Yhogq3c13DfSkC4VFrG4ypcib) which involves transactions with a vanity address (legacy on BCH: `1Hh555555Y...`) on the Bitcoin Cash blockchain. 44 45 46 ## TODO 47 * Include secp256k1 in lib