Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jackeveritt opened this issue Feb 10, 2022 · 2 comments

Comments

@jackeveritt
Copy link

jackeveritt commented Feb 10, 2022

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
Copy link
Collaborator

hsjoberg commented Feb 20, 2022

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
Copy link

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

Yes, it is by design ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants