open-attestation icon indicating copy to clipboard operation
open-attestation copied to clipboard

Recommendation of QR

Open nissimsan opened this issue 1 year ago • 1 comments

I'm looking with interest at https://github.com/Open-Attestation/open-attestation/tree/master/benchmarks/qr-code

How are you guys dealing with trade documents beyond the maximum 34 parameter limit? I suppose the only choice it to revert to online by-reference? If that's your recommendation, is this documented anywhere so we can follow your best practices?

Do you see a "graceful degradation" kind of approach, where issuers encode by value up to the parameter limit, and then encode by reference for larger documents? Curious about your thoughts on this...

nissimsan avatar Sep 19 '23 09:09 nissimsan

Hi @nissimsan, yes we are implementing via an online hosted solution (e.g. storage bucket) due to the size limitations of QR codes.

You may find a brief explanation documented under the Universal Actions section. Essentially, the hosted URL of the document is provided as a query parameter to the verifier.

We have also listed out a few distribution methods along with their pros & cons.

HJunyuan avatar Nov 09 '23 03:11 HJunyuan