question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

need to unify QR codes

See original GitHub issue

The receive tab and address dialog make quite different QR codes for the same address.

  • Receive tab QR encodes: BITCOINCASH:QR8ZT8NCV94RSNC0LFKUJ3QVDZU2JTY2ASQ44CJHKU
  • Address tab QR encodes: qr8zt8ncv94rsnc0lfkuj3qvdzu2jty2asq44cjhku

Both QR codes end up as the same size because, even though the first one is longer, it uses all-uppercase which lets it use the compact QR alphanumeric encoding. I believe the prefix is a good idea in general, so I am leaning towards the prefixed, all-caps option.

(the reason for the difference: address_detail.py uses to_ui_string(), and main_window.py receive tab uses the update_receive_qr() function which does more things)

screenshot from 2018-09-28 10-07-50

screenshot from 2018-09-28 10-08-09

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
cculianucommented, Sep 29, 2018

@markblundeberg Hahahaha. Did you actually stand a chance of getting that money? Hilarious.

Didn’t realize there are various ECC options for QR. Maybe we can see if the lib we use can do better?

Well – i can easily change the Qt code to generate whatever. So I guess the consensus is all screens do BITCOINCASH:QQBLABLA (all uppercase)??

1reaction
cculianucommented, Sep 29, 2018

Ah, makes sense. I imagine they would be.

Although honestly I’m amazed at how good QR already is and how well it works even when it’s dense and packed with info and the squares are small. (like has a huge long URL or something). I have never been unable to scan a QR code ever. But maybe i’m just lucky…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unified QRs for Bitcoin
Let's talk about using BIP21 payment URIs to combine on-chain and lightning payments into a single QR code, simplifying the user experience.
Read more >
QR Codes and instant payments: Key international uses and ...
Discover how various countries have been leveraging QR codes to foster ... a unified QR code that combines the QR codes for each...
Read more >
Central Bank to Push for Universal Digital Payment QR Codes
What's new: China's central bank vowed to promote interconnection between the digital yuan and other electronic payment tools so that ...
Read more >
QR Codes: Extending the Reach of Payments Anywhere in the ...
QR codes are a simple solution to payment access everywhere in the world, except for one problem: multiple formats.
Read more >
Hardcore e-wallet user? Know how unified QR codes is going ...
Hardcore e-wallet user? Know how unified QR codes is going to make your life easier · What does a unified QR code mean?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found