Bitcoin Forum
December 08, 2016, 02:17:21 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: Bitcoin-Address to QR-Code [support for URI-Schemes]  (Read 6816 times)
marcusaurelius
Jr. Member
*
Offline Offline

Activity: 37



View Profile
January 09, 2011, 03:23:02 PM
 #1



We 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.

--
1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr
1481206641
Hero Member
*
Offline Offline

Posts: 1481206641

View Profile Personal Message (Offline)

Ignore
1481206641
Reply with quote  #2

1481206641
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481206641
Hero Member
*
Offline Offline

Posts: 1481206641

View Profile Personal Message (Offline)

Ignore
1481206641
Reply with quote  #2

1481206641
Report to moderator
1481206641
Hero Member
*
Offline Offline

Posts: 1481206641

View Profile Personal Message (Offline)

Ignore
1481206641
Reply with quote  #2

1481206641
Report to moderator
marcusaurelius
Jr. Member
*
Offline Offline

Activity: 37



View Profile
January 09, 2011, 03:31:08 PM
 #2

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.

--
1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr
nrtr
Newbie
*
Offline Offline

Activity: 2


View Profile
January 09, 2011, 03:32:39 PM
 #3

You're missing a 'd' in 'address'.  Wink
hugolp
Hero Member
*****
Offline Offline

Activity: 742



View Profile
January 09, 2011, 03:34:51 PM
 #4

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
Sr. Member
****
Offline Offline

Activity: 337


View Profile
January 09, 2011, 03:38:09 PM
 #5

I'd like to add that feature to js-remote (address + amount). Do we have a simple URI scheme that supports that, yet?
marcusaurelius
Jr. Member
*
Offline Offline

Activity: 37



View Profile
January 09, 2011, 03:43:36 PM
 #6

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.

--
1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr
hugolp
Hero Member
*****
Offline Offline

Activity: 742



View Profile
January 09, 2011, 04:27:18 PM
 #7

@hugo: they are 2d barcodes, not 3d.

Correct. Tongue

Quote
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 Offline

Activity: 1106



View Profile
January 09, 2011, 04:35:14 PM
 #8

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.

18rZYyWcafwD86xvLrfuxWG5xEMMWUtVkL
slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
January 09, 2011, 04:44:07 PM
 #9

Discussion about how to encode wallet & parameters to string: http://bitcointalk.org/index.php?topic=55.0

marcusaurelius
Jr. Member
*
Offline Offline

Activity: 37



View Profile
January 09, 2011, 05:09:10 PM
 #10

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

--
1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr
tcatm
Sr. Member
****
Offline Offline

Activity: 337


View Profile
January 09, 2011, 06:27:07 PM
 #11

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
Jr. Member
*
Offline Offline

Activity: 37



View Profile
January 09, 2011, 06:48:24 PM
 #12

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?

--
1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr
davux
Sr. Member
****
Offline Offline

Activity: 289


Firstbits.com/1davux


View Profile WWW
January 09, 2011, 09:07:26 PM
 #13

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
Sr. Member
****
Offline Offline

Activity: 337


View Profile
January 09, 2011, 11:06:47 PM
 #14

edit: Post moved to https://en.bitcoin.it/wiki/Bitcoin-scheme
davux
Sr. Member
****
Offline Offline

Activity: 289


Firstbits.com/1davux


View Profile WWW
January 09, 2011, 11:12:25 PM
 #15

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 Offline

Activity: 322


Do The Evolution


View Profile
January 09, 2011, 11:21:12 PM
 #16

I love the error correction parts which enables you to put a bitcoin in the middle. xD

Anonymous
Guest

January 10, 2011, 02:55:29 AM
 #17

http://bitcoin.me/noagenda

You can buy your personalised qr address at bitcoin.me and redirect it to your qr code. This means you can have a human readable url for the cost of a few btc. Just copy and paste the qr address into the redirect field and you have your very own easy to remember way for people to find you.


Which is easier to say ?


http://qr.ma.eatgold.com/temp/bitcoin18vSVcS8upH34qsFvshwjxHcxH2gNnusff.png

or

bitcoin.me/noagenda


 Wink


http://bitcoin.me
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2506


View Profile
January 10, 2011, 07:31:48 AM
 #18

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:17Dk1cugCynTaNdmQihF7tproJgyKyWiwr

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.

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
Sr. Member
****
Offline Offline

Activity: 434


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW
January 10, 2011, 07:44:42 AM
 #19

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
Jr. Member
*
Offline Offline

Activity: 37



View Profile
January 10, 2011, 08:26:14 AM
 #20

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.

--
1Bo3Nqu1rKWvDzHmZJ7GD2BGnsg6YoqzPr
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!