Closed cryptoteun closed 1 year ago
Not sure if this is the most elegant way. I copied the solution of the unifiedQR.
Although it is useful to have the amount in the QR code for onchain payments it might be the case that some wallets do not support BIP21. Therefore those wallets could not scan the QR code at all.
@talvasconcelos is the BIP21 QR code shown only if both onchain and LN payments are accepted?
Did some additional testing. PR breaks some things, so I delete it. The BIP21 is indeed shown when Onchain only as well, so then for supporting wallets the amount is included.
Added amount to onchain QR, try to fix #28