-
Notifications
You must be signed in to change notification settings - Fork 122
Manta Parachain with XCMP
Georgi Zlatarev edited this page Jun 18, 2021
·
3 revisions
Follow this link to compile related projects: https://github.com/Manta-Network/Manta/tree/manta-pc/docs
- relay chain spec
./target/release/polkadot build-spec --chain rococo-local --disable-default-bootnode --raw > rococo.json
- Alice node
./target/release/polkadot \
--base-path alice \
--chain rococo-local \
--alice \
--rpc-cors 'all' \
--discover-local \
--unsafe-ws-external
- Bob node
./target/release/polkadot \
--base-path bob \
--chain rococo-local \
--bob \
--rpc-cors 'all' \
--unsafe-ws-external \
--ws-port 9945 \
--discover-local \
--port 30335
- Manta Parachain with para id 6666
- Parachain genesis file
./target/release/manta-pc export-genesis-state --parachain-id 6666 --chain manta-pc-local > manta-pc-6666-state
./target/release/manta-pc export-genesis-wasm --raw --chain manta-pc-local > manta-pc-6666-wasm
- Start it.
./target/release/manta-pc \
--base-path 6666 \
--chain manta-pc-local \
--ws-port 9979 \
--port 30438 \
--parachain-id 6666 \
--validator \
--alice \
--force-authoring \
-lcumulus-collator=trace,cumulus-network=trace,cumulus-consensus=trace \
-- \
--discover-local \
--no-beefy \
--chain rococo.json
- Manta Parachain with para id 7777
- Parachain genesis file
./target/release/manta-pc export-genesis-state --parachain-id 7777 --chain manta-pc-dev > manta-dev-7777-state
./target/release/manta-pc export-genesis-wasm --raw --chain manta-pc-dev > manta-dev-7777-wasm
- Start it.
./target/release/manta-pc \
--base-path 7777 \
--chain manta-pc-dev \
--ws-port 9978 \
--port 30439 \
--parachain-id 7777 \
--validator \
--alice \
--force-authoring \
-lcumulus-collator=trace,cumulus-network=trace,cumulus-consensus=trace \
-- \
--discover-local \
--chain rococo.json
--no-beefy \
Follow this link to register both parachains: Tips: Be careful with the para id.
Follow both following figures to open hrmp channel under sudo permission.
Submit a transaction at parachain 6666 to parachain 7777.
Tips: Go to Explore
to see some event will be triggered.
Or check logs showed in the terminal.
todo!()