Launch a Chain in Development
Last updated
Was this helpful?
Last updated
Was this helpful?
To run your parachain, you will need to spin up a local network with your parachain configuration.
The pop up
command can help with this.
Say we want to spin up a local network for your parachain. First we need to define a network configuration file. You can do this in the root of your project.
Add the following configuration, adapting as necessary.
You can use
paseo-local
for your Relay chain. Paseo is the community-led Polkadot Test Relay chain.
This network configuration will launch a relay chain using a
paseo-local
instance of Polkadot with two validator nodes to run the network:alice
andbob
. It will also runparachain-template-node
with one collator node namedcollator-01
.
Cool. Let's spin this up, ensuring that your parachain binary has been built using pop build parachain
.
If this is the first time you are running the pop up
command, it will prompt you to source the required Polkadot binaries. This will take some time, grab some coffee.
Once all the binaries are sourced, you should have output similar to this.
Congrats! You have now spun up a network with your parachain running!
Technical Support
Under-the-hood, Pop CLI uses zombienet to spin up the network. For more advanced network configurations and options consult the
🧑🏫 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.
Create a question and tag it with ""
Share the StackExchange question in our