0G DA Node

DA Nodes are similar to Storage Nodes but focus on immediacy and short-term accessibility to support real-time operations.

Resources

Prerequisite

To operate effectively, your DA signer needs to run a DA node to verify encoded blob data, sign it, and store it for future farming and rewards. Currently, to run a DA Node on Testnet, users must stake 10 OG tokens. These can be obtained through our faucet or via rewards from running Storage Nodes or Validator Nodes. For official deployed contract addresses, visit this page.

Hardware requirements

CPU

8 cores

RAM

16 GB

Storage

1 TB NVME

Network

100 MBps

OS

Linux (Ubuntu 22.04 x64)

Installation πŸ’Ύ

Install dependencies

sudo apt-get update && sudo apt-get install clang cmake build-essential pkg-config libssl-dev protobuf-compiler llvm llvm-dev

Install GO

cd $HOME && \
ver="1.23.3" && \
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

Install Rust

Build binary from source

Generate BLS private key, if you don't have one. It will register the signer information in DA contract when you first run DA node

You must back up your BLS key.

Edit the configuration file (replace your <public_ip/dns>, signer_bls_private_key, signer_eth_private_key, miner_eth_private_key)

Create a service file

Start the node

Useful commands βš™οΈ

Stop the node

Check logs

Delete node πŸ—‘οΈ

Last updated