Ergo Full Node Installation Guide#
Getting Started#
Preparing Your Environment#
-
Create a Folder: Start by creating a folder where you will keep all files related to your Ergo node. A good example is creating a folder named
ergo
in your home directory. -
Download or Build the Ergo Client:
- Download: Visit the Ergo GitHub releases page and download the latest
.jar
file. - Build from Source: If you prefer, you can clone the Ergo repository and compile the
.jar
file yourself using SBT by runningsbt assembly
. Alternatively, you can set up using Docker by following the guide in Docker setup.
Setting Up Your Node#
-
Create a Configuration File: In the
ergo
folder, create a text file namedergo.conf
. This file will contain settings for your node. Only override the default values if necessary.ergo.conf
You can rename
ergo.conf
to any name you prefer. This file should include any settings you want to change from their default values.Start with this basic configuration:
ergo { node { mining = false } } scorex { restApi { apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf" } }
-
Launch Your Node: Open a command line in your
ergo
folder and run the following command:java -jar -Xmx4G ergo-*.jar --mainnet -c ergo.conf
-Xmx Flag
The
-Xmx4G
command sets the maximum amount of memory the node can use to 4 GB. Adjust this value based on your computer's available memory. -
Wait for Initialization: Once you run the command, your node will start syncing with the Ergo network. This process can take some time, so patience is key.
Verifying Node Synchronization#
-
Monitor Synchronization: Go to
127.0.0.1:9053/panel
in your web browser to see if your node is actively syncing. It should say "Active synchronization." -
Check Sync Status: Once synchronization is complete, the panel will indicate "Node is synced." You can also check
127.0.0.1:9053/info
to compare the block height with what is reported on Ergo Explorer.