pull down to refresh
0 sats \ 2 replies \ @netstatic 26 Aug 2023 \ parent \ on: Easiest way to create a LNurl invoice with params? bitcoin
Ok I think I understand more. It sounds like you are already generating lnurls that deeplink to lightning wallets from the browser. In that case, yes, all you need to do is send the 'successAction' object in the response given from the callback url. To display a url, the successAction object needs to look like:
^ sample json taken from LUD-09 spec
Oh, thanks. hmm, maybe we are getting there but still lost. I don't think I am generating lnurls, my deeplinks look like this: "lightning: lnbc..."
So I guess I need to learn 2 steps:
- How to create LNurls (instead of bolt11)
- Encode the LNurl with params into a deeplink
is that right?
reply
Lnurl Just an encoding of the url.
reply