Commit-and-Prove Fallback
Coordinate a cross-chain settlement by having both parties post commitments to a shared secret witness `C = Com(w)`. Each leg of the trade references `C`, so auditors can link the two legs after the fact and each chain can verify its side against the same binding commitment. Atomicity is conditional: both legs settle independently, but neither can claim to have settled against a different commitment than the other.
Coordinate a cross-chain settlement by having both parties post commitments to a shared secret witness C = Com(w). Each leg of the trade references C, so auditors can link the two legs after the fact and each chain can verify its side against the same binding commitment. Atomicity is conditional: both legs settle independently, but neither can claim to have settled against a different commitment than the other.
- Commitment scheme (hash-based or Pedersen) binds the shared witness
wto a public valueCthat both parties post. - Per-chain settlement contracts accept a settlement transaction that references
Cand verifies local conditions (asset transfer, payment). - Coordination layer (off-chain) holds the pre-image
w, sequences the two legs, and drives retry logic. - Timeout and refund paths on each chain allow a counterparty to reclaim funds if the other leg never posts within a deadline.
- Attestation log (optional) records the commitments and settlement events for later audit.
Guarantees:
- Both legs are cryptographically bound to the same witness, so neither party can claim settlement against a different trade.
- Each chain's finalization is independent, providing conditional atomicity: if both legs post before their timeouts, the trade is effectively atomic.
- Auditable commitments support post-hoc reconciliation.
Threat model:
- Soundness of the commitment scheme (binding property). A broken commitment allows a party to claim a different
wthan was agreed. - Non-censoring sequencer or validator set on both host chains during the settlement window. A censored leg triggers the refund path but breaks liveness.
- Honest off-chain coordination is assumed. Both parties must actually post their legs; dishonesty is mitigated only by timeouts, not by cross-chain enforcement.
- No cross-chain revert: once one leg finalizes, it cannot be rolled back. True all-or-nothing atomicity is out of scope and requires a different pattern.
- Slower than single-chain settlement; requires round-trips and retries.
- Meta-linkage risk: the shared
Cis visible on both chains and correlates otherwise-independent flows. - No built-in amount privacy. Each chain's leg reveals whatever the host protocol exposes.
- Refunds require reliable timeout handling on both sides; operational failures can strand funds until manual intervention.
- Two institutions agree off-chain on a bond-for-stablecoin trade and jointly generate witness
w. - The asset issuer locks the bond on the issuance chain with settlement bound to
C = Com(w). - The buyer locks the stablecoin on the payment chain with settlement bound to the same
C. - Both legs finalize independently within their timeout windows. An auditor later correlates the two legs via
C.