Author Topic: How to backup and restore Protoshares-qt wallet?  (Read 19319 times)

0 Members and 1 Guest are viewing this topic.

Offline GoldTiger69

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
Can a Linux-Qt client read a Windows-Qt client's wallet?

Offline joele

  • Sr. Member
  • ****
  • Posts: 467
    • View Profile
Encrypt your wallet with at least 15 chars of password (alphanumeric with special chars) in Setting -> Encrypt Wallet

Backup / print your private keys
Get the private key of each of your PTS address using command dumpprivkey <address>
To import private key to wallet importprivkey <privatekey>

Offline Riverhead

Is there any information online on how to do this. I see there's a backup function but no restore.  Noob.

Technically you can dump your private key and write it down somewhere.  However all you really need to do is make sure to 1) encrypt your wallet and 2) make a copy of your wallet.dat file found in %AppData%/protoshares on Windows and ~/.protoshares on Linux.

The wallet.dat file is small and fits easily on usb sticks, SD cards, etc.  Make a few copies of it and keep them in different physical locations (home, work, etc.).

It is also important to understand that you should refresh this backup of your wallet.dat file at least every 99 transactions.  The reason for this is that the wallet starts out with a pool of 100 key pairs that are used for transactions that require new key pairs.  When you have burned through your pool of keys the wallet-qt client will create an additional 100 keys in the pool.  At this point you would need to refresh all your backups of your wallet.dat file so that the new transactions using these keys are backed up as well.

If you need to use your backup simply install the client somewhere and copy your wallet.dat back into the directory you backed it up from.  Once the block chain catches up you'll see all your transactions.

You can keep your wallet.dat file off line all the time and only drop it into a client data directory when you want to do a transaction.  It doesn't need to stay in sync with the network until you're ready to do a transaction.  None of my wallet.dat files with balances stay on a computer for more than the few minutes it takes to do a transaction.  Even the best hackers can't steal a file sitting on an SD card on a shelf  8).

Think of the wallet.dat file sort of like a SIM card for a cell phone.  It's the only thing that matters...the rest is just generic hardware/software.

« Last Edit: November 18, 2013, 03:41:02 pm by Riverhead »

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
chain, wallet and additional data lies in %appdata%\protoshares if you use windows
« Last Edit: November 18, 2013, 06:28:28 am by favdesu »

Offline her0

  • Sr. Member
  • ****
  • Posts: 258
    • View Profile
Is there any information online on how to do this. I see there's a backup function but no restore.  Noob.
I think you just need backup you private key .

Offline ahpigsy

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
Is there any information online on how to do this. I see there's a backup function but no restore.  Noob.