build

Build your parachain

pop build <COMMAND>

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

To build your parachain using Pop CLI:

# Build your parachain
pop build -p ./my-appchain

or

cd my-appchain
pop build

To build your parachain for production:

cd my-appchain
pop build --release

Build and generate files for onboarding the parachain to the Relay chain (Pop CLI versions >.0.2.0):

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.

build spec

pop build spec [OPTIONS]

To build the chain specification for your appchain along with its genesis artifacts, you can run the following command:

cd my-appchain
pop build spec --id 3000

For additional parameters and customizations run:

pop build spec --help

Last updated