[[P2P Atomic Swap]]
Alice has BSV. Bob has ANNE.
Alice locks her BSV in a transaction that effectively says:
Bob can claim this if the correct secret is revealed before the deadline. Otherwise Alice gets it back.
Bob sees that lock and creates the corresponding [[ANNE]]-side lock.
Then once the secret is revealed to complete one side, it becomes available to complete the other side too.
That gives you the beautiful property:
successful trade:
Alice gets ANNE + Bob gets BSV
failed trade:
Alice eventually gets BSV back + Bob eventually gets ANNE back
rather than:
failed centralized escrow:
someone is emailing support asking where their money went 😂