Cross-Chain Bridge

Cross-Chain Bridge

B-Chain architecture, MPC custody, and quantum-safe cross-chain transfers

Cross-Chain Bridge

Specifications: LP-6000 B-Chain Bridge | LP-6015 MPC Bridge Protocol | LP-6016 Teleport Protocol | LP-333 Dynamic Signer Rotation

Implementation: github.com/luxfi/node/vms/bridgevm | github.com/luxfi/node/vms/thresholdvm | github.com/luxfi/threshold

The LX bridge enables secure, quantum-safe cross-chain asset transfers through a dedicated B-Chain (Bridge Chain) using MPC threshold signatures.

Implementation Status

ComponentSourceSpecificationStatus
BridgeVM (B-Chain)vms/bridgevm/LP-6000Complete
ThresholdVM (T-Chain)vms/thresholdvm/LP-6015Complete
LP-333 Signer Managementvms/bridgevm/rpc.goLP-333Complete
Threshold Cryptogithub.com/luxfi/thresholdLP-6015Complete
Ringtail Signaturesvms/platformvm/warp/signature.goWarp 1.5Complete
Teleport Protocolvms/platformvm/warp/teleport.goLP-6016Complete
Bridge Contractsgithub.com/luxfi/standardLP-6000Complete

Architecture Overview

The bridge operates through a dedicated B-Chain VM that coordinates with the T-Chain (ThresholdVM) for MPC operations:

                    Lux Network
+------------------------------------------------------------------+
|                                                                  |
|  +-------------+     +-------------+     +-------------+         |
|  |  B-Chain    |<--->|  T-Chain    |<--->|  Warp 1.5   |         |
|  |  BridgeVM   |     |  ThresholdVM|     |  Messaging  |         |
|  |             |     |             |     |             |         |
|  | - Signer    |     | - DKG       |     | - Ringtail  |         |
|  |   Set Mgmt  |     | - Reshare   |     | - ML-KEM    |         |
|  | - Bridge    |     | - Sign      |     | - Teleport  |         |
|  |   Requests  |     | - Refresh   |     |             |         |
|  +------+------+     +------+------+     +------+------+         |
|         |                   |                   |                |
|         +-------------------+-------------------+                |
|                             |                                    |
|                    CrossChainAppRequest                          |
+------------------------------------------------------------------+
                              |
        +---------------------+---------------------+
        |                     |                     |
   +----+----+           +----+----+           +----+----+
   | Ethereum|           | Bitcoin |           |  Cosmos |
   | Bridge  |           | Bridge  |           |   IBC   |
   | Contract|           | (MPC)   |           | Channel |
   +----+----+           +----+----+           +----+----+

Core Concepts

B-Chain (Bridge Chain)

The B-Chain is a purpose-built VM for cross-chain operations:

  • Signer Set Management: LP-333 opt-in model with 100 validator limit
  • Bridge Orchestration: Coordinates lock/mint/burn operations
  • Slashing: 100M LUX bond requirement with partial/full slashing

T-Chain (Threshold Chain)

The T-Chain provides MPC-as-a-service:

  • Distributed Key Generation (DKG): CGGMP21/LSS protocols
  • Threshold Signing: t-of-n signatures without key reconstruction
  • Key Resharing: Add/remove signers without changing public key

Warp 1.5 (Quantum-Safe Messaging)

Cross-chain messages use Warp 1.5 with quantum-safe primitives:

  • Ringtail Signatures: LWE-based threshold signatures (post-quantum)
  • ML-KEM Encryption: FIPS 203 key encapsulation for private transfers
  • Teleport Protocol: High-level abstraction for bridge operations

Bridge Flow

Source Chain                B-Chain                  T-Chain              Destination
+----------+              +---------+              +---------+            +----------+
|          |  1. Lock     |         |  2. Sign    |         |            |          |
| Lock TX  | -----------> | Bridge  | ----------> | MPC     |            |          |
|          |              | Request |  Request    | Keygen/ |            |          |
+----------+              |         |             | Sign    |            |          |
                          |         | <---------- |         |            |          |
                          |         |  3. Sig     +---------+            |          |
                          |         |                                    |          |
                          |         |  4. Warp Message (Ringtail)        |          |
                          |         | ---------------------------------> | Mint TX  |
                          +---------+                                    +----------+

