pull down to refresh
Also, response includes 'verify' field containing a url for verifying if payment was successfully received!
reply
deleted by author
deleted by author
pull down to refresh
Also, response includes 'verify' field containing a url for verifying if payment was successfully received!
deleted by author
deleted by author
I recently was search for the easiest way to do this, not with JS, but from within Android. I managed to get a MVP (GPT4BTC) communicating with getalby's LN node via their lnurl REST api: example Android Kotlin code.
-get lnurl details, including default human-readable payment meta-data: https://getalby.com/.well-known/lnurlp/bitanon
-get encoded lnurl from 'pr' field, including amount and comment (description): -note: unfortunately invoice details returned seem to remain encoded when viewed in sending wallet https://getalby.com/lnurlp/bitanon/callback?amount=10000&comment=hello
Certain wallets also allow for passing in other payRequest payerData.
Now, I'm learning how to use lnauth, hopefully in a similar manner, owing to the ease of implementation; and will reply to this post in the future with details on how to do that.