System Requirements
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
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
git checkout v1.8.0.2
The latest version at the time of printing is 1.8.0.2 The latest version cannot be viewed from here.
cargo run --locked --release -- --chain goldberg --validator -d ./output
This command sync and runs the Avail Node connected to the Goldberg. Sync may take a few hours. After Sync, exit your screen with Ctrl A+D
.
4- Install SystemD
Create service file
sudo touch /etc/systemd/system/availd.service
sudo nano /etc/systemd/system/availd.service
Copy the code below, change validator name and paste it in the terminal:
[Unit]
Description=Avail Validator
After=network.target
StartLimitIntervalSec=0
[Service]
User=root
ExecStart= /root/avail/target/release/data-avail -d ./output --chain goldberg --validator --name "<name>"
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.target
After Paste:
Ctrl + X
Y
Enter
5-Start the Avail service
sudo systemctl enable availd.service
sudo systemctl start availd.service
Check Status
sudo systemctl status availd.service
Check Logs
journalctl -f -u availd
If everything is ok, you should find your node name here https://telemetry.avail.tools
If you find your name you can fill in the form.
Last updated