Author

Topic: Bitcoin Tool extension for Firefox and Chrome (Read 3425 times)

member
Activity: 336
Merit: 11
Now let's show some example use of "Send BTC" button in connection with bitcoind and bitcoin_httpd.

Let's buy the latest Bitcoin Sun



The link "download pdf" leads to BitcoinService, where the pdf file can be bought for 0.02 BTC.
Bitcoin Tool changes the displayed plain text bitcoin address into a link and two buttons.



Clicking the Send BTC button opens in a new tab a local website served by bitcoin_httpd:



I fill the the form with the price 0.02, and with the proper RPC username and password from my bitcoin.conf file, and click "Send bitcoins".
In my version 0.3.21 of bitcoind the fee of 0.01 BTC is applied, which sucks a bit for microtransactions like this one.

Response after clicking "Send bitcoins" shows that the transaction went all right.



I close the tab with the response, refresh the bitcoinservice website and finally I can enjoy the downloaded Bitcoin Sun pdf.


member
Activity: 336
Merit: 11
Update. The "Send BTC" button now works.
It needs two applications running on your computer: bitcoind from the standard bitcoin client package, and a new program bitcoin_httpd which is an HTTP mini-server that displays a simple website and passes requests to bitcoind.
Download the Linux version of bitcoin_httpd from here (md5 sum: 18fea1ef3eb16260b59bdb383c3a8812).
The source code is here if you need it. It would be useful to compile it on Windows and Mac.


How to make "Send BTC" work.

1. Install the newest version of Bitcoin Tool extension
(for Firefox the Greasemonkey extension is needed, for Chrome support for Greasemonkey scripts is built-in).

2. Set rpcuser and rpcpassword in your bitcoin.conf file. Launch bitcoind.

3. Download and launch bitcoin_httpd.
legendary
Activity: 1736
Merit: 1000
Truly decentralized stable asset
This is a great tool.  Thanx!!!!   Grin
member
Activity: 336
Merit: 11
Fixed. The code is not applied inside input, textarea, code and pre tags.
legendary
Activity: 1204
Merit: 1015
I've got a bug for ya... See if you can have it not apply the code within a textbox or input tag.
member
Activity: 336
Merit: 11
Thank you guys for positive feedback, and for the donation.

Rickard Falkvinge approves the tool. It's official.

hero member
Activity: 742
Merit: 500
Has anyone made any progress whatsoever on catching specialty URIs with the client exe? (like btc://1AsxQdfdtMLHyagm7YZ9Q3KV6FygaqxKk2 would launch the send dialog for that address for example)

I know there were discussions a while back about this but I never heard how they checked out.

Also, awesome addon, I hope that Falkvinge button starts working soon-ish  Smiley
legendary
Activity: 1204
Merit: 1015
Seems to work well enough... Thanks!
member
Activity: 336
Merit: 11
I developed a simple Bitcoin Tool extension, that recognizes Bitcoin addresses on every website, and does some useful things with them:
* Links addresses to blockexplorer.com, something for curious people, who want to examine quickly BTC sent, received, and the number of transactions
* Adds a select button, that helps when you want to copy-paste the address, making sure no letter is omitted
* Adds a Falkvinge button, that does not work, but why? Security reasons, Mr Falkvinge.

Here is how it looks:


And here is how to install it.

If you have Firefox:
1. Install Greasemonkey https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
2. Install Bitcoin Tool http://userscripts.org/scripts/show/104381

If you have Chrome, Greasemonkey scripts are built-in, so you need only to
1. Install Bitcoin Tool http://userscripts.org/scripts/show/104381

Tell me how do you like the tool.


Update (15.06.2011):
Now the "Send BTC" button works - needs bitcoind and a new tool bitcoin_httpd. See below.

Dialog from bitcoin_httpd (download the Linux version from here, or source from here):



Jump to: