Cross-Chain Bridges
The Interoperability pallet (runtime index 27) is an on-chain bridge state machine. It records cross-chain intent, collects ML-DSA-87 (NIST FIPS 204) post-quantum signatures from registered bridge validators, tracks liquidity pools, and supports disputes.
Read this before designing against it: the pallet holds state; it does not move assets off-chain. There is no relayer, no light client, no XCM transport and no external-chain adapter in the deployed stack.
pallet_xcmis not in the runtime, and thexcm,xcm-builderandxcm-executorcrates declared in the workspaceCargo.tomlare consumed by no crate. A message submitted withsend_cross_chain_messageis stored withdelivered: falseand stays that way — nothing sets it totrue. Treat a bridge transaction as a signed, auditable record of intent until an off-chain transport exists.
Bridgeable Assets
BridgeAsset has exactly two variants, both native:
pub enum BridgeAsset {
DALLA, // native token
BBZD, // Belizean Dollar stablecoin
}
There are no wrapped tokens. No wETH, wBTC, wUSDC or any other external asset is
represented on-chain, because accepting one would require the external-chain custody that does
not exist. Bridging is restricted to DALLA and bBZD deliberately, to keep supply accounting
sovereign.
Supported Chains
BridgeChain enumerates 51 variants — 49 named networks (Bitcoin, Ethereum, Solana,
Polkadot, Kusama, Arbitrum One, Base, Moonbeam, and so on) plus XCM as a generic aggregation
marker. The enum is a registry of identifiers, not a list of live integrations: each chain
additionally has a ChainConfig whose enabled flag defaults to off, and the pallet's own
source notes that chains without active validators or oracle coverage should stay disabled via
ChainConfigurations.
Operations
BridgeOperation is the payload of every bridge transaction:
| Variant | Direction | Meaning |
|---|---|---|
LockAndMint | outbound | Lock DALLA/bBZD here, mint the representation on the target chain |
BurnAndUnlock | inbound | Burn on the source chain, unlock here against a source tx hash |
MessagePassing | either | Opaque payload, integrity-checked by blake2_256 |
Each operation carries its target or source BridgeChain and BridgeAsset, so a transaction
is self-describing and auditable after the fact.
Lifecycle
BridgeStatus moves through eight states:
Initiated → AwaitingSignatures → ReadyForExecution → Executed
↘ Failed
↘ Disputed → (challenge period) → Finalized
↘ Cancelled (governance)
A transaction is opened by initiate_bridge, advanced by provide_pq_signature until
collected_signatures reaches required_signatures, and executed by process_unlock. Inbound
transfers arrive via submit_incoming_unlock and are confirmed with confirm_burn_proof.
dispute_bridge_transaction moves a live transaction to Disputed; Finalized is reached only
after the challenge period elapses without dispute.
Dispatchables
Twelve extrinsics:
| Extrinsic | Purpose |
|---|---|
initiate_bridge | Open a bridge transaction |
provide_pq_signature | Attach an ML-DSA-87 signature to a transaction |
process_unlock | Execute once the signature quorum is met |
submit_incoming_unlock | Record an inbound transfer |
confirm_burn_proof | Confirm a burn observed on the source chain |
send_cross_chain_message | Store an outgoing message record |
create_liquidity_pool | Register a pool for a chain/asset pair |
withdraw_liquidity | Remove liquidity from a pool |
update_bridge_config | Change a chain's ChainConfig (governance) |
dispute_bridge_transaction | Flag a transaction as disputed |
register_bridge_validator | Add a validator with its PQ public key and stake |
remove_bridge_validator | Remove a validator |
Read-only helpers — get_bridge_transaction, get_total_locked, is_chain_supported,
decode_chain, decode_asset, encode_chain, encode_asset — are not extrinsics.
Security Model
- Post-quantum signatures — each
BridgeValidatorregisters an ML-DSA-87 public key (BoundedVec<u8, 2592>); aBridgeTransactionholds up to 32(validator, signature)pairs, each signature up to 4,627 bytes.ChainConfig::pq_signatures_requiredsets the quorum per chain. - Validator accountability —
BridgeValidatorcarriesstake, areliability_score, and bothsignatures_countandfailed_signatures, so poor signers are visible on-chain. - Per-chain limits —
ChainConfigboundsmax_amount,min_confirmationsandfee_rate;LiquidityPoolbounds exposure per pool. - Rate limiting —
BridgeCallsThisBlockcaps bridge calls per block. - KYC and sanctions — cross-chain messaging requires KYC level 2 or higher, rejects sanctioned accounts, and charges a fee to the treasury.
- Dispute window — any participant can dispute before finalization.
Liquidity Pools
A LiquidityPool tracks one (chain, asset) pair:
pub struct LiquidityPool<AccountId> {
pub pool_id: u32,
pub chain: BridgeChain,
pub asset: BridgeAsset,
pub belizechain_liquidity: u128,
pub external_liquidity: u128,
pub manager: AccountId,
pub fee_rate: u32, // basis points
pub total_volume: u128,
pub active: bool,
}
Because BridgeAsset is limited to DALLA and bBZD, a pool is always a DALLA or bBZD pool
against a named external chain — never a third-party token pool.
Chain Configuration
pub struct ChainConfig {
pub enabled: bool,
pub min_confirmations: u32,
pub max_amount: u128,
pub fee_rate: u32,
pub pq_signatures_required: u32,
pub rpc_endpoint: BoundedVec<u8, 256>,
pub contract_address: Option<BoundedVec<u8, 64>>,
}
rpc_endpoint and contract_address are stored so an off-chain transport can be pointed at a
chain later. Nothing in the runtime reads them today.
Related
- Interoperability pallet — runtime index 27
- Bridges overview page
- BelizeX DEX