Playing around with Nutjar is just too much fun! Here is the most minimal example of a Lightning donation page: image Code:
I have modularized the transport layer in nutjar.js so that you can now choose a different one, or implement the transport yourself! If you don't want to receive Nutzaps, but instead a token via DM, the Nip17Transport is what you are looking for: image
Getting breakfast for the family hits differently here… Yesterday I wrote some code and got zapped. Today I spent it on breakfast. Nostr literally paid for my wife’s croissant 🤯 let that sink in 🔥
Alright, couple of fixes later the nutjar.js demo page is deployed: Nutjar.js is a library that wraps cashu and nostr in order to enable anyone to receive Lightning tips on the interwebs, without ANY setup or registration. Permissionless and censorship resistant. The demo's code can be found on GitHub, but here is the core piece of code: image
Getting donations online has never been easier... 🥜 🤯 image
Oh, that’s a new ATH, isn’t it?
Don’t you dare to forget about Ross!!
Can someone please fix airline booking systems? I have been in hotlines for 2 hours now trying to rebook a single flight… 🤯