Hybrid Public-Private Modes
Allow institutions to select public or private execution mode on a per-transaction or per-counterparty basis, optimizing for cost, latency, and confidentiality requirements. This enables hybrid workflows where some legs execute transparently on public infrastructure while others use privacy-preserving mechanisms, with atomic cross-mode settlement.
Allow institutions to select public or private execution mode on a per-transaction or per-counterparty basis, optimizing for cost, latency, and confidentiality requirements. This enables hybrid workflows where some legs execute transparently on public infrastructure while others use privacy-preserving mechanisms, with atomic cross-mode settlement.
- Public execution environment is an L1 or transparent L2 chain where amounts, counterparties, and timing are visible.
- Private execution environment is a privacy L2 or shielded pool where amounts and counterparties are hidden behind ZK commitments or FHE ciphertexts.
- Mode-routing layer is a smart contract or middleware that directs each transaction leg based on policy rules.
- Policy engine defines mode-selection criteria: counterparty whitelist, asset thresholds, jurisdiction-based rules.
- Cross-mode settlement coordinator uses ERC-7573 outcome keys or shared commitments to link a public leg and a private leg into one atomic trade.
- View-key infrastructure issues selective-disclosure artifacts from private legs to counterparties and regulators.
Guarantees:
- Mode-specific privacy. Public-mode legs reveal amounts, counterparties, and timing; private-mode legs hide amounts or counterparties and disclose selectively via view keys.
- Atomic cross-mode settlement. ERC-7573 outcome keys or shared commitments ensure either both legs succeed or both fail.
- Selective auditability. Regulators verify private legs through view keys without accessing the privacy pool's full state.
- Compliance continuity. Permissioned-token transfer rules apply regardless of execution mode, so eligibility checks hold on both public and private legs.
Threat model:
- Non-compromised policy engine. A tampered engine can route sensitive transactions to public mode.
- Honest cross-mode settlement oracle. A compromised oracle can withhold outcome keys to grief one of the legs.
- Non-censoring sequencer set on the privacy L2 (or forced-withdrawal fallback on the shielded pool).
- Out of scope: metadata correlation across modes. Timing and transaction-size correlation between the public and private legs can re-link counterparties even without direct leakage.
- Metadata leakage. Mode selection itself reveals information: choosing private signals sensitivity. Timing correlation between legs may link transactions.
- Operational complexity. Dual infrastructure requires expertise in both transparent and privacy systems; failure modes multiply.
- Cost asymmetry. Private execution incurs zero-knowledge proof generation costs; public execution is cheaper but exposes data. Mixed-mode trades pay both overheads.
- Tooling maturity. Cross-mode settlement is less battle-tested than single-environment flows. Limited production deployments exist.
- Policy drift risk. Rules must stay synchronized across systems; misconfigurations can route sensitive transactions to public mode.
A bank sells a tokenized bond (public asset leg on L1) to a counterparty for a stablecoin payment (private cash leg on a privacy L2). The policy engine assigns the bond transfer to public execution (the asset is already public, no sensitivity) and the cash payment to private execution (amount confidentiality required). The seller locks the bond in an ERC-7573 contract on L1. The buyer shields the stablecoin on the privacy L2 and executes the private payment referencing trade ID T. An oracle confirms private payment success and releases the outcome key. The L1 contract delivers the bond to the buyer. The regulator receives the buyer's view key for the cash leg.