Hardware Requirement
- Memory: 64 GB
- CPU: 8 cores
- Disk: 1 TB NVME SSD
- Bandwidth: 100 MBps for Download / Upload
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
Set Chain ID
0gchaind config chain-id zgtendermint_16600-2
Initialize Node
0gchaind init <your_validator_name> --chain-id zgtendermint_16600-2
Genesis & Seeds
sudo apt install -y unzip wget
rm ~/.0gchain/config/genesis.json
wget -P ~/.0gchain/config <https://github.com/0glabs/0g-chain/releases/download/v0.2.3/genesis.json>
0gchaind validate-genesis
Add Seed Nodes
#######################################################
### P2P Configuration Options ###
#######################################################
[p2p]
# ...
# Comma separated list of seed nodes to connect to
seeds = "<node-id>@<ip>:<p2p port>"
[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656
Start Testnet
0gchaind start