I think I just updated lightning tools to be able to decode 0-amount invoices. What functions from lightning tools do you use in your app?
Just checked out the pay 0-amount invoices stuff (great work nostr:npub1zk6u7mxlflguqteghn8q7xtu47hyerruv6379c36l8lxzzr4x90q0gl6ef!). Would I be able to support this in my apps just by using lightning-tools 5.1.2? 😎
Discussion
Right now, I’m using LightningAddress in the Bullish Shop to fetch an invoice and check if it was paid: https://bullishspace.pages.dev/shop
But it seems like this 0-amount support is mainly for wallets and in the scenario where the merchant doesn’t know how to set an amount on an invoice yeah.
I am working on an NWC wallet where this might come in handy. 😎