{"name":"bitcore-lib-cash","version":"10.7.0","description":"A pure and powerful JavaScript Bitcoin Cash library.","author":"BitPay <dev@bitpay.com>","main":"index.js","scripts":{"test":"gulp test","test:ci":"npm run test","coverage":"gulp coverage","build":"gulp","pub":"npm run build && npm publish"},"keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"repository":{"type":"git","url":"https://github.com/bitpay/bitcore/tree/master/packages/bitcore-lib-cash"},"browser":{"request":"browser-request"},"dependencies":{"bn.js":"=4.11.8","bs58":"^4.0.1","buffer-compare":"=1.1.1","elliptic":"^6.5.3","inherits":"=2.0.1","lodash":"^4.17.20"},"devDependencies":{"base-x":"=3.0.4","bitcore-build":"^10.5.3","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","gitHead":"f1efdbe2e7b17e22c586145c450d75ea94497591","_nodeVersion":"20.15.0","_npmVersion":"lerna/8.1.8/node@v20.15.0+x64 (linux)","_id":"bitcore-lib-cash@10.7.0","dist":{"integrity":"sha512-mdAH89xO1cPIGjPIyHthynns6P8dzTknaHLyYc++PmHGbGLZlLRifNvRA0ubEi9HMkrY9xPU9nQkPvIHgz05Hg==","shasum":"fcb7ffbde263b038980b1bebaea5d59998c3a2bb","tarball":"http://registry-npm.ywwl.com/bitcore-lib-cash/download/bitcore-lib-cash-10.7.0.tgz","fileCount":152,"unpackedSize":4380727,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPF5vu0s2LavXUtKXTabyaJ4gpfgrIPWjasWJLDqryNAiAS+BO629HWR7N+jcIBHNMXmUi+5AgIamiDTUh8g+e6+w=="}],"size":913713,"noattachment":false,"key":"/bitcore-lib-cash/-/bitcore-lib-cash-10.7.0.tgz"},"_npmUser":{"name":"nitsujlangston","email":"nitsujlangston@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bitcore-lib-cash_10.7.0_1734633606763_0.3302672056662954"},"_hasShrinkwrap":false,"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[![CircleCI](https://dl.circleci.com/status-badge/img/gh/bitpay/bitcore/tree/master.svg?style=shield&task=bitcore-lib-cash)](https://dl.circleci.com/status-badge/redirect/gh/bitpay/bitcore/tree/master)\n[![Coverage Status](https://coveralls.io/repos/github/bitpay/bitcore-lib-cash/badge.svg?branch=master&path=packages/bitcore-lib-cash)](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":1734633607088,"maintainers":[{"name":"gasteve","email":"stephen@pairhome.net"},{"name":"nitsujlangston","email":"nitsujlangston@gmail.com"},{"name":"unusualbob","email":"unusualbob@gmail.com"}],"_cnpm_publish_time":1734633607088,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}