Send AERE through a router using a shared hashlock. The router opens a paired HTLC to the recipient with a shorter timeout. Recipient reveals the preimage to claim; the router uses the same preimage to pull from your HTLC. Atomic, if the recipient never claims, both HTLCs refund.
Ask the recipient to switch to "I want to RECEIVE" above and send you their hashlock. They keep the preimage private.
Send them the out-HTLC id from step 3. They'll claim it with their preimage. The router automatically pulls your in-HTLC after they claim.
Keep the preimage private. Send only the hashlock to the sender.
Copy the hashlock above and send it to whoever's paying you (any messenger). They give it to the router along with your address.
Sender Router Recipient
│ open in-HTLC, lock X │ │
│ hashlock=H, timeout=T+δ │ │
├──────────────────────────▶ │ │
│ │ open out-HTLC, lock X-fee│
│ │ hashlock=H, timeout=T │
│ ├──────────────────────────▶ │
│ │ reveal preimage, │
│ │ claim X-fee │
│ │ ◀──────────────────────────┤
│ router uses preimage │ │
│ to claim X from in-HTLC │ │
│ ◀──────────────────────────┤ │
If the recipient never claims, both HTLCs eventually refund. The router's outgoing timeout is shorter than the incoming, guaranteeing the router can always pull the in-HTLC after the recipient claims out, even if the recipient stalls until the very last second.