️🏆0G LAB

Website: https://0g.ai/arrow-up-right

Twitter: https://x.com/0G_labsarrow-up-right

Discord: https://discord.com/invite/0glabsarrow-up-right

Hardware Requirement

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

Update system

sudo apt update && sudo apt upgrade -y
sudo apt install make curl git wget htop tmux build-essential jq make lz4 gcc unzip -y

Install Go

ver="1.21.5"
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" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version

Build 0gchain binary

Set up variables

Initialize the node

Download genesis.json

Add seeds and peers to the config.toml

Change ports (Optional) Customize if you need

Configure pruning to save storage (Optional)

Set min gas price

Enable indexer (Optional)

Create a service file

Start the node

P.S. Consider download snapshot or using statesync for the quick sync.

Create a wallet for your validator

Extract the HEX address to request some tokens from the faucet

Request tokens from the faucet

Checking Synchronization

Check wallet balance

Check node status

Last updated