Installation

# Install Dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
# install go, if needed
cd $HOME
sudo rm -rf /usr/local/go
VER="1.25.5"
curl -Ls https://go.dev/dl/go$VER.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
mkdir -p ~/go/bin
go version
# Download Binary
cd $HOME
mkdir -p ~/go/bin
wget https://github.com/RepublicAI/networks/raw/refs/heads/main/testnet/releases/v0.1.0/republicd-linux-amd64 -O republicd
chmod +x republicd
mv republicd ~/go/bin/
# config and init app
republicd init "Your_Nodes_Name" --chain-id raitestnet_77701-1
# download genesis and addrbook
wget -O $HOME/.republic/config/genesis.json http://45.76.1.67/republic/genesis.json
wget -O $HOME/.republic/config/addrbook.json http://45.76.1.67/republic/addrbook.json

Last updated