Author

Topic: QR code scanner help and question. (Read 963 times)

full member
Activity: 126
Merit: 100
September 09, 2014, 09:40:09 AM
#6
once the user scans the code on like a android wallet they get the coin
This is functionality you need to write into your program. QR codes are just stores for text data. If you write a specification for data storage then your app can sort it out when it scans it in. Maybe separate the relevant fields with a pipe | symbol or a comma? Then when you import it you can explode it into an array and work with it from there. The first variable could be the address, the second variable the amount, etc etc. I would be hesitant to hard code the amount into the QR code though because theoretically couldn't the amount increase/decrease as that address is used actively on the network? Accepting the QR code data as 'fact' would open your alt coin up to very VERY VERY easy scamming!
legendary
Activity: 1358
Merit: 1001
https://gliph.me/hUF
September 09, 2014, 09:09:10 AM
#5
[...] I just need to know how to hold the value of the coin onto the QR code. [...]
Not quite sure what you are looking for, but QR codes with values (amounts) look like this for bitcoin:
Code:
bitcoin:1NeWArjoPgAXeZxXo9U699mqgqQ6sLdYFB?amount=1
legendary
Activity: 1512
Merit: 1057
SpacePirate.io
September 08, 2014, 09:56:45 AM
#4
You have to use the QR code to represent what you want it to for your coin on your own blockchain... so public key would be for balance and transaction history, private key to send the value.

Here's an example of how it's implemented at blockchain with paper QR codes:
https://blockchain.info/wallet/paper-tutorial

newbie
Activity: 56
Merit: 0
September 08, 2014, 01:35:08 AM
#3
That might work but my issue is how would I do that for my coin we are currently getting a block explorer for our coin the best way I thought to really help the coin go well was to basically put the qr code on something with our coin logo and by that time I hope to have the mobile wallets running like via android phone. And when they ask what the f is a (ourcoin) and we say well its like bitcoin but its it own coin. And if they are still confused well that's when we show them how it work. I would say detail to detail on my plans but I still need to prefect it myself. I hope to spread the news of my coin and bitcoin together.
legendary
Activity: 1512
Merit: 1057
SpacePirate.io
September 07, 2014, 10:57:03 PM
#2
It sounds like you want to display the private key in the QR code, then write the code to import it.

https://en.bitcoin.it/wiki/How_to_import_private_keys



newbie
Activity: 56
Merit: 0
September 07, 2014, 03:40:13 PM
#1
Okay I have a project i been working on i am holding the coin value on to printed qr codes kinda like a paper wallet but once the user scans the code on like a android wallet they get the coin. I am developing this project for my own altcoin but this questions is a valid question for any qr code project I just need to know how to hold the value of the coin onto the QR code. I am asking in this format because I don't want to give away to much detail on the marketing project I just need to know how to get the value on the code for pre receiving

Thanks in advance.
Jump to: