A javascript Bitcoin library for node.js and browsers.
Find a file
Nadav Ivgi 0a075573ed Fix signing with compressed keys
calcPubkeyRecoveryParam always assumed a non-compressed key, and was comparing
the address generated from a non-compressed public key against the original
address generated from the compressed public key.

This commit fixes it by passing the entire pubkey object, and configuring the
generated address to use the same compressed setting as the original one.
2013-11-28 21:04:32 +02:00
demo More work on split key protocol. 2011-09-03 19:36:45 +01:00
src Fix signing with compressed keys 2013-11-28 21:04:32 +02:00
test port message to common.js style and add tests 2013-03-02 12:28:13 -05:00
.gitignore Added rudimentary build system. 2011-09-26 17:35:29 +01:00
bitcoinjs-min.js Made it process multisig addresses correctly 2013-11-20 16:43:14 -05:00
LICENSE Updated licensing information. 2011-12-20 12:47:50 +01:00
package.json Added deserialization, made some modifications 2013-10-07 08:21:00 -04:00
README.md Added deserialization, made some modifications 2013-10-07 08:21:00 -04:00

bitcoinjs-lib

A library containing Bitcoin client-side functionality in JavaScript, most notably ECDSA signing and verification.

Status

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

  • Run npm run-script compile to 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 put in var Bitcoin = require('bitcoinjs-lib').

License

This library is free and open-source software released under the MIT license.

Copyright

BitcoinJS (c) 2011-2012 Stefan Thomas
Released under MIT license
http://bitcoinjs.org/

JSBN (c) 2003-2005 Tom Wu
Released under BSD license
http://www-cs-students.stanford.edu/~tjw/jsbn/

CryptoJS (c) 20092012 by Jeff Mott
Released under New BSD license
http://code.google.com/p/crypto-js/