This is the official repo for the Karnot CLI and the Avail Clash of Nodes campaign. If you want your app chain to be listed and ranked for the campaign, please create a PR on this repo which adds a JSON in the following format to listing.json.
{
"name": "my_app_chain",
"logo": "https://placehold.co/400x400",
"rpc_url": "https://rpc.myappchain.xyz",
"explorer_url": "https://explorer.myappchain.xyz",
"metrics_endpoint": "https://metrics.myappchain.xyz",
"id": "942ff35e-f048-4d10-ae61-6cb970cad2f0"
}
name
: The name of your app chain.logo
: A image link for the logo of your app chainrpc_url
: A public endpoint for your app chain to make RPC calls (port 9944 by default)explorer_url
: A public endpoint where your app chain explorer is visiblemetrics_endpoint
: A public endpoint for your prometheus metrics (port 9615 by default)
- Checkout from the main branch
- Create a UUID. You can use an online generator.
- Create a file with the name
<uuid>.json
inside theapp_chains
folder (uuid
is the id generated in step 1). - Enter all the details mentioned above inside the JSON file.
- Create a PR with the name "✨ Adding <app_chain_name>"
- Wait for all CI checks to pass
- Make sure you're on the latest
main
version. If you're not, you should see anUpdate branch
button on the PR page - If all your CI checks are passing, your branch should automatically merge.
Checkout this sample PR.
Install npx and run npx prettier@latest --write .
on the repo root.
Make sure all your entrypoints (rpc_url
, explorer_url
, metrics_endpoint
) are up and working correctly.
Make sure that you're only adding one file in your PR. This should be a .json file in the above mentioned
format and should be inside the app_chains
folder.