Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: bytemaster on August 05, 2010, 06:01:30 AM



Title: Register bitcoin protocol (bitcoin://...)
Post by: bytemaster on August 05, 2010, 06:01:30 AM
Everyone seems to be posting btc address's everywhere and relying on people copying them into bitcoin manually.  May I suggest we associate a "protocol" similar to "mailto" or "torrent" that causes bit coin to launch and bring up the "send to" dialog and fill in the relevant fields?    This would make it easy to replace the addresses in our signatures with a meaningful link.

For example: bitcoin://btcaddress?name=bytemaster,amount=100.05


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: omegadraconis on August 05, 2010, 06:37:23 AM
Hey just wanted to point out real quick this is being discussed already @ http://bitcointalk.org/index.php?topic=55.0 but, without a poll.Would be nice to know if the whole community thinks this is a good idea or not. I figure the answer will be yes but, we shall see.


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: Anonymous on August 05, 2010, 09:45:17 AM
This would be excellent.It works for bittorrent so why not for bitcoins?


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: skull88 on August 10, 2010, 02:37:38 PM
It would be a great idea, so I definitely vote yes


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: Mike Hearn on February 12, 2011, 10:54:48 AM
Code wins. It just needs somebody to go ahead and implement it.


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: Nefario on February 12, 2011, 11:52:41 AM
change bitcoin to btc://


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: mail2345 on February 12, 2011, 05:14:51 PM
Sounds good, just make sure that bitcoin throws a confirmation dialogue before transferring  ;)


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: genjix on February 12, 2011, 06:47:40 PM
Anybody know how to make the browser part for firefox & chrome that will trigger program X with the URL? If so, then PM me and I'll implement this.


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: WSDN on February 14, 2011, 02:06:53 PM
in firefox go to optiones aplications and there u see the extensions =)


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: Steve on February 14, 2011, 08:44:47 PM
I like the idea...I prefer btc:// to bitcoins:// ...I would also add that there should be a button in the client to allow one to generate a payment URL for a specific amount that would be copied to a clipboard (and by default, a new address should be created each time too).  I also think for mass adoption, a simplified UI that hides some of the technical details of bitcoin addresses and such is needed (I'd prefer one client with different UI modes...one for casual users that simply trust the whole systems works...and another for experts that want to see all the technical details).


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: Quip on February 15, 2011, 12:30:01 AM
bitcoin-js-remote already does this in the format  bitcoin:<address>[?][amount=<size>][&][label=<label>][&][message=<message>] (https://en.bitcoin.it/wiki/URI_Scheme)


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: abstraction on February 15, 2011, 12:36:10 AM
Does this help? https://support.mozilla.com/en-US/kb/The%20protocol%20is%20not%20associated%20with%20any%20program (https://support.mozilla.com/en-US/kb/The%20protocol%20is%20not%20associated%20with%20any%20program)


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: TiagoTiago on February 20, 2011, 12:29:49 PM
There should be a format just to add someone's address info, and one for actually triggering the send coin dialog (like suggested above, it prefills the fields with suggested values, but doesn't actually try to send any amount unless the client is set to do so (might be usefull for some people i guess) )


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: tcatm on February 20, 2011, 01:12:35 PM
You don't need to use bitcoin://address. bitcoin:address works fine in firefox and you can use the URI scheme from
https://en.bitcoin.it/wiki/URI_Scheme (used by js-remote)

There should be a format just to add someone's address info, and one for actually triggering the send coin dialog (like suggested above, it prefills the fields with suggested values, but doesn't actually try to send any amount unless the client is set to do so (might be usefull for some people i guess) )

js-remote always pre-fills fields and offers to send when both amount and address is set. Feel free to try out the demo to see how it works.


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: Cdecker on February 20, 2011, 04:17:49 PM
As pointed out by other users bitcoin:// would imply a hierarchical structure (like URLs) while bitcoin: is preferred since the Address is a first level citizen while all other parameters are optional. BTW it's not an invention of js-remote, we discussed it a long time ago, but I'm happy that they adopted it ^^


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: mikegogulski on February 20, 2011, 07:21:27 PM
Anybody know how to make the browser part for firefox & chrome that will trigger program X with the URL? If so, then PM me and I'll implement this.

See http://bitcointalk.org/index.php?topic=1877.0 for NSIS installer script code to register the URL handler under Windows, as well as pointers to interfaces for doing it on other platforms.


Title: Re: Register bitcoin protocol (bitcoin://...)
Post by: genjix on February 20, 2011, 07:48:00 PM
thanks for that + the PM