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

Scan to receive #95

Closed
Falsen opened this issue May 14, 2019 · 4 comments
Closed

Scan to receive #95

Falsen opened this issue May 14, 2019 · 4 comments

Comments

@Falsen
Copy link

Falsen commented May 14, 2019

Would be great if you could scan QR codes for receiving payments. According to lnurl spec:
https://github.com/btcontract/lnurl-rfc.

Saves the trouble of transferring invoice strings to a computer etc.

@kingonly
Copy link
Member

We support scanning to pay a bolt11 invoice (via the 'pay invoice' action).
The lnurl is for more advanced scenarios, can you please clarify your use case?

@Falsen
Copy link
Author

Falsen commented May 16, 2019

So right now depositing into service is fairly simple, you get a QR code on screen, you open your phone and scan it. Which is super convinient, but for withdrawing/receving it's a bit more complicated. You somehow need to transfer the invoice from the phone to the computer, which is kinda awkward. The lnurl spec solves this by adding the possible to scan to receive. The user scans the QR code which has an encoded api url in it. The mobile client connects to the endpoint and sends its generated invoice internally. This way the user never have to handle any invoices!
I have it implemented on my flipping site https://lightningflip.xyz.

@kingonly
Copy link
Member

Got you 👍 We'll add this to our todos... Thanks!

@kingonly
Copy link
Member

This was added a few weeks ago

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

2 participants