Bitcoin Forum
December 08, 2016, 04:28:32 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 »  All
  Print  
Author Topic: [ANN] Bitcoin URL handler  (Read 7879 times)
Alex Zee
Member
**
Offline Offline

Activity: 112



View Profile WWW
June 10, 2011, 10:05:28 PM
 #1

Fuck it.

BTC Monitor - systray price ticker
RipTalk.org - new Ripple forum
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481214512
Hero Member
*
Offline Offline

Posts: 1481214512

View Profile Personal Message (Offline)

Ignore
1481214512
Reply with quote  #2

1481214512
Report to moderator
1481214512
Hero Member
*
Offline Offline

Posts: 1481214512

View Profile Personal Message (Offline)

Ignore
1481214512
Reply with quote  #2

1481214512
Report to moderator
1481214512
Hero Member
*
Offline Offline

Posts: 1481214512

View Profile Personal Message (Offline)

Ignore
1481214512
Reply with quote  #2

1481214512
Report to moderator
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
June 10, 2011, 10:19:23 PM
 #2

Source?
ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile
June 10, 2011, 10:32:50 PM
 #3

wow. testing.....

ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile
June 10, 2011, 10: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.

enmaku
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
June 10, 2011, 10:54:30 PM
 #5

I am so installing this when I get home.

ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile
June 10, 2011, 10:57:20 PM
 #6


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

I'm running on a German Windows 7

ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile
June 10, 2011, 11:00:07 PM
 #7

Check if there is a registry key "bitcoin" under HKEY_CLASSES_ROOT.
Not there.

ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile
June 10, 2011, 11: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

foo
Sr. Member
****
Offline Offline

Activity: 409



View Profile
June 10, 2011, 11:08:20 PM
 #9

Wrong URI format! Here's the proper one: https://en.bitcoin.it/wiki/URI_Scheme

I know this because Tyler knows this.
ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile
June 10, 2011, 11: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

Serge
Legendary
*
Offline Offline

Activity: 1050


View Profile
June 10, 2011, 11:20:41 PM
 #11

very cool, something like this should be implemented in the official client
ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile
June 10, 2011, 11:21:40 PM
 #12

Bitcoins sent!

Very nice.

It should start the Bitcoin client if it's not running...

Luke-Jr
Legendary
*
Offline Offline

Activity: 2086



View Profile
June 11, 2011, 01:04:54 AM
 #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.

Vladimir
Hero Member
*****
Offline Offline

Activity: 812


-


View Profile
June 11, 2011, 07: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.


-
Luke-Jr
Legendary
*
Offline Offline

Activity: 2086



View Profile
June 11, 2011, 07: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...

Vladimir
Hero Member
*****
Offline Offline

Activity: 812


-


View Profile
June 11, 2011, 08:02:48 AM
 #16

yea particularly this one

Luke-Jr: URI: bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=x400x4
Vladimir's URI-like: bitcoin://0.67108864/1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L/


how about comparing the real thing

give your answer to each of these:

http://forum.bitcoin.org/index.php?topic=5171.msg75505#msg75505

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


Also I would like to note that there is no standard bitcoin URI. If you pushed it to the wiki it does not make it standard and you, Luke-Jr, is not a standard maker nor a sole authority on the matter!



-
generalunited
Newbie
*
Offline Offline

Activity: 14


View Profile
June 11, 2011, 08:22:41 AM
 #17

1. bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=x4X7

and

2. bitcoin:/400/16rpY3LAf7kQFHzmMtB71eXTTTDLG5AWy3/

----


http://bit.coin.is/1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L?amount=x4X7
or
http://bit.coin.is/400/16rpY3LAf7kQFHzmMtB71eXTTTDLG5AWy3

but i'll route both of them through the 'coin.is' domain

Vladimir
Hero Member
*****
Offline Offline

Activity: 812


-


View Profile
June 11, 2011, 08: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...

-
Vladimir
Hero Member
*****
Offline Offline

Activity: 812


-


View Profile
June 11, 2011, 09: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

-
Matt Corallo
Hero Member
*****
Offline Offline

Activity: 751


View Profile
June 11, 2011, 03:09:01 PM
 #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.

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Pages: [1] 2 3 »  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!