-
Notifications
You must be signed in to change notification settings - Fork 54
LNURL-withdrawPOS flow #16
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
base: master
Are you sure you want to change the base?
Changes from 14 commits
38234ea
d196cee
9a38ca4
e220f97
4bcac8e
596583a
a6a81ed
c6e842d
dee1cc2
b3d892d
37a4f04
7c32e41
b0ead96
6476217
95fa0b3
5a50c13
253260a
0de6427
a739bff
84b00ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,96 @@ | ||||||
| ``` | ||||||
| bLIP: 15 | ||||||
| Title: LNURL-witdhrawPOS flow | ||||||
| Status: Active | ||||||
| Author: David Coen <[email protected]> | ||||||
| Created: 2022-05-23 | ||||||
| License: CC0 | ||||||
| ``` | ||||||
|
|
||||||
| ## Abstract | ||||||
|
|
||||||
| LNURL-withdraw is a bech32-encoded HTTPS query string or sub-protocol of LNURL | ||||||
| which gives the users the ability to receive funds via Lightning Network without the need of manually create an invoice. | ||||||
| Users scan a QRcode or paste the LNURL-withdraw link into their wallet, | ||||||
| this queries a server and gets a JSON with some info, | ||||||
| such as the max amount the user can receive, the min amount the user can request, etc. | ||||||
| Then the wallet tipically asks the user to enter an amount and under the hood it creates a Lightning invoice and sends it to the service provider, | ||||||
| which eventually pays that. | ||||||
| So the only things the users have to do are: | ||||||
theDavidCoen marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| 1. Scan the QR code / paste the LNURL-withdraw link into the wallet | ||||||
| 2. Enter the amount to receive | ||||||
| 3. Confirm | ||||||
|
|
||||||
| In this repo I schematize a LNURL-withdraw flow for POS, | ||||||
theDavidCoen marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| which sees the interaction between the user and a POS equipped with a NFC sensor. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NFC in this case seems more like an example transport rather than an explicit limitation. |
||||||
|
|
||||||
| This bLIP serves to document what could be a reference flow for open source implementations of POS devices able to read LNURL-withdraw links via NFC, | ||||||
|
||||||
| This bLIP serves to document what could be a reference flow for open source implementations of POS devices able to read LNURL-withdraw links via NFC, | |
| This bLIP serves to documents the flow for open source implementations of POS devices able to read LNURL-withdraw links via NFC, |
Again, NFC seems more like a detail here, artificially limiting the applicability (links, QR codes, etc are just as valid as transports).
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better as compared to what?
Uh oh!
There was an error while loading. Please reload this page.