LPsLux Proposals
Assets & Tokens
LP-6329

Teleport Bridge System Index

Review

Master index and navigation guide for the Lux Network's Teleport cross-chain bridge system, unifying threshold cryptography, bridge operations, key management, and smart contract integration.

Category
Core
Created
2025-12-11

Abstract

This LP serves as the master index for the Teleport Bridge System, Lux Network's unified cross-chain protocol combining threshold cryptography, dedicated bridge chains, and smart contract custody. The Teleport system enables trustless, decentralized bridging between Lux Network and external blockchains including Ethereum, Bitcoin, Base, Arbitrum, Optimism, and Cosmos IBC chains. A single MPC-generated address works across all EVM-compatible chains, with threshold signatures (CGG21 for ECDSA, LSS for dynamic resharing, FROST for Schnorr, and Ringtail for quantum-safe extensions) ensuring no single party controls bridged funds. This index provides navigation to all related LPs, summarizes system architecture, and serves as the entry point for understanding the complete bridge infrastructure.

Motivation

The Teleport Bridge System spans multiple LPs covering threshold cryptography, bridge operations, key management, and smart contract integration. Navigating this complex documentation requires a central index that provides a high-level overview of the system architecture, lists all component LPs, and explains how they relate to each other. This informational LP serves as the entry point for developers, auditors, and users seeking to understand or implement cross-chain bridging on Lux Network.

System Overview

+-------------------------------------------------------------------------+
|                         Lux Network Chain Architecture                   |
+-------------------------------------------------------------------------+
|                                                                         |
|  MAINNET CHAINS (Live):                                                 |
|  +-----------------+  +-----------------+  +-----------------+          |
|  | P-Chain         |  | X-Chain         |  | C-Chain         |          |
|  | Platform        |  | Exchange        |  | Contracts       |          |
|  | Validators,     |  | UTXO Assets,    |  | EVM, Gnosis     |          |
|  | Native Multisig |  | Native Multisig |  | Safe (LP-0335)  |          |
|  +-----------------+  +-----------------+  +-----------------+          |
|  +-----------------+  +-----------------+  +-----------------+          |
|  | Q-Chain         |  | T-Chain         |  | B-Chain         |          |
|  | Query/Index     |  | ThresholdVM     |  | BridgeVM        |          |
|  |                 |  | MPC Signatures  |  | Cross-chain     |          |
|  |                 |  | (LP-0330)       |  | (LP-0331)       |          |
|  +-----------------+  +-----------------+  +-----------------+          |
|                              |                    |                     |
|                              +--------+-----------+                     |
|                                       |                                 |
|                              +--------v---------+                       |
|                              |  External Chains |                       |
|                              | ETH, BTC, Base,  |                       |
|                              | Arbitrum, Cosmos |                       |
|                              +------------------+                       |
|                                                                         |
|  EXPERIMENTAL:                            SPECIFICATION (RFC):          |
|  +-----------------+  +-----------------+  +-----------------+          |
|  | A-Chain (AIVM)  |  | Z-Chain (ZK)    |  | K-Chain (KMS)   |          |
|  | Mainnet: flag   |  | Devnet only     |  | LP-0336 RFC     |          |
|  | Devnet: default |  |                 |  +-----------------+          |
|  +-----------------+  +-----------------+  | I-Chain (DID)   |          |
|                                           | RFC pending     |          |
|                                           +-----------------+          |
+-------------------------------------------------------------------------+

Chain Legend:
- P,X,C,Q,T,B: Live at mainnet launch
- A,Z: Experimental (A behind flag on mainnet, Z devnet-only)
- K,I: Specification phase, seeking RFC approval
- No T-Chain: P-Chain/X-Chain provide native multisig
- No Relayers: B-Chain validators handle cross-chain observation

Component LPs

Mainnet Chains (Live at Launch)

ChainDescriptionMultisig SupportStatus
P-ChainPlatform chain for validators, chains, stakingNative N-of-M multisig for governanceLive
X-ChainExchange chain for UTXO-based transfersNative UTXO multisigLive
C-ChainEVM-compatible contract chainSmart contract multisig (Gnosis Safe)Live
Q-ChainQuery/Index chainStandardLive
T-ChainThreshold signatures (ThresholdVM)MPC threshold signaturesLive
B-ChainBridge operations (BridgeVM)Decentralized cross-chainLive

Experimental Chains

ChainDescriptionAvailabilityStatus
A-ChainApplication chain (AIVM)Devnet default, Mainnet behind experimental flagExperimental
Z-ChainZero-Knowledge proofs chainDevnet onlyExperimental

Specification Phase (Seeking RFC)

