Bitcoin Forum

Bitcoin => Project Development => Topic started by: cilphex on May 27, 2013, 05:46:40 PM



Title: What's the proper format for embedding addresses and keys in QR codes?
Post by: cilphex on May 27, 2013, 05:46:40 PM
E.g., if you have a public address that is XYZ, do you have the QR code data read as "XYZ" or something like "bitcoin:XYZ"?

I've seen it done both ways and I don't know if there is an actual standard for this or what.  I guess I want to know which kind is more widespread so I can make something more universally compatible.


Title: Re: What's the proper format for embedding addresses and keys in QR codes?
Post by: Maged on May 27, 2013, 08:10:00 PM
Well, if it's to make a payment, you would want to use the bitcoin URI, especially since it lets you add things like label and amount. If you aren't displaying the address for the purpose of a payment (such as as a reference to the owner of the address, a la a "bank card"), then the bare address would be better.