Parachain network setup
July 30, 2021 ยท View on GitHub
- Get Polkadot node and place it as
../../polkadot/target/release/polkadotrelative to scripts folder - Install https://www.npmjs.com/package/@polkadot/api-cli
cd scripts- Run
./export_relay_spec.shand./export_para.shto create relay spec, para wasm and para genesis - Start relay nodes with
./run_relays.shand crate new terminal for following commands - Register parachain with
./reg_para.sh - Start para nodes with
./run_paras.sh - Parachain should sync in relay blocks and after 2 minutes it should start to produce blocks.
- Stop nodes with Ctrl-C