pull down to refresh
57 sats \ 2 replies \ @k00b 13h \ parent \ on: Stacker Saloon
It looks like their expirations are exactly five minutes. We should be able to accommodate that. I'll fix it today.
ok thanks 🥺
I didn't even know ln-urls have full invoices and expiration times in the background before you explained it to me recently
reply
Yeah it's pretty cool how they work.
- I have an old zbd account from '21 with a lnaddr of
k00b@zbd.gg
- applications go to
https://<domain>/.well-known/lnurlp/<name>
when they want to pay a lightning address- e.g. https://zbd.gg/.well-known/lnurlp/k00b (you can visit this in your browser)
- from the response in (2), we take the
callback
field (another url) and then append arguments like the invoice amount- e.g. https://api.zebedee.io/v0/process-static-charges/8a26fded-2f64-4404-8af8-f0032b186de4?amount=1000 (you can visit this in your browser) which asks zbd to make a 10 sat bolt11 invoice
- When visiting the url in (3), it has a
pr
response which is the bolt11 invoice that we pay
reply