lnurl / luds

lnurl specifications
592 stars 140 forks source link

Mobile Wallets: Open LNURLs via a custom scheme such as a wallet name, e.g ZEBEDEE: #143

Open jackeveritt opened 2 years ago

jackeveritt commented 2 years ago

Problem On iOS, if there are multiple wallets that support the lightning: scheme or LUD-17 then there is no mechanism for apps or games to offer a choice to the user on which wallet to open. The wallet that would open is undefined.

Idea Wallets could publish their scheme for opening their wallet e.g. zebedee: and then apps/games can detect if the wallet exists.

If the user of the app/game wishes to open ZEBEDEE with the lnurl, the developer would be open the wallet with the following format:

zebedee:lnurlw:<insert lnurl here>

[side note, this format already works in ZEBEDEE wallet, not sure if this is by design]

The wallet could then process the lnurlw scheme as if it had been opened via lnurlw:<insert lnurl here>

This would be optional for wallets if they want to support it of course.

hsjoberg commented 2 years ago

FWIW while implementing blixtwallet: deeplinking for Blixt Wallet, I made sure that the schema nestling suggested here works, as it was the most intuitive solution.

andrerfneves commented 2 years ago

[side note, this format already works in ZEBEDEE wallet, not sure if this is by design]

Yes, it is by design ;)