0G DA Node

Please do this step after you have completed Validator Node, Storage and KV.

0G DA Node Setup

# Current version used in doc
Binary: server
Version: 1.1.2
Service Name: 0gda.service

⚙️ Hardware Requirement

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

Install dependencies

sudo apt-get update
sudo apt-get install pkg-config
sudo apt-get install libssl-dev
sudo apt-get install protobuf-compiler
sudo apt-get install clang
sudo apt-get install llvm llvm-dev

Installation

You might encounter an error during compiling. We will use 0xQuark's method to solve the issue.

(Optional) Change paramenter in build.rs if error is encounted during cargo build

Download pre-built parameters

Create a copy of config.toml file

Set 0G DA node variables

Export private key temporary

[IMPORTANT] Generate BLS key for 0G DA node

remember to save this key as you will be submitting the key to smart contract and will require it to run DA node

Configure config.toml with variables set

Create 0gda service to run in the background

Start 0G DA Node

Stop 0G DA node

Check 0G DA Logs

Log examples

Congratulation you have completed the 0G DA node and we will move on to create DA Client Node

Last updated