Docs
Submit an issue
Appchains on Polkadot
Appchains on Polkadot
  • WELCOME
    • Polkadot Appchains
    • Installing Pop CLI
    • How to contribute
  • GUIDES
    • Set up your development environment
    • Create a new parachain
      • Create an Assets parachain
      • Create a Contracts parachain
      • Create an EVM parachain
    • Benchmarking
    • Build your parachain
      • Build your runtime deterministically
    • Call a chain
    • Launch a Chain
      • Launch a Chain in Development
      • Launch a Chain to Paseo
        • Launch Paseo
        • Set up keys
        • Acquire Coretime
      • Deploy a chain with Polkadot Deployment Portal
      • Running a post-startup command
    • Securely Sign Transactions from CLI
    • Test runtime upgrades
  • POP CLI
    • welcome
    • install
    • new
    • bench
    • build
    • build spec
    • call
    • up
    • clean
    • test
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. GUIDES

Build your parachain

PreviousBenchmarkingNextBuild your runtime deterministically

Last updated 9 months ago

Was this helpful?

To build your parachain using Pop CLI

cd my-appchain
pop build

For Pop CLI versions <0.3.0 the pop build command is pop build parachain

┌   Pop CLI : Building a parachain
│
   Compiling parachain-template-runtime v0.1.0 (/Users/pop/src/my-appchain/runtime)
   Compiling parachain-template-node v0.1.0 (/Users/pop/src/my-appchain/node)
    Finished release [optimized] target(s) in 1m 20s

└  Build Completed Successfully!

If you are outside the project's directory, you can specify the path

pop build -p ./my-appchain

For Pop CLI versions <0.3.0 the pop build command is pop build parachain

If you are building the parachain with the intent to onboard the parachain to a Polkadot Relay chain then you can run the following build command:

pop build -p ../my-appchain --para_id 2000

This command will build your parachain and generate the chain spec, WebAssembly runtime for the parachain, and generate the parachain genesis state needed for registering and onboarding a parachain onto the Relay chain.

Learning Resources

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

    • ⭕ Learn more about parachains .

  • 🧑‍🔧 For technical introduction, are the Polkadot SDK documentation resources.

Technical Support

Create a question and tag it with ""

Share the StackExchange question in our

Polkadot.network
here
here
Polkadot Stack Exchange
pop
Pop Support Telegram channel