Cross-Chain Private Transfers
Shielded pools supply the privacy and the bridge supplies the movement — a user deposits into a pool on the source chain and withdraws from a pool on the destination, while the cross-chain message carries only a commitment proof and a nullifier
Abstract
Cross-chain private transfers are a composition, not a new primitive. Z-Chain shielded pools (LP-8010, LP-9404) provide the privacy; B-Chain cross-chain messaging (LP-6000, Warp per LP-6602) moves the commitment. A user deposits into a shielded pool on the source chain and withdraws from a corresponding pool on the destination chain; the cross-chain message carries only the commitment proof and the nullifier — no amounts, no senders, no receivers.
This path is ZK-shielded, not FHE. The FHE-private compute path is F-Chain (LP-8200).
Specification
Protocol flow
Source Chain Destination Chain
1. User deposits into ShieldedPool
2. Pool emits commitment event
3. Warp message: {root, nullifier, ----> 4. DestPool verifies Warp signature
proof, destChain, recipient_hash} 5. DestPool verifies ZK proof
6. DestPool releases funds to recipient
Warp message format
| Field | Type | Description |
|---|---|---|
sourceChainID | bytes32 | Origin chain identifier |
sourcePool | address | ShieldedPool address on the source chain |
merkleRoot | bytes32 | Commitment tree root at proof time |
nullifierHash | bytes32 | Nullifier preventing double spend |
proof | bytes | ZK proof of a valid deposit on the source chain |
recipientHash | bytes32 | Poseidon2 hash of the recipient address, not the plaintext |
Liquidity
Each chain maintains a ShieldedPool funded by liquidity providers.
Providers deposit into destination pools and earn fees from private transfer
volume. Pool balances are public in aggregate, but individual deposit and
withdrawal links stay hidden.
Cross-chain nullifier uniqueness
Nullifiers must be globally unique across chains. Each chain keeps a nullifier registry, and the source chain ID enters the derivation:
nullifier = Poseidon2(commitment || spending_key || sourceChainID)
Warp-relayed nullifiers are checked on the destination chain before funds are released.
Security Considerations
- The Warp message reveals the source and destination chains, and nothing else — not the sender, the receiver, or the amount.
- The recipient hash prevents front-running: only the intended recipient can claim.
- Pool size on the destination chain determines the anonymity set. A private transfer into a nearly empty pool is not private.
- Cross-chain replay is prevented structurally, by including the source chain ID in the nullifier derivation.
Reference
| Resource | Location |
|---|---|
PrivateTeleport contract | github.com/luxfi/standard/contracts/privacy/PrivateTeleport.sol |
| Warp messaging | github.com/luxfi/evm/warp/ |
ShieldedPool | github.com/luxfi/standard/contracts/privacy/ShieldedPool.sol |
Copyright
Copyright and related rights waived via CC0.