βοΈSetup Guide
Follow the guide to set up your Tgrade Mainnet node
Step 1: Update and install necessary packages
sudo apt update && sudo apt upgrade --yes && \
sudo apt install git build-essential ufw curl jq snapd screen ncdu nano fuse ufw --yesStep 2: Install Go
sudo snap install go --classic && \
echo 'export GOPATH="$HOME/go"' >> ~/.profile && \
echo 'export GOBIN="$GOPATH/bin"' >> ~/.profile && \
echo 'export PATH="$GOBIN:$PATH"' >> ~/.profile && \
source ~/.profile && \
go versionStep 3: Clone repo and compile binary (you can find releases here: click)
git clone https://github.com/confio/tgrade
cd tgrade
git checkout v$(curl -s https://tgrade-rpc.anyvalid.com/abci_info | jq -r .result[].version)
make installStep 4: Init your keys and download genesis file
tgrade init <moniker> --chain-id tgrade-mainnet-1
tgrade keys add <keyname>
wget https://raw.githubusercontent.com/confio/tgrade-networks/main/mainnet-1/config/genesis.json -O /root/.tgrade/config/genesis.jsonStep 5: Set up gas_price / persistent_peers / pruning
Step 6: Set up Tgrade service
Step 7: Enable Tgrade daemon
If you want to synchronize your node from the 0 block:
Start Tgrade service and watch logs
Or you can quickly synchronize your node through State Sync:
πState Sync GuideLast updated