You can think of one or many Cashu payments as a deferred Lightning payment. Especially useful for asynchronous transactions: A merchant can always accept ecash from any mint and, depending on their appetite, either swap out to mints they trust or to a non-custodial Lightning wallet when they come back online and need to process orders.

As a merchant, you can't get rugged if you never received the actual payment.

On the other hand, sellers can also define the mints they require a token to be from (Cashu payment requests contain this information). That way, the sender is expected to get ecash from a specific mint (typically using Lightning). These transactions are typically instant.

nostr:nevent1qqsfz5kw20ya4vp38qdzsd7fp0dltpthkazny96at6uvhmnlceh5gdqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczypzj80jc6w2mrvvk4xuvs2cr3d5ftjczk6papsjn492sdrd6r7kdqqcyqqqqqqg8uzy7e

Reply to this note

Please Login to reply.

Discussion

yeah the swap thing was an aha moment for me, if I can assert that cashu wallets have to use my preferred mint in a static payment request and the wallet does the swap, then thats fine for me.

do wallets implement the swap thing?

Yes, cashu.me has it as an experimental feature. It's been implemented in backends mostly. The upcoming BTCPayServer plugin by nostr:nprofile1qqsdmcml9nhl7q59zxm0t4xjx9zsryp3kxkqn7dvkazlszqg9psd5xgpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgqgjwaehxw309ac82unsd3jhqct89ejhxqgnwaehxw309aex2mrp09skymr99ehhyec7nx7m9 supports it.

yeah without that it forces me to attempt to melt to accept it, if I knew every token was from a mint I trust then I could accept payment even if the mint is down, since I trust it to come up again.

is it safe to do that with those proofs somehow?

😳😳😳

I need to put some of this into use! Looks great. Some sort of system to allow these SHOP pages to be embedded via a CNAME would be SUPER cool.