-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_parachain.txt
21 lines (15 loc) · 1.35 KB
/
run_parachain.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
VALIDATOR
cd /home/ramon/polkadot/polkadot
./target/release/polkadot --alice --validator --base-path ../tmp/relay/alice --chain ../tmp/raw-local-chainspec.json --port 30333 --ws-port 9944
./target/release/polkadot --bob --validator --base-path ../tmp/relay-bob --chain ../tmp/raw-local-chainspec.json --port 30334 --ws-port 9945
https://polkadot.js.org/apps/?rpc=ws%3A%2F%2F127.0.0.1%3A9944#/chainstate
COLLATOR
cd /home/ramon/polkadot/substrate-parachain-template
./target/release/parachain-template-node --alice --collator --force-authoring --chain raw-parachain-chainspec.json --base-path ../tmp/parachain/alice --port 40333 --ws-port 8844 -- --execution wasm --chain ../tmp/raw-local-chainspec.json --port 30343 --ws-port 9977
https://polkadot.js.org/apps/?rpc=ws%3A%2F%2F127.0.0.1%3A8844#/chainstate
// TO CONFIGURE parachain
./target/release/parachain-template-node build-spec --disable-default-bootnode > plain-parachain-chainspec.json
// EDIT The File and Add the required change
./target/release/parachain-template-node build-spec --chain plain-parachain-chainspec.json --disable-default-bootnode --raw > raw-parachain-chainspec.json
./target/release/parachain-template-node export-genesis-wasm --chain raw-parachain-chainspec.json para-2000-wasm
./target/release/parachain-template-node export-genesis-state --chain raw-parachain-chainspec.json para-2000-genesis-state