How to install Avail Full Node

To contribute in Avail Network Incentivized Testnet we have to:

  1. Run a Full Node

  2. Register for Validator Spotlight & Interest Form

  3. Be active in the Discord and help others

Install Avail Full Node

Requirements

  • 2 CPU

  • 4GB RAM

  • 20-40GB DISK

  • Ubuntu 20.04+

1- Install Dependecies

sudo apt update && sudo apt upgrade -y
sudo apt install make clang pkg-config libssl-dev build-essential git screen protobuf-compiler -y

2- Install Rust Nightly

curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

3- Install Node

git clone https://github.com/availproject/avail.git
screen -S avail
cd avail
cargo build --release -p data-avail
mkdir -p output
cargo run --locked --release -- --chain kate -d ./output
It takes ~40 mins to get this
It takes ~40 mins to get this

To exit from the screen but not close the process, Press Ctrl A+D

4- Install SystemD

1- Create .service file

sudo touch /etc/systemd/system/availd.service

2- Edit .service file

sudo nano /etc/systemd/system/availd.service

3- Copy the code below and paste it in the terminal

  • Replace your validator name with miramoniker in the file
[Unit]
Description=Avail Validator
After=network.target
StartLimitIntervalSec=0
[Service]
User=root
ExecStart= /root/avail/target/release/data-avail --base-path `pwd`/data --chain kate --name "miramoniker"
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.target

After Paste press:

Ctrl + X

Y

Enter

4- Start the service

sudo systemctl enable availd.service
sudo systemctl start availd.service

5- Check Status

sudo systemctl status availd.service

6- Check Logs

journalctl -f -u availd

Your node is synced If target #x = finalized #x in the logs

Ctrl+C to exit

5- Search for your node name

After Sync is finished

  1. If you see your Moniker Name in Telementry you can fill the form

  2. Don’t forget to join the Discord and be active there

***Find me:

Twitter: https://twitter.com/0xMoei

Subscribe to Moei
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.