Page cover

0G DA Client

This document outlines the steps to setup your own DA client.

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

The following hardware specifications are recommended for running a DA client:

  • RAM: 8 GB

  • CPU: 2 cores

  • Bandwidth: 100 MBps for Download / Upload

1. Install dependencies

sudo apt-get update
sudo apt-get install cmake 

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. Download the source code

Configuration

Replace: --chain.rpc

--chain.private-key

--batcher.storage.flow-contract

Sample Makefile:

4. Build combined server

5. Creat service

6. Start service

Check log:

# Stop Service and Delete node:

Last updated