<aside> 💡 Be careful because there may be someone else hiding here besides this guide! 👹

</aside>

Validator Node

<aside> 👉 Hardware Requirement

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

</aside>

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

0gchaind config chain-id zgtendermint_16600-2

Initialize Node

<aside> 👉 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

By default, the init command creates config and data folder under ~/.0gchain(i.e $HOME). In the config directory, the most important files for configuration are app.toml and config.toml.

</aside>

Genesis & Seeds

<aside> 👉 Copy 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>

Then verify the correctness of the genesis configuration file:

0gchaind validate-genesis

</aside>

<aside> 👉 Add Seed Nodes

Your node needs to know how to find peers. You’ll need to add healthy seed nodes to $HOME/.0gchain/config/config.toml.

[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656

</aside>

Start Node

<aside> 👉 Start the node and sync up to the latest block height. Note that the first time you start the sync up, it may take longer time to run.

0gchaind start

</aside>


The process of installing and launching a node is quite simple. If you followed my guide, then you definitely succeeded!

If not, then contact me!