concept

Hash Time Locked Contracts

Hash Time Locked Contracts (HTLCs) are a cryptographic protocol used primarily in blockchain networks to enable conditional payments and atomic swaps. They involve a hash lock, which requires revealing a secret to unlock funds, and a time lock, which sets an expiration for the transaction. This mechanism ensures that payments are either completed securely or refunded, facilitating trustless cross-chain or off-chain transactions.

Also known as: HTLC, Hash Timelock Contracts, Hash-Locked Contracts, Time-Locked Hash Contracts, Atomic Swap Contracts
🧊Why learn Hash Time Locked Contracts?

Developers should learn HTLCs when working on blockchain applications that require secure, trustless exchanges, such as cross-chain atomic swaps, payment channels in Lightning Network, or escrow services. They are essential for implementing interoperability between different cryptocurrencies and enabling scalable off-chain solutions, reducing transaction costs and latency on main blockchains.

Compare Hash Time Locked Contracts

Learning Resources

Related Tools

Alternatives to Hash Time Locked Contracts