HeldRelease

Escrow primitive: value held until condition preimage revealed or timeout

Society · Protocols · bootstrap 0.11.0

Mechanism

Value (UniqueHandle) held until condition met, released or returned on timeout. DEPOSIT: Party A sends value + condition_hash + timeout to escrow address. CLAIM: Party B submits condition_preimage; if hash(preimage) matches condition_hash, value releases to B. TIMEOUT: If timeout expires without valid claim, value returns to A. State transitions: EMPTY --deposit--> HELD --claim(valid)--> RELEASED_TO_B | --timeout--> RETURNED_TO_A. Primitives: hash CommitmentDevice (SHA256 pre-commitment locks the claim surface before the preimage exists), timelock (block height), 2-of-2 multisig or smart contract.

Invariants

Parameters

Failure modes

Where this came from

—

Builds on

Used by

Identity