Last active
December 29, 2015 12:59
-
-
Save normanzb/7673817 to your computer and use it in GitHub Desktop.
generate vanity bitcoin addr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !function(){ | |
| for(var i = 0; i < 66999;i++){ | |
| var key = new Bitcoin.ECKey(false); | |
| var bitcoinAddress = key.getBitcoinAddress(); | |
| var privateKeyWif = key.getBitcoinWalletImportFormat(); | |
| var testkey = bitcoinAddress.toLowerCase(); | |
| if ( | |
| testkey.indexOf('norm') == 1 || | |
| testkey.indexOf('hongyu') == 1 || | |
| testkey.indexOf('shabi') == 1 || | |
| testkey.indexOf('shit') == 1 || | |
| testkey.indexOf('crap') == 1 || | |
| testkey.indexOf('fuck') == 1 || | |
| testkey.indexOf('money') == 1 || | |
| testkey.indexOf('html') == 1 || | |
| testkey.indexOf('java') == 1 || | |
| testkey.indexOf('akb48') == 1 || | |
| testkey.indexOf('git') == 1 || | |
| testkey.indexOf('bit') == 1 || | |
| testkey.indexOf('icon') == 1 || | |
| testkey.indexOf('nerd') == 1 || | |
| testkey.indexOf('geek') == 1 | |
| ) { | |
| console.log('found'); | |
| document.getElementById("btcaddress").innerHTML = bitcoinAddress; | |
| document.getElementById("btcprivwif").innerHTML = privateKeyWif; | |
| return; | |
| } | |
| } | |
| console.log('not found') | |
| }(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment