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 -ycd $HOME
VER="1.20.3"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/binSet Vars
echo "export MONIKER="test"" >> $HOME/.bash_profile
echo "export ZETACHAIN_CHAIN_ID="zetachain_7000-1"" >> $HOME/.bash_profile
echo "export ZETACHAIN_PORT="39"" >> $HOME/.bash_profile
source $HOME/.bash_profileDownload and build binaries
Config init app
Download Genesis and Addrbook
Set seeds and peers
Config Pruning
set minimum gas price, enable prometheus and disable indexing
create service file
Snapshot
enable and start service
Last updated