Implementation of BridgeHub, a blockchain to support message passing between Substrate based chains like Polkadot and Kusama networks.
BridgeHub allows users to:
- Passing arbitrary messages between different Substrate chains (Polkadot <-> Kusama). -- Message passing is
BridgeHub is meant to be system parachain with main responsibilities:
- sync finality proofs between relay chains
- sync finality proofs between BridgeHub parachains
- pass (XCM) messages between different BridgeHub parachains
cd <base-cumulus-repo-directory>
cargo build --release -p polkadot-parachain@0.9.320
# script expect to have pre-built polkadot binary on the path: ../polkadot/target/release/polkadot
# if using `kusama-local` / `polkadot-local`, build polkadot with `--features fast-runtime`
# BridgeHubRococo
zombienet-linux --provider native spawn ./zombienet/examples/bridge_hub_rococo_local_network.toml
# or
# BridgeHubKusama
zombienet-linux --provider native spawn ./zombienet/examples/bridge_hub_kusama_local_network.toml
or
# BridgeHubPolkadot
zombienet-linux --provider native spawn ./zombienet/examples/bridge_hub_polkadot_local_network.toml