In this video, we’ll look at how to export and import the private keys of your HTMLCoin Wallet.
Note that this is not an ideal backup solution, since every receive address you ever use would have a different private key. Therefore, to backup your wallet, we recommend a process which is explained in another video about backing up your HTMLCoin Wallet.
Working with private keys is also a risk, because if anyone were to obtain a private key you own, they could access your coins. Therefore, you must take every precaution if you are exporting them.
If you’re still unsure about how private keys work and the risks of exporting, you may want to do some additional research first. Most people will not need this feature.
Once you’re sure you would like to export your private keys, you’ll need to do it from the console interface.
First, go and copy and a previously used receive address for which you want to generate the private key.
Then, Click Help - Debug Window - Console.
If your wallet is locked, you’ll need to first type:
walletpassphrase followed by your passphrase, space, 600.
Next, type dumpprivkey space, and paste the public address you just copied.
After hitting enter, you’ll get the private key for this address, which as we discussed, must be stored safely and not shared.
You would never show anybody this information you see on screen now. We are only doing this for the tutorial, and it is an empty wallet that has nothing to steal.
You can repeat this process for as many of the public receive addresses you would like. Of course, you cannot generate a private key for an address you do not own.
If you need to import a private key, you also do this from the console area. You’ll need to unlock the wallet like we did previously, then type importprivkey , space, then the private key.
If the import fails, restart the wallet and try again.
Once you’re done with the console, be sure to type walletlock and hit enter to lock the wallet.
Thanks for watching. If you’d like to learn more about using the HTMLCoin wallet, be sure to view our other help videos.