Atomic Loans: Cryptocurrency Debt Instruments
Matthew Black, TingWei Liu, and Tony Cai
Develop with pleasure!
HTLCs Considered Harmful
by Dan Robinson
HTLC achieves atomic "swap" between pre-image and the locked state transition assuming ledger functionality
Therefore, HTLC realizes more general atomic swap by connecting to another atomic swap
Case 1: the off-chain asset is in real world (e.g. purchase at a cafe)
Connected atomic swap: a cup of coffee <-> pre-image
Atomicity based on human interaction (the merchant must verify the pre-image before giving the product)
> How about a purchase in e-commerce?
Case 2: the off-chain asset is an asset in another chain
Connected atomic swap: an asset (in another chain) <-> preimage
Based on another HTLC in the other chain (in a reverse direction)
Atomic cross-chain swap