From 396745cff728b5e04221f4067563b185241bb622 Mon Sep 17 00:00:00 2001 From: Bruno Galvao Date: Fri, 5 Jul 2024 08:29:38 +0000 Subject: [PATCH] GITBOOK-71: No subject --- pop-cli-for-appchains/pop-cli/build.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pop-cli-for-appchains/pop-cli/build.md b/pop-cli-for-appchains/pop-cli/build.md index 668adb1..b817c08 100644 --- a/pop-cli-for-appchains/pop-cli/build.md +++ b/pop-cli-for-appchains/pop-cli/build.md @@ -34,3 +34,11 @@ Pop CLI versions > `0.2.0` will support a simplified command for building parach Simply: `pop build` inside the parachain directory to build the parachain or specify the project path: `pop build --path ./my-appchain` {% endhint %} + +Build and generate files for onboarding the parachain to the Relay chain (Pop CLI versions >`.0.2.0`): + +``` +pop build parachain -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.