mutiny-web icon indicating copy to clipboard operation
mutiny-web copied to clipboard

feat: QR scanner should handle dynamic QR codes

Open oleonardolima opened this issue 2 years ago • 8 comments

It would be needed to work with offline e-cash notes after the support of https://github.com/MutinyWallet/mutiny-node/issues/1024

@futurepaul @benthecarman @benalleng I will try to give it a try after https://github.com/MutinyWallet/mutiny-node/issues/1024, but do you have any thoughts on this already ?

oleonardolima avatar Feb 10 '24 16:02 oleonardolima

We use this library https://www.npmjs.com/package/qr-scanner not sure if it has support for animated QRs. Would rather not have to move to a different library for this

benthecarman avatar Feb 10 '24 19:02 benthecarman

Maybe we figure out NFC support and only do OOB notes through that

benthecarman avatar Feb 10 '24 20:02 benthecarman

We use this library https://www.npmjs.com/package/qr-scanner not sure if it has support for animated QRs. Would rather not have to move to a different library for this

Cool, I'll take a look at this library

Maybe we figure out NFC support and only do OOB notes through that

Yes, that's a good approach as well

oleonardolima avatar Feb 10 '24 20:02 oleonardolima

Here's how we could do NFC

https://capawesome.io/blog/announcing-the-capacitor-nfc-plugin/

benthecarman avatar Feb 11 '24 14:02 benthecarman

Here's how we could do NFC

https://capawesome.io/blog/announcing-the-capacitor-nfc-plugin/

Oh, wow!

oleonardolima avatar Feb 11 '24 14:02 oleonardolima

We use this library https://www.npmjs.com/package/qr-scanner not sure if it has support for animated QRs. Would rather not have to move to a different library for this

btw I was taking a better look at it and it's seems it's not supported https://github.com/nimiq/qr-scanner/issues/65

oleonardolima avatar Feb 20 '24 15:02 oleonardolima

Here's how we could do NFC

https://capawesome.io/blog/announcing-the-capacitor-nfc-plugin/

but even before the NFC support, we would need to have support for issuing oob notes / offilne ecash otherwise, there is no other wallet issuing ecash with NFC support 😅

oleonardolima avatar Feb 20 '24 15:02 oleonardolima

related resource: https://developer.blockchaincommons.com/animated-qrs/

extracted from cashu PR https://github.com/cashubtc/nuts/pull/31

oleonardolima avatar Mar 22 '24 01:03 oleonardolima