Skip to content

Repository files navigation

Base Parachain Template

Polkadot SDK Logo Polkadot SDK Logo

R0GUE Logo

Twitter URL Twitter URL Telegram

This template is used to generate parachains using Pop CLI - an all-in-one tool for Polkadot development.

It is based on the Polkadot SDK and is updated by R0GUE after releases in the main Polkadot SDK monorepo.

  • ⏫ This template provides a starting point to build a parachain.

  • ☁️ It is based on the Cumulus framework.

  • 🔧 Its runtime is configured with a single custom pallet as a starting point, and a handful of ready-made pallets such as a Balances pallet.

Template Structure

A Polkadot SDK based project such as this one consists of:

  • 🧮 Runtime - the core logic of the parachain.

Getting Started

Install Pop CLI - the all-in-one Polkadot development tool:

Detailed installation instructions can be found here.

cargo install --force --locked pop-cli

Start a new parachain project with this template:

pop new parachain

Learn how to run your parachain using the pop up command:

# Generate the chain spec
pop build spec            \
--profile release         \
--id 2000                 \
--type local              \
--relay paseo-local       \
--protocol-id custom      \
--chain local_testnet     \
--default-bootnode=false  \
--genesis-code=false      \
--genesis-state=false     \
--deterministic=false     \
--output ./target/release/chain-spec.json
pop up ./network.toml

👉 https://learn.onpop.io/v/appchains/guides/running-your-parachain

Learning Resources

  • 🧑‍🏫 To learn about Polkadot in general, Polkadot.network website is a good starting point.

    • ⭕ Learn more about parachains here.
  • 🧑‍🔧 For technical introduction, here are the Polkadot SDK documentation resources.

  • 📖 To learn how to develop parachains with Pop CLI, read the guides.

Support

About

A standard parachain template, used as the base for other templates.

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages