What is Nostr?
jb55 / Will
npub1xts…kk5s
2024-08-01 01:36:38
in reply to nevent1q…34tr

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.
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s