founder of fiatsend | Simplifying crypto UI experience and onboarding for users in the traditional finance space
founder of fiatsend | Simplifying crypto UI experience and onboarding for users in the traditional finance space

Subscribe to 0xPeter

Subscribe to 0xPeter
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers


If you are reading this article, then I believe you are coming from the part 1 of this. If not checkout previous article:
https://mirror.xyz/pnokn.eth/bd1i3oCnv2HAUgZm16NJ8kzl0SIrzoNoQYEuSX5ArIw
Welcome to Part 2 - A simple guide to help you deploy your avail appchain:
Now that you’ve created your VM you can SSH into your terminal and install these dependencies:
sudo apt update && sudo apt upgrade -y
sudo apt-get install git-all
sudo apt-get install curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

source "$HOME/.cargo/env"
Install Necessary Dependencies
sudo apt update
sudo apt upgrade
sudo apt install build-essential
sudo apt install pkg-config
sudo apt install libssl-dev
sudo apt install clang
sudo apt install protobuf-compiler
Docker installation guide for Ubuntu can be found here:
https://docs.docker.com/engine/install/ubuntu/
Run the following command to uninstall all conflicting packages:
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-
docker containerd runc; do sudo apt-get remove $pkg; done
Set up Docker's apt repository.
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
To install the latest version, run:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Verify that the Docker Engine installation is successful by running the hello-world image.
sudo docker run hello-world
git clone https://github.com/karnotxyz/madara-cli
cd madara-cli
cargo build --release
sudo apt install screen
screen -S madara
Press Y when needed for yes
./target/release/madara init
https://discord.com/invite/availproject
To access the faucet you need to verify that your gitcoin passport has a score of > 20. Click the link below to verify:
https://passport-verifier.avail.tools/
After verification you have access to the discord channel. Now go to #appchain-builders and click on Agree to get access to the faucet:

Request faucet from #goldberg-faucet channel with command:
/deposit-rollup <Avail Address>

./target/release/madara run
To detach screen whilst running in background press Ctrl + A + D
sudo apt install ufw
sudo ufw enable
sudo ufw allow ssh
sudo ufw allow 9944
sudo ufw allow 4000
sudo ufw allow 9615
sudo ufw allow 30333
./target/release/madara explorer
Record your IP and access explorer with your IP and port number:
If you are reading this article, then I believe you are coming from the part 1 of this. If not checkout previous article:
https://mirror.xyz/pnokn.eth/bd1i3oCnv2HAUgZm16NJ8kzl0SIrzoNoQYEuSX5ArIw
Welcome to Part 2 - A simple guide to help you deploy your avail appchain:
Now that you’ve created your VM you can SSH into your terminal and install these dependencies:
sudo apt update && sudo apt upgrade -y
sudo apt-get install git-all
sudo apt-get install curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

source "$HOME/.cargo/env"
Install Necessary Dependencies
sudo apt update
sudo apt upgrade
sudo apt install build-essential
sudo apt install pkg-config
sudo apt install libssl-dev
sudo apt install clang
sudo apt install protobuf-compiler
Docker installation guide for Ubuntu can be found here:
https://docs.docker.com/engine/install/ubuntu/
Run the following command to uninstall all conflicting packages:
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-
docker containerd runc; do sudo apt-get remove $pkg; done
Set up Docker's apt repository.
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
To install the latest version, run:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Verify that the Docker Engine installation is successful by running the hello-world image.
sudo docker run hello-world
git clone https://github.com/karnotxyz/madara-cli
cd madara-cli
cargo build --release
sudo apt install screen
screen -S madara
Press Y when needed for yes
./target/release/madara init
https://discord.com/invite/availproject
To access the faucet you need to verify that your gitcoin passport has a score of > 20. Click the link below to verify:
https://passport-verifier.avail.tools/
After verification you have access to the discord channel. Now go to #appchain-builders and click on Agree to get access to the faucet:

Request faucet from #goldberg-faucet channel with command:
/deposit-rollup <Avail Address>

./target/release/madara run
To detach screen whilst running in background press Ctrl + A + D
sudo apt install ufw
sudo ufw enable
sudo ufw allow ssh
sudo ufw allow 9944
sudo ufw allow 4000
sudo ufw allow 9615
sudo ufw allow 30333
./target/release/madara explorer
Record your IP and access explorer with your IP and port number:
No activity yet