10
2
Suppose I wanted to have a bitcoin treasure hunt, where QR codes were used. The first person who scanned a given QR code should receive some preset amount of bitcoins. Is this possible? (Preferably with as little need for knowledge on the part of the recipient as possible.) As a bonus, is it possible to have a single QR code to have a "pool" of 5 bitcoins it is attached to, give 1 bitcoin away per scan, but only allow scanning by unique devices. (ie; so 1 QR code could be used to claim 1 bitcoin for 5 unique devices) or easiest just to create 5 QR codes? Essentially the same functionality as the "send to QR code" in the Android client, only in reverse - (Scan QR code, and receive coins)
I would prefer the latter (have QR code somehow be actual private key used to claim the bitcoins). However, ideally it would not require any manual steps of behalf of participants other than scanning the code with their client on either iOS or Android. Maybe we aren't there yet with the clients...but would be nice to be able to use QR codes for a one step receipt of bitcoins rather than just a one step send. – lemonginger – 2011-09-13T17:51:55.157
Then probably the best solution is to have the QR code be the private key, but also offer a web page where people can enter a private key and their Bitcoin address to have the balance transferred. – David Schwartz – 2011-09-13T17:54:03.527
Depending on your knowledge level / abilities it may also be possible to grab one of the open-source Android clients and modify it to allow private key import via QR code scan. – David Perry – 2011-09-13T17:57:44.460