Bitcoin Forum
May 06, 2024, 01:28:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin link protocol  (Read 1000 times)
thefinn93 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


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)
1714958926
Hero Member
*
Offline Offline

Posts: 1714958926

View Profile Personal Message (Offline)

Ignore
1714958926
Reply with quote  #2

1714958926
Report to moderator
1714958926
Hero Member
*
Offline Offline

Posts: 1714958926

View Profile Personal Message (Offline)

Ignore
1714958926
Reply with quote  #2

1714958926
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714958926
Hero Member
*
Offline Offline

Posts: 1714958926

View Profile Personal Message (Offline)

Ignore
1714958926
Reply with quote  #2

1714958926
Report to moderator
1714958926
Hero Member
*
Offline Offline

Posts: 1714958926

View Profile Personal Message (Offline)

Ignore
1714958926
Reply with quote  #2

1714958926
Report to moderator
thefinn93 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


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.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


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

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


thefinn93 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


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

of course. thanks!
Maxim Gladkov
Newbie
*
Offline Offline

Activity: 28
Merit: 0



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 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


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).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!