chill117 / lnurl-node

Flexible lnurl server implementation with API and CLI implemented in nodejs.
MIT License
97 stars 26 forks source link

decide action based in amount versus parameter q #55

Closed mpastorg closed 2 years ago

mpastorg commented 2 years ago

I realized that BlueWallet after sending money with a Lightning Address using /.well-known/lnurlp/username, then it's using the format /ln/lnurl?q=secret&amount=50000&nonce=3768d021ba7faa&comment=comment

Don't take my proposal as final solution as I am a beginner developer and I didn't test it thoroughly, but at least you can use to think about it.

If it's useful, send a few satoshis to marcos@madastur.com, not looking for money, but for some activity in my node and code ;-)

Marcos

chill117 commented 2 years ago

I don't think lnurl-node was involved at all in that example you described. BlueWallet is a wallet that has implemented the lnurl-pay (LUD-06) specification from the client side. The URL in your example is not from an instance of lnurl-node, but some other service that supports LNURL.