For institutional bond settlement among known counterparties, Escrow with Dual Approval is the default: it matches the human-in-the-loop nature of traditional settlement, accommodates compliance and operational checks before release, and provides an explicit dispute path that legal review can rely on. HTLC suits trustless contexts (cross-chain atomic swaps, dealer-to-dealer settlement with no prior relationship) but exposes a free-option problem that institutional desks penalize. Oracle-based settlement is suited for event-driven flows (derivatives expiry, cross-network DvP via ERC-7573) where the trigger is external; the operational burden is the oracle governance rather than the contract itself.

HTLC is the simplest contract surface but the trickiest to parameterize: T2 < T1 with margins for network congestion is load-bearing, and incident response on a stalled leg has no recovery path beyond timeout. Escrow contracts are larger but easier to reason about: deposit, verify, release, refund, with clear state machines for each branch. Oracle-based settlement adds the oracle-integration surface (push vs pull, single vs quorum, fallback semantics) and inherits the attestation infrastructure's failure modes. Cross-network atomicity is the open frontier: ERC-7573 is the working draft, but trustless cross-chain DvP remains unresolved.

This is a perspective for legal review by the deploying institution, not legal advice. HTLC has a deterministic outcome (preimage revealed or timeout) that can be documented precisely; whether that documentation suffices for a specific dispute regime is for legal review. Escrow with a named arbitrator references existing arbitration frameworks (LCIA, ICC); whether the chosen framework binds in cross-border settlement is a question for counsel. Oracle-based settlement raises a classification question about the oracle's role (data provider, attestation issuer, fiduciary?) and the audit access to its evidence trail. For each option, the dispute and recovery path (timeout refund, arbitrator decision, oracle non-response, escrow bug) would need to be modelled explicitly under the applicable law.

Requirements

  • Both legs complete atomically or neither does; no partial settlement
  • Counterparty risk is structurally eliminated (assets in escrow, not held by the other party)
  • Deterministic conditions and timeouts; clear failure semantics for legal review
  • Composable with EIP-6123 derivative lifecycle and ERC-3643 securities

Constraints

  • Single-network atomicity is inherent in transaction execution; cross-network atomicity requires trusted intermediaries or oracles
  • Capital is locked during the settlement window; lockup duration is a design parameter
  • Escrow contracts are practically immutable in production; upgrades imply migration

Architectural options

Hash Time-Locked Contracts (HTLC)

prototyped

Payment and asset are each locked to a hash; revealing the preimage releases both legs.

How it works

The seller generates secret S and shares H(S). The buyer locks payment with H(S) and timeout T1; the seller locks the asset with H(S) and timeout T2 < T1. The seller reveals S to claim payment, which makes S public; the buyer uses S to claim the asset before T1. If S is never revealed, both sides refund at their respective timeouts.

Trust assumptions
  • Hash function preimage resistance
  • L1 (or L2) consensus for transaction inclusion within timeout windows
  • No trusted third party
Threat model
  • Network congestion at the timeout boundary can strand a leg
  • T2 < T1 ordering must hold; mis-parameterization breaks atomicity
  • Free-option problem: the holder of S chooses whether to reveal, which has implicit option value
Works best when
  • Counterparties are unknown or untrusted
  • Single-network atomic swaps where capital lockup is acceptable
  • Cross-chain atomic swaps where each chain supports HTLC
Avoid when
  • Free-option exposure must be eliminated (use escrow instead)
  • Assets do not tolerate the lockup window required by safe timeout margins

Escrow with Dual Approval

prototyped

Both legs are deposited to an escrow contract; release requires approvals from both parties or, on dispute, an arbitrator decision.

How it works

The escrow holds both legs atomically. After deposits and off-chain or oracle-attested condition verification, both parties sign a release transaction; the escrow atomically swaps the legs. A configurable dispute window allows arbitration before final release.

Trust assumptions
  • Escrow contract correctness (audited, ideally formally verified)
  • Arbitrator (if invoked) is trusted by both parties
  • Oracle correctness if external conditions gate release
Threat model
  • Counterparty refuses to sign release; recovery via arbitrator or timeout
  • Arbitrator collusion or compromise distorts disputed releases
  • Escrow bug results in asset loss; mitigated by audits and insurance
Works best when
  • Known counterparties with established legal relationships
  • Settlement involves human-in-the-loop conditions or off-chain verification
  • Dispute-resolution paths must be explicit for legal review
Avoid when
  • Trustless settlement is required and arbitrator dependency is unacceptable
  • Settlement must be sub-second; arbitration adds latency

