markdownDA Client

1. Install dependencies

sudo apt-get updatesudo 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

git clone -b v1.0.0-testnet https://github.com/0glabs/0g-da-client.git

4. Build combined server

cd $HOME/0g-da-clientgit stashgit fetch --all --tagsgit checkout f8db250git submodule update --init

Configuration

nano /root/0g-da-client/disperser/Makefile

Replace your info at run_combined function:

--chain.rpc http://YOUR_RPC

--chain.private-key YOUR_PRIVATE_KEY

--encoder-socket YOUR_DA_NODE_IP:34000

Sample Makefile:

5. Creat service

6. Start service

Check log:

# Stop Service and Delete node:

Last updated