Can you direct me to any resource/examples of how I might start to implement a cashu payment with an HTTP request?
Coinbase jumped on the 402 bandwagon... yay!
When I talk to people about Cashu they usually ask me: "Why do we need Cashu? We got Bitcoin and Lightning". I used to tell them that Cashu offers a great alternative to custodial Lightning, but with better privacy. While this remains true, my answer today is that Cashu enables new use cases (or simplifies them drastically) where Lightning and Bitcoin struggle.
One example are Zaps. NIP-61 Zaps offer a very similar experience and value proposition as NIP-57 Zaps do, but require only a fraction of the implementation overhead.
The second example (and inspiration for this post) is HTTP 402. With Cashu, we can streamline payments for requested ressources into a single request. Because Cashu is a bearer asset the whole flow is pretty stateless. It is stupid simple to implement this. While it is definitely possible to make 402 work with other "assets", using Bitcoin / Cashu makes it a breez.
This is my favourite thing about Cashu.
https://blossom.primal.net/b0798bba893532f8eea97928c329a7a78a94f866dd3b71949f32a805198d1752.mov
Discussion
Sure!
Spec: https://github.com/cashubtc/nuts/pull/239
Very basic server example: https://github.com/Egge21M/cashu402
Thx brah!!
Since I started following my manager's new trading plan, I've seen a significant improvement in my financial situation. I'm truly grateful for the support I'm receiving—earning $150,000 as a beginner in crypto trading is a huge milestone. If you're looking to get started, I highly recommend reaching out to Mrs. Susan. You can contact her via email at susandemorirs@gmail.com or on WhatsApp at +1 (472) 218-4301