RPC Node
Running a RPC node for the 0G-Galileo-Testnet in the 0G ecosystem means to provide a public or private RPC service for the community.
Hardware Requirements
Component | Mainnet | Testnet |
---|---|---|
Memory | 64 GB | 64 GB |
CPU | 8 cores | 8 cores |
Disk | 1 TB NVME SSD | 4 TB NVME SSD |
Bandwidth | 100 MBps for Download / Upload | 100 MBps for Download / Upload |
1. Download Package
Download the latest package for node binaries (named "galileo.tar.gz")
wget -O galileo.tar.gz https://github.com/0glabs/0gchain-NG/releases/download/v1.1.1/galileo-v1.1.1.tar.gz
2. Extract Package
Unzip this file to your home path
tar -xzvf galileo.tar.gz -C ~
3. Copy Files and Set Permissions
cd galileo
cp -r 0g-home {your data path}
sudo chmod 777 ./bin/geth
sudo chmod 777 ./bin/0gchaind
4. Initialize Geth
./bin/geth init --datadir /{your data path}/0g-home/geth-home ./genesis.json
5. Initialize 0gchaind with Temporary Directory
./bin/0gchaind init {node name} --home /{your data path}/tmp