marcusaurelius (OP)
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 09, 2011, 03:23:02 PM Last edit: January 10, 2011, 11:32:23 AM by marcusaurelius |
|
http://qr.ma.eatgold.com/screenshot.jpgWe now have a QR-Scanning JS-Version and the Android App doesn't seem too far off. This is a QR-Code Generator for Bitcoin-Addresses. Supports the bitcoin:URI and the x-btc scheme. Suggestions are highly appreciated. Use of the generator even more. http://qr.ma.eatgold.com[edit] NEW: Now you can specify the amount to be sent. [edit]the current script is not intended for hotlinking. the pictures are stored, but this is a TEMPORARY solution, and this may change as soon as i find time to implement hotlinking in a permanent way. i stronglyl advise against hotlinking, but it is possible for the moment.
|
|
|
|
marcusaurelius (OP)
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 09, 2011, 03:31:08 PM |
|
it is in there already. i just see that the forum software resizing the code makes it less readable. generally works, but not perfect. will change this soon.
the generator output images scan fine though.
|
|
|
|
nrtr
Newbie
Offline
Activity: 2
Merit: 0
|
|
January 09, 2011, 03:32:39 PM |
|
You're missing a 'd' in 'address'.
|
|
|
|
hugolp
Legendary
Offline
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
|
|
January 09, 2011, 03:34:51 PM |
|
I have no idea how much information you can include in a 3D codebar, but, if possible, it would be interesting to being able to include the address and a quantity in the 3D bar, so with one scan you can get the address and the amount of bitcoins, so you just have to confirm the transfer in the screen (f.e.).
|
|
|
|
tcatm
|
|
January 09, 2011, 03:38:09 PM |
|
I'd like to add that feature to js-remote (address + amount). Do we have a simple URI scheme that supports that, yet?
|
|
|
|
marcusaurelius (OP)
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 09, 2011, 03:43:36 PM |
|
we have at least two competing uri schemes. the generator supports both.
but you are right, i will add a "send amount" feature.
@hugo: they are 2d barcodes, not 3d. you can store A LOT in there. QR supports up to 4,296 characters. The codes become bigger, though.
|
|
|
|
hugolp
Legendary
Offline
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
|
|
January 09, 2011, 04:27:18 PM |
|
@hugo: they are 2d barcodes, not 3d. Correct. you can store A LOT in there. QR supports up to 4,296 characters. The codes become bigger, though. Is it possible to develop a system or protocol where the reader recognizes automatically if there is only the address or there is an address plus an amount of bitcoins? EDIT: Maybe something automatic in the URI like: bitcoin://askfj23ljsfd343ljklsfj393elksjdf?pay=30 ?
|
|
|
|
caveden
Legendary
Offline
Activity: 1106
Merit: 1004
|
|
January 09, 2011, 04:35:14 PM |
|
Nice!
It would also be cool if we could add a short description text to it, where the merchant could identify himself and maybe describe the transaction. This could be useful for controlling how you spend your coins.
|
|
|
|
|
marcusaurelius (OP)
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 09, 2011, 05:09:10 PM |
|
so the amount-bit is live. enter the amount you want to be sent to the adress and it is encoded to qr. also the codes can now be used as your forum profile picture without resizing, that is IF you adhere to either RAW or bitcoin:URI. Unfortunately codes in xbtc get larger than the 80x80 size the forum supports. And resizing is a really bad idea, as it hurts readability. description (as per the two specifications) is next on my agenda. @hugo: the whole idea of this URI scheme is that this is possible. but that is up to the reader software. this is doing the text->qr part, the reader software needs to do qr->text. and sorry to correct you again, but it is not bitcoin://xxxxxxxxxxxxxxxx. It is bitcoin:xxxxxxxxxxxxxxxxxxx as this is a URI, not a hierarchical URL. @slush: yes, i am basing my work on this. but as had been said there, we can discuss all month, somebody needs to implement it. for your reference, the x-btc specification is here: http://pastebin.com/VsBbmXQx
|
|
|
|
tcatm
|
|
January 09, 2011, 06:27:07 PM |
|
I think this is about adoption. If you start using xbtc that would count in its favor.
I personally would prefer the shortest possible, as this keeps the qrcodes small. x-btc mandates an action to be specified ("store" or "send" currently) and also mandates the "addr=" part in front of the adress, both which I consider to be redundant.
I like the simplicity of bitcoin:xxxxxxxxxxxxx plus very much approve of its accessibility. Should someone from the outside happen to see such a uri, the protocol name already gives a description. A quick google search should then do the rest. x-btc sounds much more cryptic, the chance that s/1 gooogles that out of curiosity are much slimmer. Also, very likely, what s/he will find are mostly technical specifications. Not a good introduction to bitcoin.
Yep, having bitcoin: infront of the adress seems more accessible. Maybe we can work on a "new" URI scheme using ideas from both?
|
|
|
|
marcusaurelius (OP)
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 09, 2011, 06:48:24 PM Last edit: January 09, 2011, 08:03:14 PM by marcusaurelius |
|
lets say it that way, as we are the only two people at the moment USING the URI-scheme in publicly available software (as far as i know) we can de facto determine which standard is used. if that is a good idea remains to be seen.
personally, i'd really like another shot. and better do it now, then after widespread adoption. right?
|
|
|
|
davux
|
|
January 09, 2011, 09:07:26 PM |
|
I love it, especially the fact that you can stick in a bitcoin logo. Would you add the possibility to upload a custom image instead of the default one?
Oh, and I prefer "bitcoin:" or "x-bitcoin:" as URI scheme. There's no need to limit it to 3 characters, w'r nt usng MS-DOS flnms anymr.
|
1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2 México (Oaxaca) – France - Leeds
|
|
|
tcatm
|
|
January 09, 2011, 11:06:47 PM Last edit: January 10, 2011, 12:46:39 AM by tcatm |
|
|
|
|
|
davux
|
|
January 09, 2011, 11:12:25 PM |
|
I propose a scheme like this:
Other threads are discussing the details of an URI scheme. Let's move the discussion to them, in order to preserve this thread's initial topic.
|
1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2 México (Oaxaca) – France - Leeds
|
|
|
fabianhjr
Sr. Member
Offline
Activity: 322
Merit: 250
Do The Evolution
|
|
January 09, 2011, 11:21:12 PM |
|
I love the error correction parts which enables you to put a bitcoin in the middle. xD
|
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5376
Merit: 13410
|
|
January 10, 2011, 07:31:48 AM |
|
also the codes can now be used as your forum profile picture without resizing, that is IF you adhere to either RAW or bitcoin:URI. Unfortunately codes in xbtc get larger than the 80x80 size the forum supports. And resizing is a really bad idea, as it hurts readability.
Actions are optional in x-btc, and you can use public key hashes instead of addresses in the current version. Addresses can be losslessly converted to and from public key hashes. x-btc:addr=17Dk1cugCynTaNdmQihF7tproJgyKyWiwr;store becomes x-btc:hash=RDmmVdBt99QUY87vTlxY4K4aX1c; which is even smaller than bitcoin:17Dk1cugCynTaNdmQihF7tproJgyKyWiwrOh, and I prefer "bitcoin:" or "x-bitcoin:" as URI scheme. There's no need to limit it to 3 characters, w'r nt usng MS-DOS flnms anymr.
This sort of size issue is exactly the reason why a short name was chosen. QR codes also have a relatively small maximum size.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
em3rgentOrdr
|
|
January 10, 2011, 07:44:42 AM |
|
Great Job! I just used this generator to update my profile pic and sent the developer a bitcoin!
|
"We will not find a solution to political problems in cryptography, but we can win a major battle in the arms race and gain a new territory of freedom for several years.
Governments are good at cutting off the heads of a centrally controlled networks, but pure P2P networks are holding their own."
|
|
|
marcusaurelius (OP)
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 10, 2011, 08:26:14 AM Last edit: January 10, 2011, 11:30:34 AM by marcusaurelius |
|
Just copy and paste the qr address into the redirect field and you have your very own easy to remember way for people to Ehhh, you shouldn't hotlink the qrcode you get. Current script wipes the generated codes after 48hrs. That is why the image is saved in a directory called "temp"!! Perhaps I'll change this later, but at the moment I strongly advise AGAINST this. You'll spend btc to redirect to a nonexisting picture. Sorry if s/1 already did this, but I clearly marked the URL as temporary. [edit]i changed the script to not wipe pictures anymore. however, the current script was never intended for hotlinking. this is a TEMPORARY solution, and this may change as soon as i find time to implement hotlinking in a permanent way. so i still advise against hotlinking, but it is possible now.
|
|
|
|
|