Manual

Build the Node from scratch step by step

1. Install Dependencies

sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y

  1. Install Docker

sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" 

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

  1. Install Rustc

sudo apt install build-essential
sudo apt install --assume-yes git clang curl libssl-dev protobuf-compiler
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustc --version

rustup default stable
rustup update
rustup show
rustup +nightly show

  1. Install Substrate (For Validator)

git clone https://github.com/substrate-developer-hub/substrate-node-template
cd substrate-node-template
git switch -c my-wip-branch
cargo build --release

  1. Download Resources

git clone https://github.com/availproject/avail

cd avail
mkdir -p output
mkdir -p data
git checkout v1.7.2
  1. Run Full Node

First, Change YOUR_NODENAME

sudo docker run -v $(pwd)/state:/da/state:rw -v $(pwd)/keystore:/da/keystore:rw -e DA_CHAIN=kate -e DA_NAME=YOUR_NODENAME -p 0.0.0.0:30333:30333 -p 9615:9615 -p 9933:9933 -d --name=avail --restart unless-stopped availj/avail:v1.7.2
  1. (Optional) Check Node Status

Find Your Node Name in Telemetry

Visit: https://telemetry.avail.tools/#list/0xd12003ac837853b062aaccca5ce87ac4838c48447e41db4a3dcfb5bf312350c6

Last updated