bitcoin-js-remote by tcatm

A JavaScript Remote for Bitcoin

bitcoin-js-remote is a user interface for Bitcoin written in JavaScript and released under the MIT/X11 License. It works in most modern browsers as well as on Android and iPhones. If run on an Android phone it can scan QR codes containing addreses to send Bitcoins to! If you don't own an Android device, you can still enter raw bitcoin: URIs in a textbox.

For SSL support a small server side script written in Python is required. You can also use Apache to serve js-remote.

You can try out the demo using this link or by scanning the QR code on your phone:

Demo

Donations accepted at 18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt

Features

a) use Apache to serve js-remote

see: https://en.bitcoin.it/wiki/Bitcoin-js-remote

b) setup included SSLserver.py

1. Create server .cert and .pem

openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout server.pem -out server.cert

You don't have to worry about your keyfile being in the same directory as js-remote. SSLserver.py will only serve files ending in .html, .css, .js, .json, .png, .jpeg, or .jpg

2. Start SSLserver.py

python SSLserver.py

SSLserver.py will listen on port 8338 by default. Remember to use https:// instead of http://! Try it by opening https://localhost:8338/ in your browser.

If your bitcoind isn't running on the same machine SSLserver.py will run on, you can change the RPC URL:

python SSLserver.py -r http://other.host:8332/

Download

Download .zip Download .tar

Uncompress zip/tarball and open index.html in your favourite browser.

You can also clone the project with Git by running:

$ git clone git://github.com/tcatm/bitcoin-js-remote

Contact

nils@nilsschneider.net
tcatm on freenode

QR codes and bitcoin: URIs

bitcoin: URIs allow for easy Bitcoin payments. You can encode a Bitcoin address, an amount, and optionally your name and a comment. Transferring bitcoin: URIs to mobile devices is possible using QR codes.

Examples

A single Bitcoin address:

bitcoin:18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt


Add your name so the payer knows who he's going to send Bitcoins to:

bitcoin:18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt?label=tcatm


Add an amount (20.50 BTC) so the user will be prompted to send 20.50 BTC to you:

bitcoin:18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt?label=tcatm&amount=20.50


Finally, include a comment so the user knows what he'll pay for:

bitcoin:18pnDgDYFMAKsHTA3ZqyAi6t8q9ztaWWXt?label=tcatm&amount=20.50&message=Donation for js-remote

QR and URI generator

This generator creates QR codes and bitcoin: URIs using Googles Chart API.



(e.g. your name)


				
			

Screenshots