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 a15973e404 Renaming to BitcoinCash.js 7 years ago
benchmark Speed up isPublicKeyOut 10 years ago
docs Renaming to BitcoinCash.js 7 years ago
lib fix for node8 7 years ago
test support bitcoincash: protocolhandler 7 years ago
.coveralls.yml Update coveralls. 9 years ago
.gitignore ignore browser build signatures 10 years ago
.jsdoc.conf polish README 10 years ago
.jshintrc Fixed issue with handling invalid output scripts 10 years ago
.travis.yml Update .travis.yml 8 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 Renaming to BitcoinCash.js 7 years ago
bitcore-lib.js Renaming to BitcoinCash.js 7 years ago
bower.json Bump package version to 0.13.19 8 years ago
gulpfile.js Changed package name to bitcore-lib. 9 years ago
index.js Revert "Merge pull request #160 from matiu/cash" 7 years ago
karma.conf.js use gulp-bitcore for gulp 10 years ago
npm-shrinkwrap.json fix for node8 7 years ago
package.json Renaming to BitcoinCash.js 7 years ago

README.md

BitcoinCash.js v0.1

NPM Package Build Status Coverage Status

A pure 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.