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

LUD21 gets update and needs support in GUI #16

Open
arbadacarbaYK opened this issue Sep 19, 2023 · 0 comments
Open

LUD21 gets update and needs support in GUI #16

arbadacarbaYK opened this issue Sep 19, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@arbadacarbaYK
Copy link

arbadacarbaYK commented Sep 19, 2023

LUD21 update is about an optional Pin before (BoltCard) withdrawals or payments above a certain amount are allowed.
4 digits pin, 3 retries before link/card invalidation seems consensus.
lnurl/luds#200

Note that there are virtual BoltCards now, which might spread way faster than physical cards.

Pin should be asked for if included in callback at least on tpos.
Show descriptive errormsg if pin is put in wrong or link is invalidated.
Its already implemented here for tpos reference https://github.com/boltcard/bolt-card-pos

More detailed

  1. The POS/Wallet scans the NFC device and makes a call to the LNURLw
  2. If the response includes the pinLimit field AND the value that the POS wants to withdraw is equal or above the pinLimit value, the POS must aquire a PIN (by whatever means) from the payer and add it as URL parameter to the second callback when submitting the invoice to the service.

Also to do :

  • Configurable in the Boltcard extension per card (not UID cause random-UID is planned)
  • Invalidate (deactivate) card on 3 failed pin-retries

I do not see a similar urgent use case for normal voucher + pin atm.

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

No branches or pull requests

4 participants