Manually Updating the Node Software in the DeFiChain Desktop Wallet

From DeFiChain-Wiki

Manually Updating the Node Software in the DeFiChain Desktop Wallet (Windows)

The DeFiChain Desktop Wallet is currently in maintenance mode, which means that updates to the node version are not guaranteed to be regularly provided. To ensure you are always using the latest node software – especially during critical updates like a hard fork – this guide will show you how to update the node software manually.

By performing a manual update, you can independently install the required node version and continue participating in the blockchain seamlessly.

Preparation: Create a Backup

Before proceeding, back up your wallet data to prevent potential data loss.

Using the Wallet App

1. Open the DeFiChain app.

2. Navigate to Settings → Backup Wallet and save the backup in a secure location.

3.Close the app.

Manually via File System

1. Quit the DeFiChain app.

2. Locate the wallet data in the default directories:

 Windows: C:\Users\%username%\AppData\Roaming\DeFi Blockchain\wallets
 macOS: /Users/%username%/Library/Application Support/DeFi/wallets

3. Copy the `wallets` folder to a secure location.

Note: Verify that these directories match your setup if you have customized your installation paths.

Check the Current Node Software Version

1. Open the DeFiChain Desktop Wallet.

2. Go to the Command Line Interface (CLI) >_ :

3. The currently installed wallet and node software versions will be displayed in the CLI.

 DeFi Wallet v4.0.8 
 Node v4.2.1

4. Close the wallet after checking the version.

Download the Latest Node Software

Visit the official GitHub repository for the DeFiChain node software to download the latest version: GitHub Releases

Example: The latest version might look like this:

 defichain-4.2.4-x86_64-w64-mingw32.zip

Always ensure you download the version compatible with your operating system.

Extract and Replace the Files

1. Extract the downloaded ZIP file.

2. Locate the file defid.exe from the extracted archive.

3. Navigate to the default installation directory of the wallet:

 C:\Program Files\DeFi Wallet\resources\bin\win

4. Replace the existing defid.exe file with the new version.

Restart the Wallet

1. Relaunch the DeFiChain Desktop Wallet.

2. Open the CLI to verify the updated node version. The new version should now be displayed.

 DeFi Wallet v4.0.8 
 Node v4.2.4

Resolving Synchronization Issues After a Hard Fork

If the synchronization does not resume after updating the node software (for example, if you updated after a hard fork), you can use the Snapshot Service. For a detailed guide on applying a snapshot, refer to this article: How to manually apply a blockchain snapshot.

Disclaimer

Personal Responsibility

This guide is provided as-is. Users are responsible for ensuring the correct execution of steps. The guide creators assume no liability for errors, data loss, or other issues resulting from the use of this guide.

No Financial Advice

This guide is purely technical and does not provide financial advice. Always consult a qualified professional for financial decisions.