I've been really enjoying the 0G_LABS project lately, I've set it apart for myself as the main project for the future! I like to support newcomers who are just coming to this project, which is why I wrote a full-fledged guide on this wonderful project!
MEMORY | 64 GB |
---|---|
CPU | 8 cores |
DISK | 1 TB NVME SSD |
BANDWIDTH | 100 MBps |
CHAIN-NAME | 0G-Newton-Testnet |
---|---|
CHAIN-ID | zgtendermint_16600-2 |
TOKEN-SYMBOL | A0GI |
CHAIN-RPC | https://rpc-testnet.0g.ai |
CHAIN-WEBSOCKET | wss://rpc-testnet.0g.ai/ws |
STORAGE-RPC | https://rpc-storage-testnet.0g.ai |
Ensure your server's timezone is set to UTC. Check with:
timedatectl
Clone the repository and install:
git clone -b v0.2.3 <https://github.com/0glabs/0g-chain.git>
./0g-chain/networks/testnet/install.sh
source ~/.profile
Set the chain ID:
0gchaind config chain-id zgtendermint_16600-2
Initialize the node:
0gchaind init <your_validator_name> --chain-id zgtendermint_16600-2
Install necessary tools and get the genesis file: