You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Emilio Almansi aacb479bc9 Update node version. 7 years ago
benchmark Speed up isPublicKeyOut 10 years ago
dist Simplified build. 7 years ago
docs Renaming to BitcoinCash.js 7 years ago
src Simplified build. 7 years ago
test Simplified build. 7 years ago
.babelrc Simplified build. 7 years ago
.coveralls.yml Update coveralls. 9 years ago
.gitignore Simplified build. 7 years ago
.jshintrc Fixed issue with handling invalid output scripts 10 years ago
.travis.yml Update node version. 7 years ago
.zuul.yml set specific zuul platforms 10 years ago
CONTRIBUTING.md Renaming to BitcoinCash.js 7 years ago
LICENSE Renaming to BitcoinCash.js 7 years ago
README.md Updated README.md 7 years ago
bower.json Bump package version to 0.13.19 9 years ago
gulpfile.js Simplified build. 7 years ago
index.js Simplified build. 7 years ago
karma.conf.js Simplified build. 7 years ago
package-lock.json Simplified build. 7 years ago
package.json Simplified build. 7 years ago

README.md

BitcoinCash.js

NPM Package Build Status Coverage Status

NPM Stats

A simple, safe, and powerful JavaScript Bitcoin Cash library.

Bitcoin Cash

Bitcoin Cash is the continuation of the Bitcoin project as peer-to-peer electronic cash for the Internet.

Bitcoin Cash uses a different SigHash for transaction signatures. The implementation in BitcoinCash.js has been tested agains the original Bitcoin Cash test vectors (see sighash.json in /test). Modifications in script evaluation have not yet been implemented.

Get Started

npm install --save bitcoincashjs
bower install bitcoincashjs

Documentation

The complete docs are hosted here: BitcoinCash.js documentation.

Examples

Security

BitcoinCash.js is built upon Bitcore, which is used in production at Bitpay and many other projects.

If you find a security issue, please email bitcoincashjs@tuta.io.

Contributing

Please send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our CONTRIBUTING file.

Building the Browser Bundle

To build a bitcoincashjs full bundle for the browser:

gulp browser

This will generate files named bitcoincashjs.js and bitcoincashjs.min.js.

Development & Tests

git clone https://github.com/bitcoincashjs/bitcoincashjs
cd bitcoincashjs
npm install

Run all the tests:

gulp test

You can also run just the Node.js tests with gulp test:node, just the browser tests with gulp test:browser or create a test coverage report (you can open coverage/lcov-report/index.html to visualize it) with gulp coverage.

License

Code released under the MIT license.

Copyright 2013-2017 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.