Page cover

Installation

circle-info

DISCLAIMER: This guide is for informational purposes only. Always verify steps with official documentation and ensure you fully understand each action before proceeding.

0G Storage interact with on-chain contracts for blob root confirmation and PoRA mining.. For official deployed contract addresses, visit this pagearrow-up-right.

Hardware Requirement

- Memory: 16 GB RAM
- CPU: 4 cores
- Disk: 500GB / 1T NVME SSD
- Bandwidth: 500 MBps for Download / Upload

1. Install dependencies for building from source

sudo apt-get update
sudo apt-get install clang cmake build-essential openssl pkg-config libssl-dev

2. install go

cd $HOME && \
ver="1.22.0" && \
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" >> ~/.bash_profile && \
source ~/.bash_profile && \
go version

3. install rustup

4. Download and install binary

circle-info

Upgrade new version without remove node. Please check page below!

Upgrade Storage node v.0.5.0chevron-right

If you want remove the node and install from scratch:

Build:

5. Config:

You can download my sample config https://josephtran.cc/config-testnet-turbo.tomlarrow-up-right

6. Set your miner key:

# Define varible

# Set miner_key:

7. Verifying Configuration Changes

To check if the configuration has been updated correctly

triangle-exclamation

8. create service

9. Start node

10. Check log

# Full log:

# tx_seq log:

# Monitoring 0g-storage-node Logs without Network and Peer Messages:

# logSync & Peers through RPC:

# Use snapshot:

You can use my snapshot to sync faster

Snapshotchevron-right

# Stop & Delete node

Last updated