-
Notifications
You must be signed in to change notification settings - Fork 7
Backup process
Every time you transfer coins out of the wallet an address is generated and some ECC is moved to it. This is a feature that was ported from bitcoin that griffith has changed but the update hasn't been released yet. So please, if you transfer ECC out of the wallet make sure you do another backup which will include the newly generated address.
Backing up your wallet is extremely important! The safest way to do it is by printing out your private keys and storing them in a safe so that you can always access your ECC if anything happens to your computer. That said, you can also backup the walled.dat, which is the file that holds all your private keys. Private keys are what enable you to access your addresses, without them you cannot access your ECC.
Please encrypt your wallet.dat before backing it up! So that in the case that someone gets hold of it they won't be able to send coins anywhere, since that action requires a password (if you encrypt the wallet).
To encrypt the wallet go to the Security tab located in the sidebar and follow the necessary steps. A restart of the daemon is required after encrypting the wallet. The daemon will automatically stop.
Now that you've done that you can backup your wallet.dat file, which is located:
On Windows:
C:\<USER>\AppData\Roaming\eccoin or %APPDATA%\eccoin
On Linux:
home/<USER>/.eccoin or ~/.eccoin
Stop the daemon and move the wallet.dat to a different location. Moving the wallet.dat while the daemon is daemon can corrupt it.
If you generate extra addresses you need to create another backup of the wallet.dat to be able to access those addresses in case you lose access to your computer. The older wallet.dat file will not have them saved.
The second method used to backup is by saving the private key of each of your addresses. To retrieve all your addresses open Lynx, go to Settings -> Debug -> Console and enter listaddressgroupings
This will list all of your addresses.
Now to actually get the private key of each address you first need to run this command:
walletpassphrase <password> <seconds to unlock>
This command is required if you are attempting to retrieve private keys of an encrypted wallet.
Now you can get each private key for each different address using this command:
dumpprivkey <address>
Do not save these private keys online, write them down or print them in a piece of paper and store them somewhere safe!