LPChainDescriptionStatus
LP-0336K-ChainKeyManagementVM - ML-KEM post-quantum encryption, secrets managementRFC
TBDI-ChainDecentralized Identity chain (DID/Verifiable Credentials)RFC
LP-0325-HSM Integration (8 providers, PKCS#11)Draft

Teleport Bridge Chain Specifications

LPTitleDescriptionStatus
LP-0330T-Chain ThresholdVMAll MPC/threshold operations: DKG, signing (CGG21, FROST), resharing (LSS)Draft
LP-0331B-Chain BridgeVMBridge operations: deposits, withdrawals, cross-chain observation via validatorsDraft

Protocols

LPTitleDescriptionStatus
LP-0332Teleport ArchitectureComplete cross-chain bridge protocol specificationDraft
LP-0333LSS Dynamic RotationValidator-integrated signer rotation without key reconstructionDraft
LP-0334Per-Asset KeysIndependent threshold configurations per bridged assetDraft

Integration

LPTitleDescriptionStatus
LP-0335Smart Contract IntegrationBridge contracts (Vault, Router, Registry) with MPC signaturesDraft
LP-0339Security ProceduresOperational security, incident response, key rotationDraft
LP-0340Bridge SDKClient libraries for TypeScript, Go, and RustDraft
LP-0341Secrets ManagementDecentralized secrets management with HSMDraft

Architecture Notes

Multisig: Traditional n-of-m multisig is handled natively by P-Chain and X-Chain. For C-Chain, Gnosis Safe is the recommended approach. Threshold cryptography (where no single party holds the complete key) is provided by T-Chain.

Relayers: Bridge relayer functionality (external chain observation, fee funding, transaction execution) is fully integrated into B-Chain's BridgeVM via the RelayerRegistry. Relayers register with B-Chain and earn fees for executing cross-chain transactions.

Foundation LPs

LPTitleDescription
LP-13T-Chain MPC CustodyOriginal MPC custody and swap signature layer
LP-14CGG21 Threshold ECDSAUC non-interactive threshold ECDSA with identifiable aborts
LP-103LSS ProtocolLinear Secret Sharing with dynamic resharing
LP-104FROSTFlexible Round-Optimized Schnorr Threshold Signatures

Architecture Summary

T-Chain (ThresholdVM) - LP-0330

The T-Chain provides threshold cryptography services:

  • Algorithms: CGG21 (ECDSA), FROST (Schnorr/EdDSA), LSS (resharing), Ringtail (quantum-safe)
  • Key Management: Per-key threshold configuration, dynamic signer sets
  • Operations: DKG (KeyGenTx), signing (SignRequestTx/SignResponseTx), resharing (ReshareTx)
  • Security: Identifiable aborts, proactive refresh, Byzantine fault tolerance
// T-Chain managed key structure
type ManagedKey struct {
    KeyID        KeyID              // "eth-usdc", "btc-native"
    PublicKey    []byte             // Aggregated public key (constant across reshares)
    Algorithm    SignatureAlgorithm // CGG21, FROST_SCHNORR, FROST_EDDSA
    Threshold    uint32             // t: minimum signers required
    TotalParties uint32             // n: total parties holding shares
    PartyIDs     []party.ID         // Current signer set
    Generation   uint32             // Incremented on reshare
}

B-Chain (BridgeVM) - LP-0331

The B-Chain orchestrates cross-chain operations:

  • Operations: Deposits, withdrawals, cross-chain swaps
  • State Management: Pending transactions, confirmations, execution tracking
  • Chain Support: EVM (Ethereum, L2s), Bitcoin (Taproot), Cosmos (IBC)
  • Security: Multi-relayer observation, fraud proofs, daily limits
// B-Chain bridge state
type BridgeState struct {
    PendingDeposits    map[DepositID]*DepositRecord
    PendingWithdrawals map[WithdrawID]*WithdrawRecord
    PendingSwaps       map[SwapID]*SwapRecord
    AssetRegistry      map[AssetID]*AssetInfo
    ChainStates        map[uint64]*ChainState
}

Teleport Architecture - LP-0332

The unified protocol specification covers:

  • Deposit Flow: External chain deposit -> relayer observation -> B-Chain confirmation -> T-Chain signature -> C-Chain mint
  • Withdrawal Flow: C-Chain burn -> B-Chain request -> T-Chain signature -> external chain release
  • Cross-Chain Swaps: Atomic operations with signature coordination
  • Fee Distribution: Validator (50%), relayer (20%), treasury (20%), burn (10%)

Dynamic Signer Rotation - LP-0333

LSS-based rotation without key reconstruction:

  • Reshare Protocol: Old signers generate subshares for new signers using Lagrange interpolation
  • Generation Tracking: Monotonic generation numbers with atomic activation
  • Triggers: Validator changes, proactive refresh, emergency rotation
  • Rollback: Safe reversion to previous generation on failure
Generation 0: Parties A, B, C (2-of-3)
     |
     | ReshareTx(newParties=[A, B, D, E], threshold=3)
     v
Generation 1: Parties A, B, D, E (3-of-4)  <- Same public key!

Per-Asset Key Management - LP-0334

Independent threshold configurations:

Asset TierThresholdPartiesLatencyUse Case
Micro (<$1K)2-of-33<150msRetail payments
Small ($1K-$10K)2-of-33<200msStandard transactions
Medium ($10K-$100K)3-of-55<400msBusiness transactions
Large ($100K-$1M)4-of-77<600msInstitutional
Custody (Cold)7-of-1111<2sTreasury reserves

Smart Contract Integration - LP-0335

Five core contracts for on-chain bridge operations:

  1. BridgeVault: Asset custody with MPC signature verification (EIP-712)
  2. BridgeRouter: Transaction routing with fee calculation
  3. TokenRegistry: Cross-chain asset mapping
  4. BridgeGovernor: Timelocked parameter governance
  5. EmergencyBrake: Circuit breaker for security incidents

Network Configuration

Mainnet Deployment

ComponentEndpoint/AddressChain ID
LUX C-Chain RPChttps://api.lux.network/ext/bc/C/rpc96369
T-Chain RPChttps://api.lux.network/ext/bc/T/rpc-
B-Chain RPChttps://api.lux.network/ext/bc/B/rpc-
LUX Teleporter0x5B562e80A56b600d729371eB14fE3B83298D064296369
ETH Teleporter0xebD1Ee9BCAaeE50085077651c1a2dD452fc6b72e1
Base Teleporter0x37d9fB96722ebDDbC8000386564945864675099B8453
Arbitrum Teleporter0xA60429080752484044e529012aA46e1D691f50Ab42161

Testnet Deployment

ComponentEndpoint/AddressChain ID
LUX Testnet RPChttps://api-test.lux.network/ext/bc/C/rpc96368
T-Chain Testnethttps://api-test.lux.network/ext/bc/T/rpc-
B-Chain Testnethttps://api-test.lux.network/ext/bc/B/rpc-

Node Requirements

ComponentCPURAMStorageNetwork
Full Node8 cores32 GB500 GB NVMe100 Mbps
Validator/Signer16+ cores64 GB1 TB NVMe1 Gbps
HSM (mainnet)---Required

Configuration

{
  "network": {
    "chainId": "T",
    "rpcPort": 9630,
    "stakingPort": 9631
  },
  "mpc": {
    "threshold": 3,
    "totalParties": 5,
    "protocol": "cgg21",
    "refreshEpochBlocks": 43200
  },
  "keys": {
    "bridge-main": {
      "protocol": "lss",
      "threshold": 3,
      "parties": 5,
      "curve": "secp256k1"
    }
  }
}

Quick Start Guide

1. Running a Teleport Node

# Build the node
cd ~/work/lux/node
./scripts/build.sh

# Start with Teleport chains enabled
./build/luxd \
  --network-id=96369 \
  --vm-aliases='{"B":"bridgevm","T":"thresholdvm"}' \
  --threshold-config='{"threshold":3,"totalParties":5}' \
  --http-port=9630 \
  --staking-port=9631

2. Joining the Signer Committee

# Register as threshold signer
curl -X POST http://localhost:9630/ext/bc/T/rpc \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "threshold_joinCommittee",
    "params": {
      "partyId": 1,
      "stakeProof": "0x...",
      "publicKey": "0x..."
    }
  }'

