For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ”Œ Installation

Republic Node Installation Guide (Custom Setup)

1. Install Required Dependencies

First, update your system and install the necessary packages.

sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc chrony liblz4-tool -y

2. Install Go

This setup uses Go v1.22.5. If Go is already installed on your server, you may skip this step.

GO_VERSION="1.22.5"

wget "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go${GO_VERSION}.linux-amd64.tar.gz"
rm "go${GO_VERSION}.linux-amd64.tar.gz"

echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bash_profile
source ~/.bash_profile

go version

3. Install Republic Binary

Download the node binary and move it to your Go binary directory.

Verify the installation:


4. Initialize the Node

Replace <MONIKER> with your preferred node name.


5. Download Genesis and Addrbook

Genesis File

Addrbook File


6. Custom Port Configuration

To avoid conflicts with other nodes, configure custom ports.


7. Configure Peers and Gas Settings

Set the persistent peers to connect to the network faster.

Set minimum gas price:


8. Configure Pruning (Disk Optimization)

Enable pruning to reduce disk usage.


9. Disable Indexer

Disabling the indexer helps reduce disk usage and improves performance.


10. Create System Service

Create a systemd service so the node runs automatically in the background.


11. Start the Node

Reload system services and start the node.

View logs:

Last updated