After some trouble I figured out what was going wrong and I thought I’d write a guide for less experienced users like myself.
With the Peercoin wallet already downloaded and installed this is how you manually get the private key of addresses in your wallet.
- Open notepad and copy and paste the following:
rpcuser=peer
rpcpassword=coin
server=1
*Pick a user and password yourself, for this guide we will be using peer and coin.
Click file and save as, in the address bar at the top type %appdata% and press enter then find the folder PPcoin, in the filename bar at the bottom type exactly “ppcoin.conf” - including the “” then click save and close notepad.
- OK now start up the peercoin wallet or if you already had it running, close it and start it up again.
Now go to where you installed peercoin, the default folder is C:\Program Files\PPCoin. In this folder you should see another folder called daemon. Hold shift on your keyboard and right click that folder, then find the option Open command window here and click it.
- Now you are in command prompt and you can find out your private keys.
First you have to type in the passphrase you used to encrypt your wallet - If you haven’t encrypted your wallet you can skip this step but make sure your encrypt your wallet when you are done.
*In this guide the passphrase I used to encrypt my wallet was cheese. So I would type in:
ppcoind walletpassphrase cheese 999 false
After this you should have a short delay and have no message sent back to you.
*Warning I had a long passphrase using numbers, letters and special characters and this caused some issues with this command, when I changed my passphrase to cheese it worked fine, so if you get an
error message try changing your passphrase temporarily to something small and simple.
Now the wallet has been unlocked and we can ask for our private key, in this guide my Peercoin address is PVr2ffo65cw5bLF7Pc4JRA4EAgbLPMEFde to get the private key for this address type in:
ppcoind dumpprivkey PVr2ffo65cw5bLF7Pc4JRA4EAgbLPMEFde
This time you should get a reply which gives you the private key for the address at the bottom, it is a very long alpha numeric key, you can now write this down so you have a hard copy in case something happens to your computer. Finally to lock your wallet again type in:
ppcoind walletlock
And don’t forget if you didn’t encrypt your wallet to go and do it and you probably want to keep a hard copy of that passphrase too.
This guide is a copy of JonnyLatte’s of reddit which is linked above, I have attempted to simplify it and warn you that having a long complex passphrase could cause some issues.