Expand description
Complex 2-ways headers+messages relays support.
To add new complex relay between ChainA
and ChainB
, you must:
- ensure that there’s a
declare_chain_cli_schema!(...)
for both chains. - add
declare_chain_to_chain_bridge_schema!(...)
ordeclare_chain_to_parachain_bridge_schema
for the bridge. - declare a new struct for the added bridge and implement the
Full2WayBridge
trait for it.
Modules§
- parachain_
to_ parachain - Parachain to parachain relayer CLI primitives.
- relay_
to_ parachain - Relay chain to parachain relayer CLI primitives.
- relay_
to_ relay - Relay chain to Relay chain relayer CLI primitives.
Structs§
- Bridge
EndCommon Params - Parameters that are associated with one side of the bridge.
- Full2
WayBridge Common Params - Bridge parameters, shared by all bridge types.
- Full
Bridge - All data of the bidirectional complex relay.
- Headers
AndMessages Shared Params - Parameters that have the same names across all bridges.
Traits§
- Full2
WayBridge - Bidirectional complex relay.
- Full2
WayBridge Base - Base portion of the bidirectional complex relay.