Hash Time-Lock Contracts

Mechanism

Hash Time-Lock Contracts function as a cryptographic primitive that enforces conditional payments on a distributed ledger through hash-based verification and temporal constraints. By requiring a preimage to a specific hash value, the protocol ensures that funds remain locked until a designated party provides the correct secret. This structure effectively mitigates counterparty risk by mandating that a transaction must be completed within a defined timeframe or automatically reverted to the original sender.