How-to: Backing up your Dash public key by dumping the corresponding private key

Mar 30, 2016

The Dash QT Core wallet already creates a backup of your wallet.dat file every time you shut down the wallet. This video is going to show you how to backup the individual public keys in your wallet by exporting their corresponding private key.

Once you have a private key you can import it to a new wallet and all of the transactions for the public key will come along with it.

Open your wallet. In this video I’m starting with a fresh wallet that has already been encrypted. I am going to create a new public key under the Receive tab. Before I send any funds to this public key, I’m going to dump the private key. I like to do this for all of my masternode public keys. You may already have some existing public keys in your wallet. You can dump the private key for these as well. You can get the private key even if there are transactions associated with an existing public key.

Copy the public key. Find the Tools menu item and select Debug Console. Unlock your wallet and enter dumpprivkey [your_public_key] and press enter on your keyboard. The string output in the console is your private key. I like to paste both my public key and corresponding private key along with the label into a plain text file that can then be encrypted and saved to an off-network storage device.

Now I am going to fund the public key by sending 1 Dash from my phone to the Dash QT core wallet. You can see from the Transactions tab, that 1 Dash is incoming. You can now close your wallet.

Open up a new Dash QT Core wallet and unlock it. Find the Tools menu item and select Debug Console. Enter importprivkey [your_private_key] ("label"). The ("label") is optional. Press enter on your keyboard and the wallet will initiate a rescan. This could take a few minutes.

Once the scan is complete you will see the transaction in your new wallet.

As a word of caution, never give anybody access to your private keys. The private key used in this demo has already been cleared of funds. That’s it.