0g DA Node Setup
Recommended Hardware: 8 Cores, 16GB RAM, 1TB of storage (NVME)
Install dependencies
sudo apt-get update
sudo apt install make clang pkg-config libssl-dev
sudo apt-get install libssl-dev
apt-get install protobuf-compiler
sudo apt install build-essential curlInstall 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 versionInstall rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/envInstallation
Download params
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:
Setup config.toml
Create zgda service for your node
Start DA node
Check logs
Last updated