githubEdit

Launch a Known Chain

With Pop CLI you can quickly spin up a supported chain without needing to prepare network configuration files.

A supported chain currently refers to one of the system chains. Pop CLI automatically fetches the required binaries and chain-spec generators so you can launch in seconds. Support for additional chains will be added in the future.

Example Usage

Spin up Paseo with Asset Hub:

pop up paseo -p asset-hub

Run Kusama on port 8833 with Asset Hub chain assigned to 9944:

pop up kusama --port 8833 --parachain asset-hub:9944 -r stable2412-4

Launch Polkadot with Asset Hub and a specific ParaId:

pop up polkadot --port 8833 --parachain asset-hub#3395:9977 -r stable2412-4

Custom Network Configurations

You can still provide a full network configuration file if needed. The pop up network command now accepts a positional path argument, eliminating the need for --file/-f:

touch paseo-local.toml
[relaychain]
chain = "paseo-local"

[relaychain.genesis_overrides.sudo]
key = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" # Alice

[[relaychain.nodes]]
name = "alice"
rpc_port = 57731
validator = true

[[relaychain.nodes]]
name = "bob"
validator = true

[[relaychain.nodes]]
name = "charlie"
validator = true

For more details on network configuration files, check the Zombienet documentationarrow-up-right

Run the network:

Learning Resources

Need help?

Ask on Polkadot Stack Exchangearrow-up-right (tag it poparrow-up-right) or drop by our Telegramarrow-up-right. We're here to help!

Last updated