Page cover

0G DA Retriever

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.

Install dependencies

sudo apt-get update
sudo apt-get install cmake build-essential protobuf-compiler

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Download the source code

git clone https://github.com/0glabs/0g-da-retriever.git
cd 0g-da-retriever
cargo build --release

Configuration

nano $HOME/0g-da-retriever/run/config.toml

Sample:

log_level = "info"
grpc_listen_address = "0.0.0.0:34005"

#YOUR_RPC_ENDPOINT:
eth_rpc_endpoint = "https://evmrpc-testnet.0g.ai" 

Create service file

Start service

Last updated