HTLC lock output
Every deposit locks funds to a unique Taproot output with three script leaves:secretHashis double SHA-256 of the 32-byte secret.- The internal key may be a NUMS point or a resolver-selected key, per source.
- The resolver returns the refund and fast-refund control blocks to Utexo and keeps the withdraw control block internally.
Deposit transaction
Intent tagging
Every deposit contains anOP_RETURN output that tags the intent:
PSBT inputs
Outputs
Spend paths
Key-spend path
Used for deposit input signing, fulfillment, and native transfers. Witness:Resolver withdraw (script-path)
Witness:Fast refund (script-path)
Cooperative script-path spend co-signed by the protocol and the resolver.Timelock refund
Script-path refund afterdeadline.
The source does not document the final witness stack for the timelock refund path. Confirm with the current implementation before constructing this witness.
Fee model
The resolver computes fees from a header plus per-input and per-output costs:3 sat/vB.