The Turing Testnet is live and marks Avail's final and definitive pre-Mainnet testing environment, aimed at vetting Mainnet deployments, executing extensive stress tests, and assessing network topologies for scalability and resilience. Validators are tasked with an important role in network orchestration, ensuring seamless integration and providing critical feedback for iterative improvements to the Avail team.
Website: https://www.availproject.org
Twitter: https://twitter.com/AvailProject
Discord: https://discord.gg/y6fHnxZQX8
Docs: https://docs.availproject.org/clash-of-nodes/challenges
Github: https://github.com/availproject/avail/releases
1. Faucet
2. Explorer
3. Telemetry
4. Server preparation
Copy sudo apt update
sudo apt install wget curl make clang pkg-config libssl-dev build-essential jq lz4 gcc unzip snapd -y// Some code
5.Download the binary file
Copy sudo mkdir -p $HOME/avail-node && cd $HOME/avail-node
sudo wget https://github.com/availproject/avail/releases/download/v2.2.1.0-rc1/x86_64-ubuntu-2204-avail-node.tar.gz
sudo tar xvzf x86_64-ubuntu-2204-data-avail.tar.gz
sudo rm -rf x86_64-ubuntu-2204-avail-node.tar.gz
sudo chmod +x avail-node
cd $HOME
6.Create a service
Copy yournodename="XSS-labs"
Copy sudo tee /etc/systemd/system/availd.service > /dev/null <<'EOF'
[Unit]
Description=Avail Turing Validator
After=network.target
StartLimitIntervalSec=0
[Service]
User=root
Type=simple
Restart=always
RestartSec=120
ExecStart=$HOME/avail-node/avail-node -d $HOME/avail-node/node-data --chain turing --validator --name $yournodename
[Install]
WantedBy=multi-user.target
EOF
Copy sudo systemctl daemon-reload
sudo systemctl enable availd
sudo systemctl restart availd
7.Check service & logs:
Copy sudo systemctl status availd
Copy sudo journalctl -u availd -f -o cat
8.Session Keys
Copy curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9944
9.Snapshot
Copy sudo systemctl stop availd
rm -rf $HOME/avail-node/node-data/chains/avail_turing_network/paritydb
wget https://files.nodesync.top/Avail-Turing/avail-turing-snap.tar.lz4
lz4 -c -d avail-turing-snap.tar.lz4 | tar -x -C $HOME/avail-node/node-data/chains/avail_turing_network/
rm -rf avail-turing-snap.tar.lz4
Copy sudo systemctl restart availd
sudo journalctl -u availd -f -o cat
10.Upgrade
Copy cd $HOME && sudo systemctl stop availd.service && cd $HOME/avail-node
rm -rf avail-node
wget https://github.com/availproject/avail/releases/download/v2.2.1.0-rc1/x86_64-ubuntu-2204-avail-node.tar.gz
tar -xf x86_64-ubuntu-2204-avail-node.tar.gz
rm -rf x86_64-ubuntu-2204-avail-node.tar.gz
cd $HOME
sudo systemctl daemon-reload
sudo systemctl enable availd
sudo systemctl restart availd && sudo journalctl -u availd -f -o cat