Auto Update
source <(curl -s <https://raw.githubusercontent.com/zstake-xyz/test/refs/heads/main/0g_da_update.sh>) # da update
Manual Update
sudo systemctl stop 0gda && cp $HOME/0g-da-node/config.toml $HOME/da_config.toml.backup
cd $HOME/0g-da-node
git stash
git fetch --all --tags
git checkout 43499a2
git submodule update --init
cargo build --release
mv $HOME/da_config.toml.backup $HOME/0g-da-node/config.toml
sudo systemctl daemon-reload && sudo systemctl enable 0gda && sudo systemctl start 0gda
sudo journalctl -u 0gda -f -o cat