Back to all services Back to all services
Avail logo

Avail

chainID: Avail DA Mainnet MAINNET

Node Install

Guide to Set Up an Avail Node (Mainnet)

System Requirements

Component Minimum Recommended
RAM 8 GB 16 GB
CPU (amd64/x86 architecture) 4 cores 8 cores
Storage (SSD) 20-40 GB 200-300 GB

Installation and Configuration

1. Download and extract Avail binary:

mkdir avail
cd avail
wget https://github.com/availproject/avail/releases/download/v2.3.4.1/x86_64-ubuntu-2204-avail-node.tar.gz
tar xvzf x86_64-ubuntu-2204-avail-node.tar.gz
mkdir node-data

2. Create systemd service for RPC node:

sudo tee /etc/systemd/system/availd.service > /dev/null <<EOF
[Unit]
Description=Avail Node
[Service]
Type=simple
ExecStart=/home/(user)/avail/avail-node -d /home/(user)/avail/node-data --chain mainnet --name CumuloRPC --rpc-cors=all --rpc-external --pruning archive
Restart=always
RestartSec=3
LimitNOFILE=65535
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=avail-node
[Install]
WantedBy=multi-user.target
EOF

3. Start the RPC node service:

sudo systemctl daemon-reload
sudo systemctl enable availd
sudo systemctl start availd
sudo journalctl -f -u availd.service

4. Check RPC status:

systemctl status availd

5. Create systemd service for Validator node:

sudo tee /etc/systemd/system/availd.service > /dev/null <<EOF
[Unit]
Description=Avail Node
[Service]
Type=simple
ExecStart=/home/(user)/avail/avail-node -d /home/(user)/avail/node-data --chain mainnet --name CumuloBack --validator
Restart=always
RestartSec=3
LimitNOFILE=65535
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=avail-node
[Install]
WantedBy=multi-user.target
EOF

6. Restart validator node:

sudo systemctl restart availd.service
sudo journalctl -f -u availd.service

7. Rotate validator keys:

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9944

8. Sample response:

{"jsonrpc":"2.0","result":"0x861cf65dae85997a4f600935e9505459...","id":1}

9. Local node identity example:

12D3KooWGd6o2Wd42Pqc5MYN5tdCqQsjUmLxqWxqNM6CYMKaD1aT

Node Update

v2.3.4.1 14/10/25

Ubuntu 22.04 binary — for Ubuntu 24.04 use the x86_64-ubuntu-2404 build.

1. Stop the running service:

sudo systemctl stop availd.service

2. Remove old binary and archive:

cd avail
rm -rf avail-node
rm -rf x86_64-ubuntu-2204-avail-node.tar.gz

3. Download and extract new binary (v2.3.4.1):

wget https://github.com/availproject/avail/releases/download/v2.3.4.1/x86_64-ubuntu-2204-avail-node.tar.gz
tar xvzf x86_64-ubuntu-2204-avail-node.tar.gz

4. Restart the service and check logs:

sudo systemctl restart availd.service
sudo journalctl -f -u availd.service