3. Initiating a Bridge Transfer

import { BridgeRPCClient, ThresholdRPCClient } from '@luxfi/bridge-sdk';

const bridgeClient = new BridgeRPCClient({
  endpoint: 'http://localhost:9630/ext/bc/B/rpc',
});

// Deposit ETH to Lux
const { depositId } = await bridgeClient.initiateDeposit({
  token: '0x0000000000000000000000000000000000000000',
  amount: '1000000000000000000', // 1 ETH
  destChainId: '96369',
  recipient: '0x...',
});

// Monitor status
const status = await bridgeClient.getBridgeStatus(depositId);

4. Requesting a Threshold Signature

# Request signature from T-Chain
curl -X POST http://localhost:9630/ext/bc/T/rpc \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "threshold_sign",
    "params": {
      "keyId": "eth-usdc-bridge",
      "messageHash": "0x7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069",
      "messageType": "RAW_HASH",
      "deadline": 1000
    }
  }'

Repository Map

RepositoryDescriptionPath
github.com/luxfi/nodeT-Chain (ThresholdVM), B-Chain (BridgeVM) implementations~/work/lux/node
github.com/luxfi/bridgeBridge monorepo (SDK, relayer, UI)~/work/lux/bridge
github.com/luxfi/thresholdThreshold cryptography (CGG21, LSS, FROST, Ringtail)~/work/lux/threshold
github.com/luxfi/cryptoCore cryptographic primitives~/work/lux/crypto
github.com/luxfi/mpcMPC signer daemon and protocols~/work/lux/mpc
github.com/luxfi/sdkClient SDKs (TypeScript, Go)~/work/lux/sdk

