How To Run an Avail Validator (Kate Testnet)
sudo apt update
cd ..
sudo mkdir /home/avail/avail-node/
cd /home/avail/avail-node/
wget https://github.com/availproject/avail/releases/download/v1.6.3/data-avail-linux-amd64.tar.gz
wget https://kate.avail.tools/chainspec.raw.json
tar xvzf data-avail-linux-amd64.tar.gz
You need to set name to your node in this command
sudo tee /etc/systemd/system/availd.service > /dev/null <<'EOF'
[Unit]
Description=Avail Validator
After=network.target
StartLimitIntervalSec=0
[Service]
User=avail
Type=simple
Restart=always
RestartSec=120
ExecStart=/home/avail/avail-node/data-avail --base-path /home/avail/avail-node/data --chain /home/avail/avail-node/chainspec.raw.json --port 30333 --validator --name "set_your_name"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable availd.service
sudo systemctl start availd.service
sudo systemctl status availd.service
journalctl -f -u availd.service
Create 2 accounts stash
and controller
on https://kate.avail.tools/
Contact Avail Team for funds
Keep most of your funds in the stash account since it is meant to be the custodian of your staking funds, and have just enough funds in the controller account to pay for fees.
Make sure not to bond all your AVL balance since you will be unable to pay transaction fees from your bonded balance.
Click on stash as shown in picture
Sign and Submit after entering the details
wait for the node to sync
Once your node is synced
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9933
Go to Network → Staking again, Ensure you are on Account actions, and enter session key
Click on Validate button and Validate
To verify that your node is ready for possible selection at the end of the next era , navigate to Network → Staking and select Waiting. Your account should be shown there. A new validator set is selected every era, based on the staking amount.