Ergo Full Node Installation Guide
This guide covers the manual setup process for running an Ergo full node. For alternative methods, see Docker Setup or Running on Android.
Getting Started
Preparing Your Environment
- Create a Folder: Start by creating a dedicated folder for your Ergo node files (e.g.,
ergoin your home directory). - Obtain the Ergo Client JAR: You have two main options:
- Download (Recommended): Visit the Ergo GitHub releases page and download the latest stable
ergo-<version>.jarfile. This is the simplest method for most users. Place the downloaded JAR file in yourergofolder. - Build from Source: If you need a specific version (like a Release Candidate) or want to contribute to development, you can compile the JAR yourself. This requires Git, JDK, and SBT.
- See the detailed guide: Building the Ergo Node from Source
- Note: Building development versions might require handling SNAPSHOT dependencies. Refer to the build guide and the specific SNAPSHOT Dependencies guide if you encounter issues.
- Download (Recommended): Visit the Ergo GitHub releases page and download the latest stable
Setting Up Your Node
- Create a Configuration File (
ergo.conf):- In your
ergofolder, create a text file namedergo.conf. - This file overrides default node settings. Only add settings you need to change.
- Start with a basic configuration (adjust
apiKeyHashlater if needed):
ergo { node { mining = false // Disable mining unless intended } } scorex { restApi { // Set a secure API key hash for API access // Example hash for password "hello": apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf" } }For more configuration options, see the Configuration Files documentation.
- In your
- Launch Your Node:
- Open a terminal or command prompt in your
ergofolder. - Run the node using the
java -jarcommand, specifying the JAR file, network (--mainnetor--testnet), and configuration file (-c). Allocate sufficient memory using-Xmx.
# Example for mainnet with 4GB RAM allocated java -jar -Xmx4G ergo-<version>.jar --mainnet -c ergo.conf
- Adjust
-Xmx4Gbased on your system's available RAM (e.g.,-Xmx2G,-Xmx8G). More RAM generally improves performance, especially during sync. - Replace
ergo-<version>.jarwith the actual name of your downloaded or built JAR file.
- Open a terminal or command prompt in your
- Wait for Initialization & Synchronization:
- The node will start up and begin synchronizing with the Ergo network. This process downloads and validates the blockchain history.
- Synchronization can take a significant amount of time (hours to days) depending on your hardware, network speed, and the chosen Node Mode. Be patient.
Verifying Node Synchronization
- Monitor via Web Panel: Open
http://127.0.0.1:9053/panel(or port 9052 for testnet) in your web browser. During sync, it should show "Active synchronization" and increasing block height. - Check Sync Status: Once synchronization is complete, the panel will indicate "Node is synced." You can also check the
/infoendpoint (http://127.0.0.1:9053/info) and compare the reportedfullHeightwith a reliable public explorer like explorer.ergoplatform.com.