How to restore my w...

How to restore my wallet or wallet address from a backup  


Member Admin
Joined: 10 months ago
Posts: 42
11/01/2020 1:26 pm  

If you find yourself needing to restore your wallet, or the GUAP held at specific blockchain address, then you've likely encountered a serious problem. But hopefully you've followed the instructions here (How do I backup my wallet and GUAP holdings?) and have a recent backup to restore from. 

Please see below instructions for restoring your entire wallet from a wallet.dat file backup, and instructions for restoring a GUAP address' holdings from the private key backup. 


Method 1 - Restore from wallet.dat.

  1. Make sure your GUAP wallet application is closed. Close your wallet gracefully (File -> Exit or ./guapcoin-cli stop).
  2. Go to your GUAP wallet folder.
  3. Backup first: Although this process is well tested and used you should always take another backup of your wallet.dat file before starting.
  4. Rename the existing wallet.dat file to something like 'old.wallet.dat'
  5. Locate your backup wallet.dat file that you want to restore from, copy it and then save it into your GUAP wallet folder.
  6. Launch the GUAP wallet. It should be restored. 


Method 2 - Restore a GUAP address from its private key.

  1. Wallet must be unlocked (unencrypted wallets are always considered unlocked). If your wallet is encrypted (and I hope that it is) then you will need to unlock it.
  2. Open your console under 'Help' -> 'Debug Window'
  3. From your private key backup file copy the private key associated with the address you would like to restore.
  4. Now type importprivkey yourPrivateKeyInWalletImportFormat AddressLabelOfYourChoice in your console.
  5. You now have to be patient. On a fast PC it takes ~2 minutes to import, and during this time it looks like you application has hung.
  6. Once Imported you can check that you have the new address by closing the Debug window and going back to your address book.