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 29f09ac5f6 Remove bitcore-message dependency. 7 years ago
dist Bump version to 0.1.5. 7 years ago
docs Remove bitcore-message dependency. 7 years ago
lib Remove bitcore-message dependency. 7 years ago
src Remove bitcore-message dependency. 7 years ago
test Remove bitcore-message dependency. 7 years ago
.babelrc Simplified build. 7 years ago
.gitignore Simplified build. 7 years ago
.jshintrc Fixed issue with handling invalid output scripts 10 years ago
.travis.yml Fix coveralls. 7 years ago
CONTRIBUTING.md Renaming to BitcoinCash.js 7 years ago
LICENSE Renaming to BitcoinCash.js 7 years ago
README.md Bump version to 0.1.5. 7 years ago
README.tpl.md Made library ES5 compatible. 7 years ago
bower.json Add updated bower.json. 7 years ago
gulpfile.js Remove bitcore-message dependency. 7 years ago
karma.conf.js Simplified build. 7 years ago
package-lock.json Remove bitcore-message dependency. 7 years ago
package.json Remove bitcore-message dependency. 7 years ago

README.md

BitcoinCash.js: The simple, safe, and powerful JavaScript library for Bitcoin Cash

NPM Package Build Status Coverage Status

NPM Stats

About Bitcoin Cash

Bitcoin Cash is peer-to-peer electronic cash for the Internet. It is fully decentralized, has no central bank, and requires no trusted third-parties to operate. Bitcoin Cash is the continuation of the Bitcoin project, upgraded with consensus rules that allow it to grow and scale.

About BitcoinCash.js

BitcoinCash.js is the first JavaScript library specifically made for Bitcoin Cash. It supports all major Bitcoin Cash uses cases right out of the box, keeping up-to-date with the latest network upgrades. This library can be used - and is thoroughly tested - both in the back-end (Node.js) and the front-end (web browsers).

BitcoinCash.js is a fork from bitcore-lib, which is an extremely easy-to-use and well-tested JavaScript library for Bitcoin developed by Bitpay, Inc. However, as consensus rules between BTC and BCH become more and more incompatible, BitcoinCash.js will not add support for functionality specific to BTC, such as SegWit or the bech32 address format, and will continue to support all Bitcoin Cash uses cases as first-class citizens.

Installation

Using NPM

$ npm install --save bitcoincashjs

Using Bower

$ bower install --save bitcoincashjs

Manually

You may also download the distribution file manually and place it within your third-party scripts directory: dist/bitcoincashjs.0.1.5.min.js.

Examples

You can find many useful, up-to-date examples to get you started right away on the BitcoinCash.js website or by following the next links:

Security

BitcoinCash.js is a fork from bitcore-lib, which is used in production at Bitpay Inc., and many other projects. If you find a security issue, please email bitcoincashjs@tuta.io.

Contributing

This is an open-source project, and any form of contribution is welcome. Feel free to create an issue in case you would like to share ideas for improvement, or would like to report a bug. Also, please send pull requests for bug fixes or code optimization. For more information on how to contribute, please refer to our CONTRIBUTING file.

Development

To get started with development, you should first clone the repository and install any dependencies:

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

Next, you can check everything is installed correctly by running the full test-suite and verifying that all tests are completed successfully.

$ npm test

License

Code released under the MIT license.