Did you ever wonder how people got Reddcoin Addresses like RocksEB642vbQ3a5r7HTBjk9P7fmQ1WCTC or Rsurge4R9r1XWfPpkRMZ95p7AXsez7tFqw ?
These addresses are called Vanity Addresses and there is a tool called vanitygen to help you find the private key of an address with a specific prefix.
The longer the prefix the longer it takes to find such an address (it’s a bruteforce method), the more cpu or gpu power you put into finding an address the faster you get an result.
For example:
- Dual-core desktop CPUs, 32-bit mode: 100-250 Kkey/s.
- Dual-core desktop CPUs, 64-bit mode: 150-450 Kkey/s.
- Quad-core desktop CPUs, 32-bit mode: 200-400 Kkey/s.
- Quad-core desktop CPUs, 64-bit mode: 300-750 Kkey/s.
- My Quad-core CPU combined with an AMD R9 280 can generate 29 Mkey/s
Reddcoin addresses are different from Bitcoin addresses they dont start with 1 but with the character R so you have to choose a prefix that starts with R. A prefix that has only 5 characters and digits will take just a few seconds. A prefix with 6 chars can take minutes and 7 chars or more will take hours, days, weeks or even more cpu/gpu time.
To start the generator you need to to download vanitygen extract it, open a command line window and navigate to the extracted directory.
- A simple cpu based search for an address that starts with “Rocks” can be started by typing “vanitygen -X 61 Rocks” into the command line. the x64 version will be much faster. use vanitygen64 if you have a 64bit operating system.
- If you want to use your GPU power, you need to have an OpenCL ready graphics device. Type “oclvanitygen” into the command line and hit enter. The output will be a list of supported cpu’s and gpu’s. Now you can start your search by typing “oclvanitygen -D 0:0 -D 0:1 -X 61 Rocks”. The -D parameters can be used to select one ore more of the supported cpu’s or gpu’s.
You can also make a case-insensitive search using the -i option to get even faster results.
If vanitygen finds an address you will see an output like this:
Difficulty: 4476342
Pattern: Rocks
Address: RocksEB642vbQ3a5r7HTBjk9P7fmQ1WCTC
Privkey: 5J4XJRyLVgzbXEgh8VNi4qovLzxRftzMd8a18KkdXv4EqAwX3tS
Copy the private key, unlock your wallet (uncheck the “for staking only” mark), open the wallet console and type “importprivkey 5J4XJRyLVgzbXEgh8VNi4qovLzxRftzMd8a18KkdXv4EqAwX3tS”
After you hit enter, the import will block the UI of the Qt wallet until the import completes. This can take up to several minutes. Don’t close your wallet, wait until the import is complete.
After you have imported the private key you will be able to receive coins under you new generated vanity address. Make sure you keep your private key safe and clear the command line after import. Restart your wallet and unlock it just for staking.
Enjoy your new vanity addresses!