jb55 on Nostr: fetching an invoice from a lightning address is a simple HTTPS call, fetching an ...
fetching an invoice from a lightning address is a simple HTTPS call, fetching an invoice from an offer requires you to connect to a lightning node directly.
luckily I have a library that does just that: https://github.com/jb55/lnsocket
but to do onion routing is non-trivial, so you would only be able to fetch direct-hop invoices atm.
luckily I have a library that does just that: https://github.com/jb55/lnsocket
but to do onion routing is non-trivial, so you would only be able to fetch direct-hop invoices atm.