Cross-Chain Securities Bridge
SecurityBridge lock/mint and burn/release for moving security tokens between Lux chains, with compliance enforced at both ends.
LP-3102: Cross-Chain Securities Bridge
Abstract
This specification defines the SecurityBridge contract and cross-chain protocol for moving security tokens between Lux chains. Security tokens can be bridged between the C-Chain, a tenant L2, Zoo EVM, and any Lux L1 or L2 in the chain topology (LP-1340). The bridge enforces compliance on both source and destination chains. A venue that keeps its book off this chain is reached by the same shape, with an API where the Warp message would be.
Motivation
Security tokens issued on one Lux chain need to trade on others:
- Issued on C-Chain, traded on a tenant L2 an operator deploys and registers for
- Issued on C-Chain, traded on Zoo EVM (marketplace integration)
- Held on C-Chain, tradeable at a venue that keeps its own book off this chain
Without a bridge, each chain would need its own token with its own compliance registry, and balances would diverge. The bridge maintains a single logical token supply across all chains.
Bridge Pattern
Lock/Mint (Source → Destination)
Used when moving tokens from the chain where the token was originally deployed (the "home chain") to a remote chain.
Home Chain (C-Chain) Remote Chain (Tenant L2)
-------------------- -------------------------
1. User calls lock()
-> tokens transferred
to SecurityBridge contract
-> BridgeLock event emitted
2. Relayer verifies the lock
via Warp message
3. Relayer calls bridgeMint()
-> new tokens minted
to user on remote chain
-> BridgeMint event emitted
Burn/Release (Destination → Source)
Used when moving tokens back to the home chain.
Remote Chain (Tenant L2) Home Chain (C-Chain)
--------------------------- --------------------
1. User calls burn()
-> tokens burned on
remote chain
-> BridgeBurn event emitted
2. Relayer verifies the burn
via Warp message
3. Relayer calls bridgeRelease()
-> locked tokens released
to user on home chain
-> BridgeRelease event emitted
Invariant
At all times:
HomeChain.SecurityBridge.lockedBalance + sum(RemoteChain[i].SecurityToken.totalSupply)
== HomeChain.SecurityToken.totalSupply (at time of lock)
The bridge never creates or destroys net supply. Tokens are either locked on the home chain or minted on a remote chain. Never both.
Contract
The SecurityBridge contract (deployed per-token, per-chain):
contract SecurityBridge is AccessControl {
bytes32 public constant BRIDGE_ROLE = keccak256("BRIDGE_ROLE");
SecurityToken public immutable TOKEN;
mapping(bytes32 => bool) public processedNonces;
// Source chain operations (user-callable)
function lock(uint256 amount, uint256 destinationChainId, address destinationAddress) external;
function burn(uint256 amount, uint256 destinationChainId) external;
// Destination chain operations (bridge operator only)
function bridgeMint(address recipient, uint256 amount, uint256 sourceChainId, bytes32 nonce) external;
function bridgeRelease(address recipient, uint256 amount, uint256 sourceChainId, bytes32 nonce) external;
}
Nonce Deduplication
Every bridge operation generates a nonce:
bytes32 nonce = keccak256(abi.encodePacked(sender, amount, destinationChainId, block.timestamp, block.number));
The destination chain tracks processedNonces[nonce]. A nonce can only be processed once. This prevents replay attacks.
Role: BRIDGE_ROLE
The BRIDGE_ROLE authorizes bridgeMint() and bridgeRelease(). This role must be held by:
- An M-Chain MPC multisig (LP-7100) for production deployments — bridge custody of external wallets
- A Warp-verified relayer contract for automated bridging
A single EOA must never hold BRIDGE_ROLE in production.
Warp Messaging
Protocol
Lux Warp Messaging (LP-6602, precompile in LP-3512) provides native cross-chain communication between an L1 and its L2s. The bridge uses Warp for lock/mint and burn/release verification.
Message Flow
Source Chain Lux P-Chain Destination Chain
------------ ----------- -----------------
1. SecurityBridge.lock()
emits BridgeLock event
2. L1 / L2 validators sign
Warp message containing:
- sourceChainId
- destinationChainId
- sender
- recipient
- amount
- nonce
3. Warp message aggregated
(BLS signature threshold)
4. Relayer submits
Warp message to
destination chain
5. WarpMessenger precompile
verifies BLS signature
6. SecurityBridge.bridgeMint()
called with verified params
Warp Message Format
struct SecurityBridgeMessage {
bytes32 messageType; // keccak256("BRIDGE_LOCK") or keccak256("BRIDGE_BURN")
uint256 sourceChainId;
uint256 destinationChainId;
address sender;
address recipient;
uint256 amount;
bytes32 nonce;
address tokenAddress; // SecurityToken on source chain
}
Signature Threshold
Warp messages require a configurable BLS signature threshold from the source chain's validators. For security tokens:
- Minimum: 67% of source-chain stake weight (standard Warp threshold)
- Recommended: 80% for security tokens (higher assurance)
- Configurable per bridge deployment
Cross-Chain Flows
Zoo EVM ↔ Tenant L2 ↔ Lux C-Chain
Lux C-Chain (Home)
SecurityToken deployed here
SecurityBridge (lock/release)
|
Warp Messaging
|
+----------+----------+
| |
Tenant L2 Zoo EVM
SecurityToken SecurityToken
(bridge-minted) (bridge-minted)
SecurityBridge SecurityBridge
(burn/mint) (burn/mint)
compliance hook compliance hook
(DEX trading) (marketplace)
C-Chain → Tenant L2:
- User locks 1000 ACME on C-Chain SecurityBridge
- Warp message signed by C-Chain validators
- Tenant L2 relayer verifies and calls
bridgeMint(user, 1000, cChainId, nonce) - User now has 1000 ACME on Tenant L2, tradeable on the DEX with the compliance hook
Tenant L2 → Zoo EVM:
- User burns 500 ACME on Tenant L2 SecurityBridge (destination: Zoo EVM)
- This is a hop, not a release back to C-Chain. Implementation:
- Tenant L2 bridge burns 500
- C-Chain bridge receives the Warp message, releases 500 to itself, then locks 500 for Zoo EVM
- Zoo EVM bridge mints 500
- This two-hop pattern ensures the C-Chain invariant holds
Direct chain-to-chain bridging (L1 ↔ L2 without a C-Chain hop) is possible when both chains trust each other's validator set directly. This requires explicit opt-in via bridge configuration.
Chain IDs
| Chain | Chain ID | Purpose |
|---|---|---|
| Lux C-Chain | 96369 | Home chain for most security tokens |
| Tenant L2 (regulated EVM) | Per deployment | Compliance-enforced trading under the operator's own registration |
| Zoo EVM | 200200 | NFT marketplace, DeSci |
Compliance on Bridge
Compliance is enforced at both ends.
Source chain (lock/burn): lock() calls TOKEN.safeTransferFrom(), which triggers SecurityToken._update(), which calls ComplianceRegistry.canTransfer(). If the sender is not compliant, the lock reverts.
Destination chain (mint/release): bridgeMint() calls TOKEN.mint(), which bypasses compliance (minting is issuer-controlled). However, the recipient must be whitelisted on the destination chain's ComplianceRegistry to subsequently trade. The bridge operator (MPC multisig) should verify destination compliance before executing the mint.
Compliance registry synchronization:
- Each chain maintains its own
ComplianceRegistry - The compliance service (
lux/compliance) synchronizes whitelist status across chains - Synchronization uses the same Warp messaging channel
- If a user is blacklisted on one chain, the blacklist propagates to all chains
Corridor to an off-chain venue
A venue that keeps its book somewhere other than a chain cannot be reached by a Warp message, because there is no validator set at the far end to sign one. It can be reached by an API, and the lock/release shape survives the change of transport: the token is immobilised here for as long as the position stands there, and released here when that position is extinguished.
A venue's registration belongs to the venue. A firm running a registered alternative trading system holds that registration for its own account, and a corridor that reaches it confers nothing on either end. This specification claims no agreement with any such firm, and no corridor of this kind is live. Which venues an interface may reach, and the policy that onboards, audits and removes one, is LP-3112.
Shape
Lux C-Chain Off-chain venue
----------- ---------------
SecurityToken the position on its book
SecurityBridge.lock() venue credits the holder
| |
+--- REST/webhook API ----------+
| |
SecurityBridge.bridgeRelease() venue debits the holder
Chain to venue. The holder locks tokens on SecurityBridge, addressed to the venue's routing identifier. The lock event triggers the outbound webhook. The venue credits the holder's position, and the tokens stay locked for as long as it stands.
Venue to chain. The holder withdraws at the venue. The venue debits the position and calls the inbound webhook. The bridge service, holding BRIDGE_ROLE through the MPC threshold set, calls SecurityBridge.bridgeRelease(), and the tokens land at the holder's own address.
The invariant above is unchanged by the detour: a position on the venue's book stands against tokens locked here, so nothing is minted twice and nothing is spendable in two places.
Routing identifier
A venue reached this way is addressed by a reserved value in the destinationChainId position. It is not a chain identifier. Nothing at the far end has a validator set, and no Warp message is produced or verified — the value exists so the bridge service can tell that the destination is a venue rather than another Lux chain. The concrete value is assigned at integration time and recorded in the bridge deployment configuration.
Settlement timing
| Direction | Latency | What sets it |
|---|---|---|
| Chain to venue | < 5 minutes | The lock is immediate; the credit waits on webhook processing |
| Venue to chain | < 5 minutes | Debit, webhook, and the bridgeRelease transaction |
| Lux to Lux | < 30 seconds | Warp propagation and finality |
Webhook authentication
Every message across this corridor, in either direction, and every message on the register interface in LP-3100:
- HMAC-SHA256 over the timestamp and the body, keyed by a per-integration secret held in Lux KMS
- Timestamp checked against a five-minute window
- Idempotency key, so a redelivery settles nothing twice
- TLS 1.3 minimum
X-Signature: HMAC-SHA256(secret, timestamp + "." + body)
X-Timestamp: 1711100400
X-Idempotency-Key: uuid-v4
A message that fails any of these is dropped rather than retried locally. Only the far side knows whether the position moved, so a message this side cannot authenticate is one it must not act on.
Bridge Operator
MPC Multisig
The bridge operator for production deployments is an M-Chain MPC multisig (LP-7100) hosting MPC ceremonies for bridge custody of external wallets (BTC, ETH, SOL, and others):
- Threshold: 3-of-5 signers minimum for security token bridges
- Key rotation: Quarterly, via DKG resharing (LP-7323)
- Per-asset keys: Each security token bridge uses a dedicated MPC key group (LP-4740)
- Hardware backing: At least 2 of 5 signers use HSM-backed keys
Relayer Architecture
Warp Message (BLS signed)
|
v
+-------------------+
| Bridge Relayer |
| (Go service) |
| |
| 1. Verify Warp msg |
| 2. Decode params |
| 3. Check compliance|
| 4. Submit to MPC |
+-------------------+
|
v
+-------------------+
| M-Chain MPC |
| (threshold sign) |
| |
| 5. Sign bridgeMint |
| transaction |
+-------------------+
|
v
+-------------------+
| Destination Chain |
| SecurityBridge |
| |
| 6. bridgeMint() |
+-------------------+
The relayer is a stateless Go service that:
- Watches for Warp messages on source chains
- Verifies BLS signature threshold
- Checks compliance on destination chain (pre-flight)
- Submits the mint/release request to the MPC signing cluster
- Broadcasts the signed transaction to the destination chain
Emergency Procedures
Pause
Both the SecurityToken and SecurityBridge can be paused independently:
SecurityToken.pause()halts all transfers including bridge operations- Bridge-specific pause is achieved by revoking
BRIDGE_ROLEfrom the operator
Stuck Funds
If tokens are locked on the home chain but the destination chain fails to mint:
- The lock event and nonce are recorded on-chain
- After a timeout (configurable, default 24 hours), admin can call a recovery function to release locked tokens back to the sender
- Recovery requires
DEFAULT_ADMIN_ROLE(multisig)
Chain Halt
If a destination chain halts:
- Lock operations on the home chain continue to work (tokens accumulate in the bridge)
- No mints occur on the halted chain
- When the chain resumes, the relayer processes the backlog in order
- Nonce deduplication prevents double-minting
Gas Costs
| Operation | Chain | Estimated Gas |
|---|---|---|
lock() | Home chain | ~65,000 (transfer + event) |
burn() | Remote chain | ~45,000 (burn + event) |
bridgeMint() | Remote chain | ~55,000 (mint + nonce check + event) |
bridgeRelease() | Home chain | ~50,000 (transfer + nonce check + event) |
Compliance checks in lock() add ~8,000-15,000 gas (via SecurityToken._update).
Security Considerations
-
Nonce replay: Each nonce can only be processed once. The nonce includes
block.timestampandblock.number, making it unique per-block. Two locks in the same block from the same sender for the same amount produce different nonces due to different call positions. -
Warp signature verification: The destination chain verifies the BLS aggregate signature against the source chain's registered validator set on the P-Chain. A compromised minority of validators cannot produce a valid Warp message (67% threshold minimum).
-
MPC key compromise: If the MPC signing threshold is compromised, the attacker can mint tokens on destination chains. Mitigation: per-asset key groups, HSM backing, quarterly rotation, real-time monitoring of bridge events.
-
Compliance desynchronization: If chain A whitelists a user and chain B has not synced yet, the user can lock on A but cannot trade on B. This is a liveness issue, not a safety issue — compliance sync latency is the bottleneck. The compliance service targets < 30 second sync across chains.
-
Double-spend via reorg: If the source chain reorgs after a lock is processed, the destination chain has already minted. Mitigation: wait for finality before processing (Lux finality is 1ms, so reorgs are practically impossible under normal conditions).
-
Token supply audit: The bridge invariant (locked + remote supply = home supply) must be auditable. Both the home chain bridge balance and remote chain total supply are public on-chain state. An automated monitor verifies the invariant every block.
-
The off-chain corridor is attested, not proved: a Warp message is verified against a validator set; a webhook is verified against a shared secret. Anyone holding that secret can assert a position was extinguished and cause a release. The secret is a bridge key in everything but name — hold it in Lux KMS, rotate it on the schedule the MPC key material is rotated on (LP-7323), and reconcile releases attributed to it against the locked balance rather than trusting the count.
Reference
| Resource | Location |
|---|---|
| SecurityBridge contract | github.com/luxfi/standard/contracts/securities/bridge/SecurityBridge.sol |
| Warp cross-chain messaging | LP-6602 (protocol) · LP-3512 (precompile) |
| M-Chain MPC ceremonies | LP-7100 |
| Bridge SDK | LP-6340 |
| Digital Securities Standard | LP-3100 |
| Venue evaluation and audit | LP-3112 |
Copyright
Copyright (c) 2026 Lux Industries Inc. All rights reserved.
Licensed under the MIT License.