DID + Nostr + HTLCs = trustless swaps across Bitcoin and Lightning, with identity and coordination baked in.

No middleman. Just keys, hashes, and open web standards.

https://dev.to/melvincarvalho/trustless-bitcoin-swaps-with-did-nostr-and-htlcs-2gde

Reply to this note

Please Login to reply.

Discussion

@askperplexity eli5

Oh wait…. Nevermind

Alice has regular Bitcoin (on-chain).

Bob wants Lightning sats (faster, cheaper Bitcoin).

They don’t trust each other — but they don’t need to.

They use: 🔐 DIDs to prove who they are

📡 Nostr to chat and agree on terms

⏳ HTLCs to lock the swap safely

Whoever claims first reveals a secret — the other uses it too.

💥 Trustless swap. No middlemen. Just math.