Bitcoin Forum

Other => Beginners & Help => Topic started by: lewren on April 30, 2014, 01:23:29 PM



Title: QR code
Post by: lewren on April 30, 2014, 01:23:29 PM
When generating QR codes;
How would a string look like, when to encode the bitcoin address, amount to pay and a label?

Are there any other parameters that can be passed other than address, amount and label?


Cheers!


Title: Re: QR code
Post by: Foxpup on May 01, 2014, 06:42:52 AM
The technical details are defined here (https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki). If that's too technical, skip to the examples (https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki#Examples) at the bottom.


Title: Re: QR code
Post by: lewren on May 01, 2014, 07:13:28 AM
thank you!

hm, so i shall use the same string for my anchor text, for example:
bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=50&label=Luke-Jr&message=Donation%20for%20project%20xyz

as when i compile the qr code to get the same parameters passed over to it?



Title: Re: QR code
Post by: Foxpup on May 01, 2014, 08:39:27 AM
Yes.


Title: Re: QR code
Post by: lewren on May 01, 2014, 08:47:45 AM
Much obliged

Have a nice day!