Step-by-Step Process

  1. Lock: User locks assets on source chain via bridge contract
  2. Verify: B-Chain validators verify lock transaction
  3. Sign: T-Chain signers produce threshold signature
  4. Relay: Warp message with Ringtail signature sent to destination
  5. Mint: Destination chain verifies signature and mints wrapped assets

Supported Chains

ChainProtocolStatusAssets
Lux NetworkNativeLiveLUX, all DEX assets
EthereumLock/MintLiveETH, ERC-20
ArbitrumLock/MintLiveARB, ERC-20
OptimismLock/MintLiveOP, ERC-20
PolygonLock/MintLiveMATIC, ERC-20
BNB ChainLock/MintLiveBNB, BEP-20
BitcoinMPC CustodyLiveBTC
CosmosIBC/TeleportBetaATOM, IBC tokens
SolanaMPC CustodyBetaSOL, SPL tokens

Quick Start

Bridge to Lux

import "github.com/luxfi/bridge/client"

// Create bridge client
bridge, err := client.NewBridgeClient(client.Config{
    Network:  "mainnet",
    Endpoint: "https://bridge.lux.network",
})
if err != nil {
    log.Fatal(err)
}

// Bridge ETH from Ethereum to Lux
transfer, err := bridge.TransferToLux(ctx, &client.TransferParams{
    SourceChain: "ethereum",
    Asset:       "ETH",
    Amount:      "1.5",
    Recipient:   "lux1qp2xqwh8j3...",
})
if err != nil {
    log.Fatal(err)
}

fmt.Printf("Transfer ID: %s\n", transfer.ID)
fmt.Printf("Estimated time: %s\n", transfer.EstimatedTime)

Bridge from Lux

// Bridge wrapped ETH from Lux back to Ethereum
transfer, err := bridge.TransferFromLux(ctx, &client.TransferParams{
    DestChain:  "ethereum",
    Asset:      "wETH",
    Amount:     "1.5",
    Recipient:  "0x742d35Cc...",
})
if err != nil {
    log.Fatal(err)
}

// Wait for completion
result, err := transfer.Wait(ctx)
if err != nil {
    log.Fatal(err)
}

fmt.Printf("Destination TX: %s\n", result.DestTxHash)

Security Model

Validator Requirements (LP-333)

  • 100M LUX Bond: Slashable deposit (NOT staked rewards)
  • Opt-in Registration: First 100 validators accepted, then waitlist
  • Reshare on Removal Only: Epoch increments only when signer replaced

Threshold Security

  • 2/3 Threshold: 67% of signers required for valid signature
  • No Single Point of Failure: Key never exists in one place
  • Quantum-Safe: Ringtail signatures resist quantum attacks

Slashing Conditions

ViolationSlash Amount
Signing invalid message50-100%
Double signing100%
Offline during signing10-20%
Censoring valid requests25-50%

Documentation Sections

SectionDescription
B-ChainBridgeVM architecture, state machine, block structure
MPC CustodyCGGMP21 protocol, threshold signatures, key management
ThresholdVMT-Chain VM, DKG, resharing, cross-chain requests
RingtailQuantum-safe signatures, Warp 1.5, ML-KEM encryption
TeleportTeleport protocol, IBC integration, message types
ContractsBridge smart contracts, lock/mint/burn mechanics
SecuritySecurity model, bonds, slashing, threat analysis
FeesFee structure, gas sponsorship, fee estimation
IntegrationDEX integration, API reference, SDK usage

RPC Endpoints

The B-Chain exposes LP-333 compliant JSON-RPC endpoints:

MethodDescription
bridge_registerValidatorRegister as bridge signer (opt-in)
bridge_getSignerSetInfoGet current signer set state
bridge_replaceSignerRemove failed signer (triggers reshare)
bridge_hasSignerCheck if node is active signer
bridge_getWaitlistGet validators waiting for slots
bridge_getCurrentEpochGet epoch (increments on reshare)
bridge_slashSignerSlash misbehaving signer's bond
  • LP-6000: B-Chain Bridge Specification
  • LP-6015: MPC Bridge Protocol (CGGMP21 + LSS)
  • LP-6016: Teleport Cross-Chain Protocol
  • LP-333: Dynamic Signer Rotation with LSS Protocol
  • Warp 1.5: Quantum-Safe Cross-Chain Messaging