π Installation
Install Go (if not already installed):
cd $HOME
VERSION="1.23.1"
wget "https://golang.org/dl/go$VERSION.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VERSION.linux-amd64.tar.gz"
rm "go$VERSION.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source ~/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/binDefine Environment Variables:
echo "export WALLET='wallet'" >> $HOME/.bash_profile
echo "export MONIKER='noderuner'" >> $HOME/.bash_profile
echo "export ZENROCK_CHAIN_ID='gardia-2'" >> $HOME/.bash_profile
echo "export ZENROCK_PORT=46657" >> $HOME/.bash_profile # Set custom base port here
source ~/.bash_profileDownload the Zenrockd Binary:
cd $HOME
curl -o zenrockd https://releases.gardia.zenrocklabs.io/zenrockd-latest
chmod +x zenrockd
mv zenrockd ~/go/bin/Configure and Initialize Node:
Download Genesis and Addrbook Files:
Set Seed and Peer Nodes:
Update App Ports in app.toml:
Update Ports in config.toml:
Set Pruning and Gas Prices:
Create Systemd Service File:
Snapshot
Enable and Start the Node:
Last updated