Hardware requirements

- Memory: 64 GB RAM
- CPU: 8 cores
- Disk: 1 TB NVME SSD
- Bandwidth: 100mbps Gbps for Download / Upload


Server Timezone Configuration

Make sure your server timezone configuration is UTC. Check your current timezone by running timedatectl


Installation guide

1. Install required packages

sudo apt update && \
sudo apt install curl git jq build-essential gcc unzip wget lz4 -y

2. Install Go

cd $HOME && \
ver="1.22.0" && \
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" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \
source ~/.bash_profile && \
go version

3. Install 0gchaind via CLI

git clone -b v0.2.3 <https://github.com/0glabs/0g-chain.git>
./0g-chain/networks/testnet/install.sh
source ~/.profile

4. Set Chain ID

You can find the current Chain ID here

0gchaind config chain-id zgtendermint_16600-2

5. Initialize Node

We need to initialize the node to create all the necessary validator and node configuration files:

0gchaind init <your_validator_name> --chain-id zgtendermint_16600-2

Note: the validator name can only contain ASCII characters.