Skip to content
polkadot-kusama-bridge.html 2.16 KiB
Newer Older
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width">
		<title>Polkadot &lt;&gt; Kusama Bridge</title>
	</head>
	<body>
		<h1>Polkadot &lt;&gt; Kusama Bridge</h1>
		<p>
			Our bridge connects two parachains - Kusama Bridge Hub and Polkadot Bridge Hub. Messages that
			are sent over bridge have XCM format and we are using existing architecture to dispatch them.
			Since both Polkadot, Kusama and their parachains already have means to exchange XCM messages
			within the same consensus system (HRMP, VMP, ...), it means that we are able to connect all those
			chains with our bridge.
		</p>
		<p>
			In our architecture, the lane that is used to relay messages over the bridge is determined by
			the XCM source and destinations. So e.g. bridge between Statemint and Statemine (and opposite direction)
			will use the lane 00000000, bridge between some other Polkadot Parachain and some other Kusama Parachain
			will use the lane 00000001 and so on.
		</p>
		<div class="mermaid">
			flowchart LR
				subgraph Polkadot Consensus
					polkadot(((Polkadot)))
					statemint(((Statemint)))
					polkadot_bh(((Polkadot Bridge Hub)))

					polkadot---statemint
					polkadot---polkadot_bh

					statemint-->|Send Message Using HRMP|polkadot_bh

					polkadot_bh-->|Send Message Using HRMP|statemint
					statemint-->|Dispatch the Message|statemint
				end
				subgraph Kusama Consensus
					kusama_bh(((Kusama Bridge Hub)))
					statemine(((Statemine)))
					kusama(((Kusama)))

					kusama---statemine
					kusama---kusama_bh

					kusama_bh-->|Send Message Using HRMP|statemine
					statemine-->|Dispatch the Message|statemine

					statemine-->|Send Message Using HRMP|kusama_bh
				end

				polkadot_bh&lt;===&gt;|Message is relayed to the Bridged Chain using lane 00000000|kusama_bh
		
				linkStyle 2 stroke:red
				linkStyle 7 stroke:red
				linkStyle 8 stroke:red

				linkStyle 3 stroke:green
				linkStyle 4 stroke:green
				linkStyle 9 stroke:green
		</div>
		<script type="module">
			import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.esm.min.mjs';
			mermaid.initialize({ startOnLoad: true });
		</script>
	</body>
</html>