@anon
sign up
@anon
sign up
pull down to refresh
17 sats
\
2 replies
\
@k00b
2 Dec 2021
\
on: Can anyone explain how the <name>@stacker.news funding works?
bitcoin
You don't really need a library. It's more so adhering to a protocol by running a service you make or someone else's. I wrote my own for SN. Here are the docs for it:
https://github.com/andrerfneves/lightning-address/blob/master/DIY.md
A couple stackers have write ups on their own systems that they built so I'm hoping they chime in but given
<name>
@stacker
.news
the gist is:
a wallet makes a
GET
request to stacker.news providing
<name>
stacker.news responds with a URL to get an invoice from
the wallet asks the user how much they want to pay
the wallet makes a
GET
to the URL from
2
with the amount from
3
stacker.news returns the invoice
your wallet pays it
write
preview
reply
100 sats
25 sats
hot
recent
top
13 sats
\
0 replies
\
@cameri
17 Dec 2021
Simply brilliant.
reply
12 sats
\
0 replies
\
@freetx
OP
3 Dec 2021
freebie
That's actually very elegant. Thanks for the helpful response.
reply
<name>@stacker.news
the gist is:GET
request to stacker.news providing<name>
GET
to the URL from2
with the amount from3