Recovering Wallet File After a Wallet Crash
If you opened your full node wallet and it shows 0 balance, even though previously you had a balance, then you need to recover your wallet file.
Always back up your wallet files and your address private keys for every wallet you hold assets in.

How to recover a wallet file

ZelCore creates backups of your wallet files at certain intervals to protect against wallet file corruption.
What happened: The full node wallet was either force-closed by the user or experienced a fatal error and shut down. ZelCore creates a backup file of the wallet for these purposes, so the wallet file does not get corrupted.
    Make sure your full node wallet is completely shut down/closed.
    Navigate to your data directory:
      Windows: C:\Users\YOURUSERNAME\AppData\Roaming\Zelcash
      MacOS: ~/Library/Application Support/zelcash
      Linux: ~/.zelcash/
    Grab all files with "wallet" in the name, including "wallet.datYOURUSERNAME", "wallet.datXXXBACKUP", and *.bck files, move them to another folder in a safe location. There should be no wallet files in your data directory now.
    Look for the backup wallet file that is the newest, and typically has the largest size.
    Copy/paste the backup wallet file into your data directory, and rename it to "wallet.dat".
    Launch ZelCore, then the full node wallet. ZelCore will show a message that it found an unencrypted wallet file. This is good, click "OK".
    After syncing, see if your original balance is shown. If it is not, then your wallet file is one of the other backups. Delete the wallet file in the data directory, find the next backup wallet file, copy/paste into data directory, rename to "wallet.dat" and perform Step 6 again.
Last modified 2yr ago