Avail's Clash of Nodes Testnet
sudo apt update
sudo apt install wget curl make clang pkg-config libssl-dev build-essential -y
sudo mkdir -p $HOME/avail-node && cd $HOME/avail-node
sudo wget https://github.com/availproject/avail/releases/download/v1.8.0.3/x86_64-ubuntu-2204-data-avail.tar.gz
sudo tar xvzf x86_64-ubuntu-2204-data-avail.tar.gz
sudo chmod +x data-avail
sudo tee /etc/systemd/system/availd.service > /dev/null << EOF
[Unit]
Description=Avail Validator
After=network.target
StartLimitIntervalSec=0
[Service]
User=$USER
Type=simple
Restart=always
RestartSec=120
ExecStart=${HOME}/avail-node/data-avail \
-d ${HOME}/avail-node/data \
--chain goldberg --port 30333 \
--validator \
--name $yourname
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable availd
sudo systemctl restart availd && sudo journalctl -u availd -f -o cat
sudo systemctl status availd
sudo journalctl -u availd -f -o cat
cd $HOME && sudo systemctl stop availd.service && cd $HOME/avail-node &&\
rm -rf data-avail && rm -rf x86_64-ubuntu-2204-data-avail.tar.gz &&\
wget https://github.com/availproject/avail/releases/download/v1.9.0.0/x86_64-ubuntu-2204-data-avail.tar.gz &&\
tar xvzf x86_64-ubuntu-2204-data-avail.tar.gz && cd $HOME &&\
sudo systemctl restart availd.service
${HOME}/avail-node/data-avail --version
sudo journalctl -f -u availd.service
NodeSync on Avail Goldberg Testnet