Hashed Timelock Contracts

Contract

Hashed Timelock Contracts (HTLCs) represent a cryptographic protocol enabling conditional payments between parties who may not initially trust each other, frequently utilized within cryptocurrency systems. These contracts leverage hash functions and time constraints to ensure funds are released only upon fulfillment of a specific condition, typically revealing a secret or providing proof of work within a defined timeframe. The core mechanism involves a sender creating two transactions: one paying the recipient directly, and another paying a refund address. This design facilitates atomic swaps and other trustless interactions across disparate blockchains.