Create a new parachain

Create a new parachain with Pop CLI's interactive guidance by simply entering:

pop new parachain

You will be prompted to select a template and depending on the options chosen, be prompted with additional customization options.

pop new parachain
pop new parachain

Manual (non-interactive)

Create a new standard parachain without Pop CLI's interactive guidance by specifying a name for your parachain:

pop new parachain my-appchain
┌   Pop CLI : Generating "my-appchain" using Standard from Pop!

◇  Generation complete

⚙  Version: polkadot-v1.9.0

└  cd into "my-chain" and enjoy hacking! 🚀

You can specify different flags to configure your parachain. To see a full list of configuration options:

pop new parachain --help
Generate a new parachain

Usage: pop new parachain [OPTIONS] [NAME] [PROVIDER]

Arguments:
  [NAME]      Name of the project. If empty assistance in the process will be provided.
  [PROVIDER]  Template provider. [default: pop] [possible values: pop, openzeppelin, parity]

Options:
  -t, --template <TEMPLATE>            Template to use. [possible values: standard, assets, contracts, evm, polkadot-generic-runtime-template, cpt, fpt]
  -r, --release-tag <RELEASE_TAG>      Release tag to use for template. If empty, latest release will be used.
  -s, --symbol <SYMBOL>                Token Symbol [default: UNIT]
  -d, --decimals <DECIMALS>            Token Decimals [default: 12]
  -i, --endowment <INITIAL_ENDOWMENT>  Token Endowment for dev accounts [default: "1u64 << 60"]
  -v, --verify                         Fetches the latest license, release, and commit SHA data from GitHub.
  -h, --help                           Print help

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.

Need help?

Ask on Polkadot Stack Exchange (tag it pop) or drop by our Telegram. We're here to help!

Last updated

Was this helpful?