Why Nostr? What is Njump?
earthcuddle
npub19vw…m7ps
2024-03-21 18:18:16
in reply to nevent1q…4fr8

earthcuddle on Nostr: Pay ln invoice to receive ecash. Can that be made atomic with PTLCs? Instead of hash ...

Pay ln invoice to receive ecash. Can that be made atomic with PTLCs? Instead of hash preimage buy a private key as the proof of payment. If the mint pre-commits to the (blind) signature nonce R (similar to DLCs) the lightning invoice could use s*G as the point to pay to. The payer would verify that this point is hash(R,msg)*P+R to know that the proof of payment will actually be the expected ecash (signature)
Author Public Key
npub19vw7zdr07yyhdw8ns3d26c26n70mh2090d4cr6m24c8ee8wjpq0qg0m7ps