Pages:
Author

Topic: [ANN] Bitcoin URL handler - page 2. (Read 8611 times)

hero member
Activity: 755
Merit: 515
June 11, 2011, 10:29:26 AM
#21
Because it hasn't been pulled yet.  The thing is, its implemented in all alternative clients afaik, and the results of most previous discussion on URI stuff I've seen before have been mostly "meh, they are close enough, some prefer one some others, but in the end the readability is very similar, if not the same, so its not worth reinventing the wheel".
hero member
Activity: 755
Merit: 515
June 11, 2011, 10:09:01 AM
#20
Why do people insist on reinventing the wheel?  The previous URI spec worked fine and was implemented in all clients in mainline except for the wx bitcoin client.  There is also a pull request that has been sitting in github for that format forever https://github.com/bitcoin/bitcoin/pull/182.  There is no advantage to this format over the old one, in fact, it makes it harder to read imho, and you can't specify a memo and not a name, as you can with the original, well-implemented one.  Additionally, adding periodic payments falls way outside of the scope of any URI spec commit.
hero member
Activity: 812
Merit: 1001
-
June 11, 2011, 04:28:47 AM
#19
Here is the latest iteration, we could simply emulate http URI, including "userinfo" part

btc://amount:payee@address/message , where

amount:payee@,  :payee and /message are optional

examples:

btc://19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp
btc://0.02@19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp
btc://19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp/OK+RFC
btc://0.00:Vladimir@19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp/OK+RFC
btc://50.00@19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp/Really+Cool+RFC
btc://50.00:Vladimir@19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp/Really+Cool+RFC
btc://0.0000001:Vladimir@19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp/Your+RFC+Sucks
btc://100:Vladimir/19bF4Xq2bJwVKzGmbq5pxmkgYkE1KnXngp/I+will+pay+you+monthly?periodic=yes&period=monthly&howmany=12

most existing URI handling code will work with this with minimal (if any) changes
hero member
Activity: 812
Merit: 1001
-
June 11, 2011, 03:43:27 AM
#18
Introducing some privately owned domain into decentralised currency URI scheme, whether standard or not, does not look very appealing.

Nice try with a community infiltration attack though...
legendary
Activity: 2576
Merit: 1186
June 11, 2011, 02:37:23 AM
#15
Of course option 2 is a winner when you're comparing two totally different things. Let's look at some REAL comparisons:

400 BTC (ie, yesterday)
Standard bitcoin: URI: bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=400x8
Vladimir's URI-like: bitcoin:/400/1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L/

400 mBTC (ie, today)
Standard bitcoin: URI: bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=400x5
Vladimir's URI-like: bitcoin:/0.004/1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L/

400 μBTC (ie, tomorrow A)
Standard bitcoin: URI: bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=400x2
Vladimir's URI-like: bitcoin:/0.000004/1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L/

400 TBC (ie, tomorrow B)
Standard bitcoin: URI: bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=x400x4
Vladimir's URI-like: bitcoin:/0.67108864/1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L/

400 Satoshis (ie, nerds?)
Standard bitcoin: URI: bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=400x0
Vladimir's URI-like: bitcoin:/0.00000004/1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L/

Keep in mind, no humans have to read URIs, just software. And Vladimir's thing doesn't even fit with the generic URI formats.
X-btc might be a contender with some work, though...
hero member
Activity: 812
Merit: 1001
-
June 11, 2011, 02:20:00 AM
#14
Bravo AlexZ,

  I wish we could get this into official client somehow. Let's get both URI schemes working concurrently. Anyone want to take bets on which URI scheme will be adopted by website operators if both are supported by official client?

Just compare:

1. bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=x4X7

and

2. bitcoin:/400/16rpY3LAf7kQFHzmMtB71eXTTTDLG5AWy3/

I'd say option 2 is a clear winner

P.S. Do not underestimate importance of decent URI handling. Edonkey's popularity and quick adoption to significant degree was due to its great edk2 URI scheme. Ask Jed if you do not believe me. I bet if we have this kind of URI handling both in windows and linux official client it will make bitcoin adoption to go much smoother.

legendary
Activity: 2576
Merit: 1186
June 10, 2011, 08:04:54 PM
#13
This program doesn't comply with the Bitcoin: URI scheme, so won't work with most (any?) valid URIs...

I already wrote proper support for the original client a long time ago, but it hasn't been merged yet.
(The donation address for this is 19ut7h2sp9jKf5dpnK36FCPGu8L1cHnPSE)

It's also supported by mainline Spesmilo.
ISA
newbie
Activity: 52
Merit: 0
June 10, 2011, 06:21:40 PM
#12
Bitcoins sent!

Very nice.

It should start the Bitcoin client if it's not running...
legendary
Activity: 1050
Merit: 1000
June 10, 2011, 06:20:41 PM
#11
very cool, something like this should be implemented in the official client
ISA
newbie
Activity: 52
Merit: 0
June 10, 2011, 06:17:02 PM
#10
Aha. Probably the permissions problem. Are you running the program from under the Administrator account? At least to install, it needs to write into registry.

YES! That did do the trick.
Nice
foo
sr. member
Activity: 409
Merit: 250
June 10, 2011, 06:08:20 PM
#9
Wrong URI format! Here's the proper one: https://en.bitcoin.it/wiki/URI_Scheme
ISA
newbie
Activity: 52
Merit: 0
June 10, 2011, 06:01:49 PM
#8
Well, obviously you need to use a correct URI, not a bunch of symbols I just typed  Grin
Haha. Ok works with a correct bitcoin address.

Man I'm on blind copy&paste. Don't forget that Smiley
ISA
newbie
Activity: 52
Merit: 0
June 10, 2011, 06:00:07 PM
#7
Check if there is a registry key "bitcoin" under HKEY_CLASSES_ROOT.
Not there.
ISA
newbie
Activity: 52
Merit: 0
June 10, 2011, 05:57:20 PM
#6

"Sorry, malformed URI. ....."

I'm running on a German Windows 7
hero member
Activity: 742
Merit: 500
June 10, 2011, 05:54:30 PM
#5
I am so installing this when I get home.
ISA
newbie
Activity: 52
Merit: 0
June 10, 2011, 05:44:45 PM
#4
1) Edited Bitcoin.conf and added:

server=1
rpcconnect=SECRECT
rpcuser=SECRET_USER
rpcpassword=SECRECT_PASSWORD
rpcport=12345

2) Executed bitcoin_uri.exe and pressed ok.
No errors -> All seems to be fine


Result:
Firefox: Does not recognize the link ("Does not know how to open it"). I tried several restarts etc.

Chrome and IE9 have similar problems.
ISA
newbie
Activity: 52
Merit: 0
June 10, 2011, 05:32:50 PM
#3
wow. testing.....
sr. member
Activity: 406
Merit: 256
June 10, 2011, 05:19:23 PM
#2
Source?
Pages:
Jump to: