Deploying Appchains on Avail using Mandara ( Incentivized Testnet)
I will be introducing a simple guide on recent avail Incentivized challenge on the Goldberg Testnet.
Previously, we have attempted few challenges on Avail Testnet. Here is another opportunity to earn more points in preparation of Avail Mainnet.
However, Listing and adding your Appchains to public dashboard isn’t available publicly. This is the best time to get started early as there might be limitations to number of Appchains deployers.
This Article won’t cover how to get started with VPS or Virtual Machines to get your Roll App running.
Gotten your VPS ready ?
Then Let’s Proceed
The clash of nodes challenge introduced by Avail have been a roller coaster of continuous testing and participation. However, this process is helpful for bringing more access to modular Infastructure and Avail upcoming Mainnet.
We will be installing necessary prerequisites before proceeding
Just copy and Paste commands and also read the instructions to avoid mistakes
INSTALLING PREREQUISITES
Install Git
Press Y when needed
sudo apt update && sudo apt upgrade -y
sudo apt-get install git-all
sudo apt-get install curl
Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Press 1 to complete installation
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
— — - Install Madara CLI
Clone Repo
git clone https://github.com/karnotxyz/madara-cli
Build Repo
cd madara-cli
cargo build --release
Next — Open tmux terminal
sudo apt install tmux -y
tmux
Initialize
./target/release/madara init
Enter your Appchain name
Next — Choose Sovereign
Next — Choose Avail as DA
Afterwards, Copy your Avail address displayed in your Terminal.
Head to discord and request faucet to that address before proceeding with the next command.
Run Appchain
./target/release/madara run
Select your App Chain then Proceed. This process might take a while. Have some patience.
After getting to this point
Press Yes if your Address is funded.
Afterwards, Your Appchain starts to run and active. So, you should get same results here
Got this ? Bravo !
You have successfully run your Madara Appchain on Avail DA.
Adding Appchain and Creating PR
Here is summary of what to do
Fork This Repository
Create a File in the forked Repository by clicking “Add New File”
Paste your Appchains Details in this format.
{
"name": "App-Chain-Name",
"logo": "Appchain-Logo-WebAdress",
"rpc_url": "https://"VPS-Address":9944",
"explorer_url": "https://"VPS-Address":4000",
"metrics_endpoint": "https://"VPS-Adress":9615/metrics",
"id": "Paste-your-ID"
}
Replace your “VPS-Address” with your IP Address on you Machine. Example : "explorer_url": "https://161.97.71.234:4000"
To get your ID : Visit this Link and copy your random ID.
Create your File and Title it “Listing.json”
Create Pull Request
On your Forked Repository. Create Pull request.
Then wait for merging and more announcement. Details about Appchain Dashboard will be passed across soon.
Search my Twitter Username : @zek_eth to be notified of any changes. Also subscribe free to my Email list Watchman Zēk