Key Source Files

node/vms/thresholdvm/
├── vm.go                   # ThresholdVM implementation
├── state.go                # State management
├── tx/
│   ├── keygen.go           # KeyGenTx
│   ├── sign_request.go     # SignRequestTx
│   ├── reshare.go          # ReshareTx
│   └── ...
├── protocol/
│   ├── cggmp21/            # CGG21 implementation
│   ├── frost/              # FROST implementation
│   └── lss/                # LSS resharing

node/vms/bridgevm/
├── vm.go                   # BridgeVM implementation
├── state.go                # Bridge state
├── tx_deposit.go           # Deposit handling
├── tx_withdraw.go          # Withdrawal handling
└── watchers/
    ├── evm_watcher.go      # EVM chain observer
    └── btc_watcher.go      # Bitcoin observer

threshold/
├── protocols/cmp/          # CGG21 protocol
├── protocols/frost/        # FROST protocol
├── protocols/musig2/       # MuSig2 for Bitcoin
└── protocols/ringtail/     # Quantum-safe signatures

Roadmap

Phase 1: Specifications (Current)

  • T-Chain specification (LP-0330) - ThresholdVM
  • B-Chain specification (LP-0331) - BridgeVM
  • Teleport architecture (LP-0332)
  • LSS rotation protocol (LP-0333)
  • Per-asset key management (LP-0334)
  • Smart contract integration (LP-0335)
  • Security procedures (LP-0339)
  • Bridge SDK specification (LP-0340)
  • Secrets management (LP-0341)
  • K-Chain KMS specification (LP-0336) - RFC review
  • I-Chain DID specification - RFC pending

Phase 2: Mainnet Launch

Chains Live at Launch: P-Chain, X-Chain, C-Chain, Q-Chain, T-Chain, B-Chain

  • ThresholdVM implementation
  • BridgeVM implementation
  • CGG21 + LSS protocol integration
  • Bridge smart contracts deployment
  • SDK release (LP-0340)

Phase 3: Experimental Features

  • A-Chain (AIVM) - behind experimental flag on mainnet, default on devnet
  • Z-Chain (ZK) - devnet only initially
  • Ringtail quantum-safe signatures

Phase 4: RFC Implementations

  • K-Chain (KMS) - post RFC approval
  • I-Chain (DID) - post RFC approval
  • External security audits
  • Bug bounty program

Phase 5: Expansion

  • Cosmos IBC integration
  • Solana support
  • Cross-chain DEX aggregation
  • A-Chain graduation to mainnet default
  • Z-Chain graduation to mainnet

Glossary

TermDefinition
CGG21Canetti-Gennaro-Goldfeder-Makriyannis threshold ECDSA protocol with UC security and identifiable aborts
DKGDistributed Key Generation - protocol for creating shared keys without trusted dealer
FROSTFlexible Round-Optimized Schnorr Threshold signatures for EdDSA/Schnorr
GenerationVersion number of a threshold key's share distribution (increments on reshare)
LSSLinear Secret Sharing - resharing protocol enabling signer rotation without key reconstruction
MPCMulti-Party Computation - cryptographic techniques for distributed computation
ReshareProcess of redistributing key shares to new signer set while preserving public key
RingtailLattice-based post-quantum threshold signature scheme
T-ChainThreshold Chain - dedicated chain for threshold cryptography operations
B-ChainBridge Chain - dedicated chain for bridge operation coordination
Threshold (t)Minimum number of signers required to produce a valid signature
Total Parties (n)Total number of signers holding key shares
Warp MessageCross-chain message protocol within Lux Network

Security Model

Threat Model

Adversary Capabilities:

  • Can corrupt up to t-1 signer nodes
  • Can observe all network traffic
  • Can delay (but not drop) messages
  • Has full control over corrupted nodes

Security Goals:

  • Unforgeability: Cannot forge signatures without t shares
  • Key Secrecy: Cannot learn private key from fewer than t shares
  • Liveness: Protocol completes if t honest parties participate
  • Identifiable Abort: Misbehaving parties can be identified and slashed

Slashing Conditions

ViolationPenaltyEvidence
Invalid share10% stakeVSS verification failure
Commitment mismatch20% stakeCommitment != H(response)
Double signing50% stakeTwo valid shares for same session
Offline during session5% stakeNo response before deadline
Key material exposure100% stakeSignature analysis proof

Copyright and related rights waived via CC0.