This repository talks about how to install and run the 0G_LABS validator node. Hi all! If you wanted to install the validator node of the 0g_labs project, but didn’t know how exactly to do it, then this repository is especially for you! Just follow the instructions and you will definitely succeed! Before you start, it’s worth mentioning the system requirements; below are the minimum requirements under which you can run a node!
- Memory: 64 GB
- CPU: 8 cores
- Disk: 1 TB NVME SSD
- Bandwidth: 100 MBps for Download / Upload
Double check that your computer meets these requirements.
Great, now we can move on to the installation itself! Installation will take place using a code.
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
0gchaind config chain-id zgtendermint_16600-2
- Download Genesis
Validate the Genesis File
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
# To config.toml [email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656
0gchaind start
That's all! I hope my guide helped you! I will be glad to receive your feedback!