@anon
sign up
@anon
sign up
pull down to refresh
10 sats
\
0 replies
\
@k00b
12h
\
parent
\
on: Stacker Saloon
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
write
preview
reply
100 sats
k00b@zbd.gg
https://<domain>/.well-known/lnurlp/<name>
when they want to pay a lightning addresscallback
field (another url) and then append arguments like the invoice amountpr
response which is the bolt11 invoice that we pay