Mainnet
Manual Instalation

Manual Instalation

Download latest binary

  • Create a new directory named “.avail” in your home/$USER
1cd
2mkdir -p .avail/bin
3cd .avail/bin
  • Inside our new ~/.avail/bin folder we download the binary
1wget https://github.com/availproject/avail/releases/download/v2.2.5.3/x86_64-ubuntu-2204-avail-node.tar.gz

Extract the binary

1tar -xf x86_64-ubuntu-2204-avail-node.tar.gz
2mv avail-node availd
3rm -rf x86_64-ubuntu-2204-avail-node.tar.gz

Create service file

💡

To run a validator, add the '--validator' flag to your service command.

1sudo tee /etc/systemd/system/availd.service > /dev/null <<EOF
2[Unit]
3Description=Avail Node
4After=network.target
5StartLimitIntervalSec=0
6
7[Service]
8User=$USER
9Type=simple
10Restart=always
11RestartSec=120
12ExecStart=/home/$USER/.avail/bin/availd --base-path /home/$USER/.avail/data --chain mainnet --rpc-external --rpc-port 9944 --rpc-cors=all --port 30333 --name "My Node Name"
13
14[Install]
15WantedBy=multi-user.target
16EOF

Enable and start service

1sudo systemctl daemon-reload
2sudo systemctl enable availd.service --now
3sudo journalctl -u availd -f