Conditional Transfer with Oracle

prototyped

Asset and payment are locked; an oracle attests to an external condition; attestation triggers atomic settlement.

How it works

Both legs are deposited into escrow with a condition predicate (price bound, regulatory event, payment confirmation). An oracle monitors the condition and submits an attestation when it is met; the escrow validates the attestation and executes the atomic swap. A fallback path handles oracle non-response.

Trust assumptions
  • Oracle integrity (single oracle or quorum, depending on design)
  • Condition specification is unambiguous and enforceable
  • Fallback path is funded and reachable
Threat model
  • Oracle compromise or compelled disclosure misroutes settlement
  • Condition ambiguity drives disputes; mitigated by precise specification and arbitration
  • Oracle outage blocks settlement; mitigated by multi-oracle quorum and manual fallback
Works best when
  • Settlement is event-driven (derivatives expiry, cross-network payment confirmation)
  • Cross-network DvP is needed and ERC-7573 oracle is acceptable
  • Condition can be expressed as a verifiable attestation
Avoid when
  • Trusted oracle is incompatible with the threat model
  • Conditions cannot be specified precisely enough for unambiguous attestation
Implementation notes

PoC at TEE+ZK Cross-Chain Swap implements the oracle-attested variant where a TEE coordinator stands in for the oracle, generates a zero-knowledge proof of correct execution, and reveals stealth keys on success. See Approach: Private Trade Settlement, TEE+ZK Coordination for the same primitive in cross-network context. Common escrow-condition shapes:

Class Example
Time-based Settlement date (T+2 bond settlement); lock period (vesting); expiry (failed-trade cleanup)
Event-based Payment finality confirmation; regulatory approval; multi-sig threshold approval
Value-based Price-bound limit orders; collateral-ratio margin calls; net settlement against batched obligations

For derivative contracts using EIP-6123 lifecycle management, the DvP integration maps onto each lifecycle event:

EIP-6123 lifecycle event DvP integration
Trade confirmation Lock initial margin in escrow
Valuation update Adjust escrow based on mark-to-market
Margin call Conditional release requires margin top-up
Settlement Final exchange of payment vs position closure
Early termination Escrow handles close-out netting

Side-by-side

Axis HTLC Escrow with Dual Approval Conditional Transfer with Oracle
Maturity prototyped prototyped prototyped
Context i2i i2i i2i
Trust model Trustless (hash + timeout) Counterparties + arbitrator Oracle
Privacy scope Public escrow contract; preimage and timing visible Public escrow; party identities visible Public escrow + oracle attestation
Performance Two transactions per leg Deposit + dual signature + release Deposit + attestation + release
Operator req. None Arbitrator on dispute Oracle (single or quorum)
Cost class Low Medium (dispute path) Medium (oracle infra)
Regulatory fit Strong for trustless contexts Strong with named arbitrator Conditional on oracle governance
Failure modes Network congestion at timeout; free-option Counterparty stalls; arbitrator compromise Oracle outage or compromise

Decision factors

  • If counterparties are unknown or trust is structurally absent, choose HTLC and accept the free-option exposure.
  • If settlement is event-driven and the trigger is external (derivatives expiry, cross-network payment), choose Conditional Transfer with Oracle, ideally via ERC-7573.
  • If cross-network atomicity is required, plan to compose HTLC or Oracle-based settlement with ERC-7573 coordination; trustless cross-chain DvP remains an open problem.

Hybrid composition

Bond DvP can run primary settlement through Escrow with Dual Approval and fall back to a timed unilateral refund path on counterparty non-response, with an oracle attesting to payment finality on an external rail. Derivatives lifecycle (EIP-6123) calls into the same escrow for margin lock and final settlement, with the oracle gating margin calls and termination events.

Open questions
  1. Trustless cross-network DvP. Without a trusted oracle or intermediary, cross-chain atomicity is unsolved; ERC-7573 acknowledges this as an open problem.
  2. Free-option pricing. HTLC's free-option problem is well-known but underpriced in institutional contexts; how should it be hedged or contractually offset?
  3. Oracle governance for institutional DvP. What governance model satisfies regulator audit expectations for ERC-7573 oracles?
  4. Privacy of escrow state. Standard escrow contracts publish trade IDs and party identities; privacy-preserving DvP requires composing with shielded pools or Commit and Prove.
  5. Settlement-window calibration. Network congestion margins for HTLC timeouts and escrow dispute windows are deployment-specific; no canonical guidance.

Referenced by

Last reviewed