Page cover

0G DA node

Each DA signer need to operate a DA node to perform encoded blob data verification, signing and store blob data for further farming and get rewards.

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.

Hardware Requirement

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

1. Install dependencies

sudo apt-get update
sudo apt-get install clang cmake build-essential pkg-config libssl-dev protobuf-compiler llvm llvm-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 rust

4. Download & build binary

5. Generate BLS private key:

On the first run of DA node, it will register the signer information in DA contract. To generate a BLS private key if don't have:

Please keep the generated BLS private key carefully.

circle-exclamation

6. Configuration

Sample:

Input:

socket_address = "VPS_Public_IP:34000" signer_bls_private_key = "85656xxxxxxx" signer_eth_private_key = "4534xxxxxx" miner_eth_private_key = "4534xxxxxx"

7. Create service

8. Start node

9. Check log

Result:

# Delete node

Last updated