A vanity address is a wallet address containing a few characters you like at the beginning or the end of the wallet address. Of course we can't just generate the address: the address is a derivative from a secret key. So: this tool generates several secret keys per second. The script will test the derived wallet address against one or more keywords you can supply.
- Make sure you have nodejs installed on your computer, version 6.x or greater: https://www.npmjs.com/get-npm. (nodejs allowes you to run Javascript code on your computer from the commandline).
- Download the source of this repository (using
git clone
or by downloading the zip) - Start your command line and go to the folder containing the source of this repository
- Install the dependency (casinocoin-libjs) by running
npm install casinocoin-libjs
- Disconnect from the Internet (to run fully offline)
- Fire up the tool and append the keywords you are looking for:
node cscwallet.js bob csc moon jim
The example command above will search for wallet addresses containing either bob, csc, moon or jim.
EDIT: January 2nd:
Added new file. cscwallet_any.js to allow searching in any position in the wallet address.
node cscwallet_any.js bob csc moon jim
- This script 'cscwallet.js' will look for your keywords at the beginning or at the end of CSC wallet addresses.
- This script 'cscwallet_any.js' will look for your keywords at any position of CSC wallet addresses.
- This script will look for matches, case insensitive.
- The longer the keyword you are looking for, the longer it takes to find a match.
- If you want to be make sure the generated wallets + keys are safe, generate offline.
Serious question. How do we know these addresses are random and not some sort of sequence?
Good question indeed. The only way to be sure is to check the code;
My code is over here and as you can see it is invoking the method "api.generateAddress()" - and as you can see on line 1 and 2:
const CasinocoinAPI = require('casinocoin-libjs').CasinocoinAPI
const api = new CasinocoinAPI()
... I use casinocoin-libjs to do this. casinocoin-libjs is from Casinocoin (the foundation) - this code is open source as well.
This is how they generate a keypair. They use their own lib casinocoin-libjs-keypairs to do this. The function is on line 16 over here and at line 18 you can see they use the brorand lib. to generate the randomness. This lib. uses the crypto object, a native NodeJS object, by invoking:
crypto.randomBytes()
More info about this method over here.
Tips are highly appreciated at CSC address: cHoDLvFcHH7dHUBaDXP8KwTL5obDdKQhez