{"name":"bitcore-lib-cash","version":"8.0.0","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@8.0.0","maintainers":[{"name":"ematiu","email":"ematiu@gmail.com"}],"dist":{"shasum":"72d2d3dd661c47149db35e68ff42ae06b4a32725","tarball":"http://registry-npm.ywwl.com/bitcore-lib-cash/download/bitcore-lib-cash-8.0.0.tgz","fileCount":145,"integrity":"sha512-cmaO5frGRZECzbD9b7zitbfCbNcSj+aAuA53kv5BxqE8U6OAXkzJ+23KyKrecDS8qDhJEiArLk6T+m6uuqt/kA==","signatures":[{"sig":"MEUCIQCZW7BuUo0CjeJCRGVqVFLm1djw287zlq2frmOsm9CJLQIgRGnkpvld1w0BiEMjl2u4HS3sP2iIsKxgDxqXa/y1sY0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3006299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6PVQCRA9TVsSAnZWagAA4OwP/R5qlqc4RERDQfLbm6F9\n/RNrBls/j3qGRo9EkOP+2xUTHpP3D/zjKxelYhqzqSqemmcrjfp2V/ClDj5y\nKPdoMVHIF4liHCa/IYiYeUezF/dgNyMAxtPV7Q6KwgfWjb9hmqJ96p/SPUXO\nZwSmhT7hU2qs6mpLGH/ErgdseM+SccghtaUo8ke4AAYTfSGX+eKJDLNC8CkQ\nQwXodwQfb97znYpijkObIoJyIs6ikYpZD9mYxlnjJ3HczPraGqTKiCB/7R7z\nbxjqt9I6Cc+ssPieZwIlLIXvXJGTzO2DU97W9UwiFVfqgKYObh0u7kpCVBXn\nHq2gh5PrrzwLG6K1B61qDQH6/IbCcFtI957g2f2Q9Bc+Gbp4O8JqkysJLzEF\nHIZV4K876qG0yY5rXIvq9mjPNqMKKsF8wVDhSrpwlQHYeamKpW5fzRB7A8XV\n+zfI8Domlr9OxAcndWW6IfqN7Ejp5dW4b6uYAs0ZoL0mISZu6jcHmS7GwMCl\nJNF1UP2TyWvQ///Xsh6QcyRw+SkZ6zAQRclBMSD5putcfWtnbwo7//sdJaX+\ncziohiUxP7MpokkruF4zlRoV3Wqce4SSud8Q9fCBeB2hdqDHg+W4NSl7/Vsu\nqS7UT7DIqXYG8fonD7ui7LRz22X3zg0FytdviG4zyQCF0bUxOLLkXPEdy6DP\nNQP3\r\n=7P29\r\n-----END PGP SIGNATURE-----\r\n","size":979494,"noattachment":false,"key":"/bitcore-lib-cash/-/bitcore-lib-cash-8.0.0.tgz"},"main":"index.js","readme":"Bitcore Library\n=======\n\n** Bitcoin *CASH* version, please use with caution, this is still BETA **\n\n[![NPM Package](https://img.shields.io/npm/v/bitcore-lib.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-lib)\n[![Build Status](https://img.shields.io/travis/bitpay/bitcore-lib.svg?branch=master&style=flat-square)](https://travis-ci.org/bitpay/bitcore-lib)\n[![Coverage Status](https://img.shields.io/coveralls/bitpay/bitcore-lib.svg?style=flat-square)](https://coveralls.io/r/bitpay/bitcore-lib)\n\nA pure and powerful JavaScript Bitcoin *Cash* library.\n\n## Principles\n\nBitcoin Cash is an other 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\n## Bitcoin Cash changes\n\nBitcoin cash uses a different `sighash` for transaction signatures. The implementation in bitcore-cash has been tested agains the original bitcoin-cash test vectors (see sighash.json in `/test`). `bitcoin-cash` modifications in script evaluation has not been implemented yet.\n\nAn usage example of ubitcore-lib-cash can be seen at https://github.com/bitpay/copay-recovery\n\n\n## Get Started\n\n```\nnpm install bitcore-lib\n```\n\n```\nbower install bitcore-lib\n```\n\nAdding Bitcore Cash to your app's `package.json`:\n\n``` json\n  \"dependencies\": {\n         \"bitcore-lib-cash\": \"git@github.com:bitpay/bitcore-lib.git#cash\",\n          ...\n          }\n```\n\n## Documentation\n\nThe complete docs are hosted here: [bitcore documentation](http://bitcore.io/guide/). There's also a [bitcore API reference](http://bitcore.io/api/) available generated from the JSDocs of the project, where you'll find low-level details on each bitcore utility.\n\n- [Read the Developer Guide](http://bitcore.io/guide/)\n- [Read the API Reference](http://bitcore.io/api/)\n\nTo get community assistance and ask for help with implementation questions, please use our [community forums](https://forum.bitcore.io/).\n\n## Examples\n\n* [Generate a random address](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#generate-a-random-address)\n* [Generate a address from a SHA256 hash](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#generate-a-address-from-a-sha256-hash)\n* [Import an address via WIF](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#import-an-address-via-wif)\n* [Create a Transaction](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#create-a-transaction)\n* [Sign a Bitcoin message](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#sign-a-bitcoin-message)\n* [Verify a Bitcoin message](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#verify-a-bitcoin-message)\n* [Create an OP RETURN transaction](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#create-an-op-return-transaction)\n* [Create a 2-of-3 multisig P2SH address](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#create-a-2-of-3-multisig-p2sh-address)\n* [Spend from a 2-of-2 multisig P2SH address](https://github.com/bitpay/bitcore-lib/blob/master/docs/examples.md#spend-from-a-2-of-2-multisig-p2sh-address)\n\n\n## Security\n\nWe're using Bitcore in production, as are [many others](http://bitcore.io#projects), 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\nPlease send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our [CONTRIBUTING](https://github.com/bitpay/bitcore-lib/blob/master/CONTRIBUTING.md) file.\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.js` and `bitcore-lib.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 a release commit (for example, https://github.com/bitpay/bitcore-lib/commit/e33b6e3ba6a1e5830a079e02d949fce69ea33546 for v0.12.6).\n\nTo verify signatures, use the following PGP keys:\n- @braydonf: https://pgp.mit.edu/pks/lookup?op=get&search=0x9BBF07CAC07A276D `D909 EFE6 70B5 F6CC 89A3 607A 9BBF 07CA C07A 276D`\n- @gabegattis: https://pgp.mit.edu/pks/lookup?op=get&search=0x441430987182732C `F3EA 8E28 29B4 EC93 88CB  B0AA 4414 3098 7182 732C`\n- @kleetus: https://pgp.mit.edu/pks/lookup?op=get&search=0x33195D27EF6BDB7F `F8B0 891C C459 C197 65C2 5043 3319 5D27 EF6B DB7F`\n- @matiu: https://pgp.mit.edu/pks/lookup?op=get&search=0x9EDE6DE4DE531FAC `25CE ED88 A1B1 0CD1 12CD  4121 9EDE 6DE4 DE53 1FAC`\n\n\n## Development & Tests\n\n```sh\ngit clone https://github.com/bitpay/bitcore-lib\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## License\n\nCode released under [the MIT license](https://github.com/bitpay/bitcore-lib/blob/master/LICENSE).\n\nCopyright 2013-2017 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.\n","browser":{"request":"browser-request"},"gitHead":"52d33fa641196e7e1b928af32b199a613a5918a9","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","bitcore-lib":"^8.0.0","buffer-compare":"=1.1.1","phantomjs-prebuilt":"^2.1.16"},"_hasShrinkwrap":false,"readmeFilename":"README.md","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_8.0.0_1525216590659_0.9770449119324127","host":"s3://npm-registry-packages"},"publish_time":1525216590840,"_cnpm_publish_time":1525216590840,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}