Bitcoin Forum
December 11, 2016, 06:19:31 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin link protocol  (Read 803 times)
thefinn93
Newbie
*
Offline Offline

Activity: 5


View Profile
July 05, 2011, 12:04:24 AM
 #1

I'm not really sure what to call this, but is there some sort of "protocol" for Bitcoin transfer, like btc:// or something? If not it ought to be made, as it makes a hell of a lot of sense (to me at least). Something like:

btc://<address>?amount=5.00&reason=1%20bar%20of%20chocolate

then Bitcoin processing apps/websites/whatever could request to use that protocol. Once you tell your computer/smart phone/what have you to use this app/website/whatever for btc:// URLs you could click a link or scan a QR code or whatever and it would open that app, which would confirm that you wish to transfer 5.00 BTC for "1 bar of chocolate" (using my example). If the user indicates that they would like to it goes ahead with the transfer. all of the parameters would be optional, as the only thing required would be the address and the rest could be manually input by the user. For people who like to store their bitcoins online, most modern browsers provide a Javascript interface for requesting the be opened when using a specific protocol. For example, mibbit, the web based IRC client, has an option to be set as your default IRC client.

I feel like something like this should exist but I haven't heard any mention of it. Does it exist? If not, i propose we implement this. I would be willing to write user scripts to modify popular web based Bitcoin services (until they implement it)

Like what I have to say? Donate to me! haha like anyone would do that... what the hell here's my address anyway: 1JRL3z5aUR7CWMENmy5kfb4WP2sM3nv8Lg
1481437171
Hero Member
*
Offline Offline

Posts: 1481437171

View Profile Personal Message (Offline)

Ignore
1481437171
Reply with quote  #2

1481437171
Report to moderator
1481437171
Hero Member
*
Offline Offline

Posts: 1481437171

View Profile Personal Message (Offline)

Ignore
1481437171
Reply with quote  #2

1481437171
Report to moderator
1481437171
Hero Member
*
Offline Offline

Posts: 1481437171

View Profile Personal Message (Offline)

Ignore
1481437171
Reply with quote  #2

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

Activity: 5


View Profile
July 05, 2011, 01:33:05 AM
 #2

After looking into it some more it appears that only Firefox allows the registering of protocol handlers, unfortunately. I've made up a quick little example here which can register a protocol handler in Firefox and parse input given to it. It is in no way complete, mind you, and will probably break if you don't specify some parameters.

Like what I have to say? Donate to me! haha like anyone would do that... what the hell here's my address anyway: 1JRL3z5aUR7CWMENmy5kfb4WP2sM3nv8Lg
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2002



View Profile
July 05, 2011, 12:41:24 PM
 #3

I'm not really sure what to call this, but is there some sort of "protocol" for Bitcoin transfer, like btc:// or something?

  - http://en.bitcoin.it/wiki/URI_Scheme

thefinn93
Newbie
*
Offline Offline

Activity: 5


View Profile
July 09, 2011, 05:23:22 AM
 #4

of course. thanks!

Like what I have to say? Donate to me! haha like anyone would do that... what the hell here's my address anyway: 1JRL3z5aUR7CWMENmy5kfb4WP2sM3nv8Lg
Maxim Gladkov
Newbie
*
Offline Offline

Activity: 28



View Profile WWW
July 09, 2011, 07:38:10 AM
 #5

After looking into it some more it appears that only Firefox allows the registering of protocol handlers, unfortunately. I've made up a quick little example here which can register a protocol handler in Firefox and parse input given to it. It is in no way complete, mind you, and will probably break if you don't specify some parameters.

And how do you think iTunes links work? Smiley

thefinn93
Newbie
*
Offline Offline

Activity: 5


View Profile
July 09, 2011, 04:45:07 PM
 #6

iTunes registers a protocol. But it's a desktop application, so it's allowed to do that. Webpages aren't (anywhere but Firefox at least).

Like what I have to say? Donate to me! haha like anyone would do that... what the hell here's my address anyway: 1JRL3z5aUR7CWMENmy5kfb4WP2sM3nv8Lg
Pages: [1]
  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!