Running a local relaychain network
Last updated
Last updated
Below materials are primarily referenced from:
Before setting up a local relaychain network, walk through these materials:
Prepare a local relaychain:
Connect a local parachain:
Make sure they are compiled based on the same release version. If you want to connect the parachain to an already running Relay chain you can skip the Polkadot steps.
NOTE: Our polkadot version for the binaries is v1.14.0
Build Polkadot:
Build Parachain:
Plain:
Important: edit the parachain-chainspec.json
where necessary. For example; set the correct para-id
, protocolid
or relay_chain
.
Raw:
Required to register the Parachain on the Relay Chain. The Relay Chain needs the runtime code to validate blocks.
Required to register the Parachain on the Relay Chain. Both the Relay Chain and the Parachain need to start from the same starting state.
The para-id
needs to be reserved on the Relay Chain. Check out the tutorial and look for the step "Reserve a unique identifier"