{"name":"bitcore-lib-cash","version":"0.18.1","keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"author":{"name":"BitPay","email":"dev@bitpay.com"},"license":"MIT","_id":"bitcore-lib-cash@0.18.1","maintainers":[{"name":"ematiu","email":"ematiu@gmail.com"}],"dist":{"shasum":"43a902ac865f0116abf1285ea61be2a54317c052","tarball":"http://registry-npm.ywwl.com/bitcore-lib-cash/download/bitcore-lib-cash-0.18.1.tgz","fileCount":145,"integrity":"sha512-Y5zaQZZdHkWYK/hfMlTnKUFpaPpN/hkhTkO3u80haErM3BPCnRUA3uBQybVHjEMMvFXTmziw3Bq8jHLDmiN0lA==","signatures":[{"sig":"MEQCIDf694TULagGuvP+15TwTpiLiXniVQCX9RVBlF87beIDAiBAaFHh3IDwH8/aEXR+qfo/EWyW2PPJo2otySZRqOcwng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3012746,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDqvWCRA9TVsSAnZWagAAOOMP/isbzj8qFxJHlNYo4hD7\nniMLi3Av9PYyaltS71a8P9dDJUaMUSU1wINlFa/AYjb9GDzAlqkeyuQWQIxS\nfU12awMbN4QpL9XnSW7RIwZQ8HqQaGUhhyUu202CEAmrkulcqNDmNqgABUS6\npvJR+gf0hHbNlbh+nzDZMu8t8zezG/Gci6egfkZLcGYuo3pfYWhRFRnJkgiG\nZ1w8T/UiaNsHXhR11lPhThs6AzPJR+p5prfn20LZ6TGo2ZUdsI3060J73JKK\n759LH3QClTRYfOprvLvjAs55y5YD1e0jNwwLwZgJQrYhvj9prcnvVIyFC4yF\nttZlE8zUzIBG4NGyzTwrQ3JtFRVqV/wn2WPEozjdym794UId6hTDsqnDQXaK\nQ226IbbRf4l+5U+ydXM+ugmmjOWzGZQFPD1LSiQvAKCe+2K9Lk3YuQBHXkeT\noI4g4c9Mlz4hsAuCC2zIY6POb9YUrxsngk0NPR48UFSLGa9GzV+VjdWBYtSa\nkn/iXAf9qcCWbrUaWcie5d++6FIGPRAg+cmYfltU/b0NO9gpqwHq3bXVBpDl\n4nIHzJBkrSV3emX6P8pgiX+NdH7fRQQrwQPlP9dQuGM5aJDjrkeH9W0+XAZb\nltqFXrds0RpxKCMizI5C8j8xoiWpfuobzZR9Q/0EUXtxZmFRd+fgGiFsso40\n1Ihp\r\n=LSVh\r\n-----END PGP SIGNATURE-----\r\n","size":980139,"noattachment":false,"key":"/bitcore-lib-cash/-/bitcore-lib-cash-0.18.1.tgz"},"main":"index.js","browser":{"request":"browser-request"},"gitHead":"47c8fb79c67eda635be92c1db3ef5719f0250312","scripts":{"lint":"gulp lint","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ematiu","email":"ematiu@gmail.com"},"repository":{"url":"https://github.com/bitpay/bitcore-lib/tree/cash","type":"git"},"_npmVersion":"5.8.0","description":"A pure and powerful JavaScript Bitcoin Cash library.","directories":{},"_nodeVersion":"9.10.1","dependencies":{"bs58":"=4.0.1","bn.js":"=4.11.8","lodash":"=4.17.4","elliptic":"=6.4.0","inherits":"=2.0.1","buffer-compare":"=1.1.1","phantomjs-prebuilt":"^2.1.16"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"^1.10.0","gulp":"^3.8.10","sinon":"^1.13.0","bitcore-build":"git+https://github.com/bitpay/bitcore-build.git#d4e8b2b2f1e2c065c3a807dcb6a6250f61d67ab3"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-lib-cash_0.18.1_1527688148217_0.796985441464783","host":"s3://npm-registry-packages"},"readme":"# Bitcore Lib Cash\n\n[![NPM Package](https://img.shields.io/npm/v/bitcore-lib-cash.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-lib-cash)\n[![Build Status](https://img.shields.io/travis/bitpay/bitcore-lib-cash.svg?branch=master&style=flat-square)](https://travis-ci.org/bitpay/bitcore-lib-cash)\n[![Coverage Status](https://coveralls.io/repos/github/bitpay/bitcore-lib-cash/badge.svg)](https://coveralls.io/github/bitpay/bitcore-lib-cash)\n\n**A pure and powerful JavaScript Bitcoin *Cash* library.**\n\n## Principles\n\nBitcoin Cash is another powerful peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Bitcoin network allows for highly resilient bitcoin infrastructure, and the developer community needs reliable, open-source tools to implement bitcoin apps and services.\n\n## Bitcoin Cash changes\n\nBitcoin cash uses a different `sighash` for transaction signatures. The implementation in bitcore-cash has been tested against the original bitcoin-cash test vectors (see sighash.json in `/test`). `bitcoin-cash` modifications in script evaluation have not been implemented yet.\n\n## Get Started\n\n```sh\nnpm install bitcore-lib-cash\n```\n\nAdding Bitcore Cash to your app's `package.json`:\n\n```json\n\"dependencies\": {\n    \"bitcore-lib-cash\": \"=0.18.0\",\n    ...\n}\n```\n\n## Documentation\n\nThe complete docs are hosted here: [bitcore documentation](https://github.com/bitpay/bitcore). There's also a [bitcore API reference](https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md) available generated from the JSDocs of the project, where you'll find low-level details on each bitcore utility.\n\n## Examples\n\n- [Generate a random address](docs/examples.md#generate-a-random-address)\n- [Generate a address from a SHA256 hash](docs/examples.md#generate-a-address-from-a-sha256-hash)\n- [Import an address via WIF](docs/examples.md#import-an-address-via-wif)\n- [Create a Transaction](docs/examples.md#create-a-transaction)\n- [Sign a Bitcoin message](docs/examples.md#sign-a-bitcoin-message)\n- [Verify a Bitcoin message](docs/examples.md#verify-a-bitcoin-message)\n- [Create an OP RETURN transaction](docs/examples.md#create-an-op-return-transaction)\n- [Create a 2-of-3 multisig P2SH address](docs/examples.md#create-a-2-of-3-multisig-p2sh-address)\n- [Spend from a 2-of-2 multisig P2SH address](docs/examples.md#spend-from-a-2-of-2-multisig-p2sh-address)\n\n## Building the Browser Bundle\n\nTo build a bitcore-lib full bundle for the browser:\n\n```sh\ngulp browser\n```\n\nThis will generate files named `bitcore-lib-cash.js` and `bitcore-lib-cash.min.js`.\n\nYou can also use our pre-generated files, provided for each release along with a PGP signature by one of the project's maintainers. To get them, checkout the [releases](https://github.com/bitpay/bitcore/blob/master/packages/bitcore-lib-cash/CHANGELOG.md).\n\n## Development & Tests\n\n```sh\ngit clone https://github.com/bitpay/bitcore-lib-cash\ncd bitcore-lib\nnpm install\n```\n\nRun all the tests:\n\n```sh\ngulp test\n```\n\nYou can also run just the Node.js tests with `gulp test:node`, just the browser tests with `gulp test:browser`\nor create a test coverage report (you can open `coverage/lcov-report/index.html` to visualize it) with `gulp coverage`.\n\n## Security\n\nWe're using Bitcore in production, as are many others, but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.\n\nIf you find a security issue, please email security@bitpay.com.\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/Contributing.md) on the main bitcore repo for information about how to contribute.\n\n## License\n\nCode released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).\n\nCopyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.\n","publish_time":1527688148563,"_cnpm_publish_time":1527688148563,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}