This is currently pretty raw code. We're planning to clean it up, convert everything into CommonJS modules and put a flexible build system in place.
Prototype software, use at your own peril.
How to use
npm run-script compileto compile to a browser-friendly minified file. Once in the browser, the global Bitcoin object will contain everything you need.
- To use in NodeJS, install this package as you would any other and
var Bitcoin = require('bitcoinjs-lib').
This library is free and open-source software released under the MIT license.
BitcoinJS (c) 2011-2012 Stefan Thomas
Released under MIT license
JSBN (c) 2003-2005 Tom Wu
Released under BSD license
CryptoJS (c) 2009–2012 by Jeff Mott
Released under New BSD license