🥋Karnot AppChain (Closed)
Setup AppChain and Pull request to register
Install dependencies
Please go Ubuntu Dependencies to install
Initialize Madara CLI
Clone repo
git clone https://github.com/karnotxyz/madara-cliBuild
cd madara-cli
cargo build --releaseInitialize a new appchain
./target/release/madara initEnter your app chain name
Mode: Sovereign
DA layer: Avail
You will see the result

Restore your old AppChain
If you are new, please skip this. This section is for someone who accidentally removed vps or got error and have to reinstall vps
If you want to use your old appchain information, please update data in ~/.madara/app-chains/{your appchain name}/da-config.json
You should change the address and seed in there corresponding to your old information
Faucet
You must have 20 point in gitcoin in order to get faucet at Discord channel
Go to faucet-access in discord to get role
When you have role to access goldberg-faucet, the syntax to faucet is /deposit then choose the first item in Modal displayed then patse your address you have in Register your AppChain
Register your AppChain
Before you register your AppChain, please get faucet
Go to register page
If you already have old app chain and restored at Restore your old AppChain, just find your app chain by name. You will see the app chain id, replace it at
da-config.jsonin~/.madara/app-chains/{your appchain name}/da-config.jsonIf you are new, Import the appchain wallet to Pokadot{js} extension by seed phrase.
Click on
Detect extensionthen choose the wallet you just imported.Name your app chain, then click
Send txand wait until successfulThen replace app chain id at
da-config.jsonin~/.madara/app-chains/{your appchain name}/da-config.json
Run your AppChain
You need to install tmux first in order to keep AppChain running
sudo apt install tmuxThen run session tmux
tmuxRun AppChain
./target/release/madara runIf you get any questions in installing progress, just press Y then enter
You should see the result in the end

Press Ctrl + B then press D to exit tmux session
Run explorer
./target/release/madara explorerCheck your AppChain Explorer
Go to the link http://{your vps IP}:4000
Create PR to register your AppChain
Go to Avail listing github
Fork it

Then clone it in your computer
Create a JSON file named
{uuid}.jsonin theapp_chainsfolder with the syntax:
{
"name": "your app chain name",
"logo": "url of your logo",
"rpc_url": "http://{your vps ip}:9944",
"explorer_url": "http://{your vps ip}:4000",
"metrics_endpoint": "http://{your vps ip}:9615/metrics",
"id": "{uuid} that match with the name of JSON file"
}Submit github (In this step, you shoudl search on google if you do not know how to do)
Create Pull Request on Github with titled
✨ Adding app_chain_nameWait for approving (Should be in 30 seconds)
If succesful, you will see the tag of your PR similar to

Last updated