Closed pvyhnal-generalbytes closed 3 years ago
It is mentioned as the "fast" withdraw method, which shouldn't be used in QR codes, only links. And wallet support is optional since the server must provide the params through the URL anyway in case the wallet asks.
Thanks, I overlooked the "fast" withdraw section because it says It is not suitable for QR code implementations.
Why is it not suitable for QRs, if a new QR would be generated for every new withdrawal?
The Readme mentions:
Does the first point mean the original URL encoded in the QR code can contain
tag=withdrawRequest
and then the wallet can skip the first HTTP GET and get all the other parameters from the original URL?In this case the URL in the QR code would also have callback, k1, defaultDescription, minWithdrawable, maxWithdrawable query parameters?
So the withdraw flow would be:
LN WALLET gets callback, k1, defaultDescription, minWithdrawable, maxWithdrawable from url query params
[...]
This is not mentioned on the LNURL-withdraw page or the other pages. It would save one round trip of HTTP but is it actually supported by wallets?