Cross-Chain Atomic Swaps Atomic = either both sides settle or neither. Achieved via shared preimage (HTLC) or shared scalar (adaptor signature). HTLC-based swap (classic) For BTC ↔ LTC swap: 1. User generates preimage , hash . 2. User publishes BTC HTLC: . 3. LTC-side publishes LTC HTLC: . 4. User claims LTC HTLC (revealing P). 5. LTC-side uses P to claim BTC HTLC. Atomic: P revealed in one chain instantly enables claim on the other. Adaptor-signature swap (scriptless) Uses adaptor signatures (see ../../cryptography/adaptor-sigs/): - No HTLC scripts on chain — looks like ordinary tx. - Same s…