{"_id":"@bcpros/bitcore-lib-cash","_rev":"5-8ace96439515d20520aefcaa8eec1715","name":"@bcpros/bitcore-lib-cash","dist-tags":{"latest":"9.0.9"},"versions":{"9.0.0":{"name":"@bcpros/bitcore-lib-cash","version":"9.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":"@bcpros/bitcore-lib-cash@9.0.0","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"homepage":"https://github.com/bitpay/bitcore/tree/master#readme","bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"dist":{"shasum":"f4ed7d324b81f5c6ab6b5b74864ee80d0b52601a","tarball":"https://registry.npmjs.org/@bcpros/bitcore-lib-cash/-/bitcore-lib-cash-9.0.0.tgz","fileCount":152,"integrity":"sha512-tykCup6LBpdeCTNWsnrvPoaN7EY3NR5tiRq580efhIByPwC9nFf10fUi6F//AUJpJeuZmdQrA8Jb3NH9W+016g==","signatures":[{"sig":"MEUCIQDkJ5boy4b/7JQedAqv/+b7pe3VPkc+bKipGpUzB8IJWQIgERw4FdF9+jGF/fjDhMAEMQArqulgHvLcziGlpgrC2Qc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4378579},"main":"index.js","browser":{"request":"browser-request"},"gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","test:ci":"npm run test","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"git+https://github.com/bitpay/bitcore.git#master","type":"git"},"_npmVersion":"10.8.2","description":"A pure and powerful JavaScript Bitcoin Cash library.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"bs58":"^4.0.1","bn.js":"=4.11.8","lodash":"^4.17.20","elliptic":"^6.5.3","inherits":"=2.0.1","buffer-compare":"=1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1","base-x":"=3.0.4","bitcore-build":"^10.5.3"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-lib-cash_9.0.0_1730963117061_0.5504978370393194","host":"s3://npm-registry-packages"}},"9.0.1":{"name":"@bcpros/bitcore-lib-cash","version":"9.0.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":"@bcpros/bitcore-lib-cash@9.0.1","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"homepage":"https://github.com/bitpay/bitcore/tree/master#readme","bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"dist":{"shasum":"d3a6dcab5e1f3383bebe3f0eda094c5d869e1dfd","tarball":"https://registry.npmjs.org/@bcpros/bitcore-lib-cash/-/bitcore-lib-cash-9.0.1.tgz","fileCount":152,"integrity":"sha512-AelBdDwETui85DshnSSE3KAy+xSgIgUzT0P3pISAZP0Mqvb/CYq3/l3udDpOGqjQDMcLYXU//Jjmcul5sMfC8Q==","signatures":[{"sig":"MEQCICJPEBnf/TzYLM9jK8ZjWoZjG5hy4j1v+zmYYTssXVCRAiArvTZk1zvgHwk0CMU457N+UJrdQWrPZ4tQRMkqjg9qGg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4380807},"main":"index.js","browser":{"request":"browser-request"},"gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","test:ci":"npm run test","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"git+https://github.com/bitpay/bitcore.git#master","type":"git"},"_npmVersion":"10.8.2","description":"A pure and powerful JavaScript Bitcoin Cash library.","directories":{},"_nodeVersion":"18.20.5","dependencies":{"bs58":"^4.0.1","bn.js":"=4.11.8","lodash":"^4.17.20","elliptic":"^6.5.3","inherits":"=2.0.1","buffer-compare":"=1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1","base-x":"=3.0.4","bitcore-build":"^10.5.3"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-lib-cash_9.0.1_1736003921291_0.828927643296371","host":"s3://npm-registry-packages-npm-production"}},"9.0.7":{"name":"@bcpros/bitcore-lib-cash","version":"9.0.7","keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"author":"BitPay <dev@bitpay.com>","license":"MIT","_id":"@bcpros/bitcore-lib-cash@9.0.7","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"dist":{"shasum":"51c9a33ff9bf8f12e1b35d8a534d58c2ed6573be","tarball":"https://registry.npmjs.org/@bcpros/bitcore-lib-cash/-/bitcore-lib-cash-9.0.7.tgz","fileCount":152,"integrity":"sha512-8Xjz2+Qw+rJg6m5cmNGQtyrzxicBJ65xjXU8tWHePVtKmbTqcPDen/l9Z5iwRLsVZe56h2kbDOQFCcDdvtMmXQ==","signatures":[{"sig":"MEYCIQCFzKN6wrxHhWqYDp/M2HWQftDsidLL5KYgAlLZreqfQwIhAL4MBSTW4QlHKnpzhUpBZ5SY3JdMTTuJJvBf0SLSkY89","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4380807},"main":"index.js","browser":{"request":"browser-request"},"gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","test:ci":"npm run test","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"https://github.com/bitpay/bitcore/tree/master/packages/bitcore-lib-cash","type":"git"},"_npmVersion":"lerna/8.1.9/node@v18.20.5+x64 (linux)","description":"A pure and powerful JavaScript Bitcoin Cash library.","directories":{},"_nodeVersion":"18.20.5","dependencies":{"bs58":"^4.0.1","bn.js":"=4.11.8","lodash":"^4.17.20","elliptic":"^6.5.3","inherits":"=2.0.1","buffer-compare":"=1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1","base-x":"=3.0.4","bitcore-build":"^10.5.3"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-lib-cash_9.0.7_1738639703403_0.007299618224741122","host":"s3://npm-registry-packages-npm-production"}},"9.0.8":{"name":"@bcpros/bitcore-lib-cash","version":"9.0.8","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":"@bcpros/bitcore-lib-cash@9.0.8","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"homepage":"https://github.com/bitpay/bitcore/tree/master#readme","bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"dist":{"shasum":"ae89945c59fe776c66122fde11c58b6c178de591","tarball":"https://registry.npmjs.org/@bcpros/bitcore-lib-cash/-/bitcore-lib-cash-9.0.8.tgz","fileCount":155,"integrity":"sha512-qpE6J0DYXICzM45wfBNxLc+fQgj7oXD4bR6dLEHijsGkKrZ935xb6HBlMXkedVoG/eJKvK1+klySwMAY31qiNQ==","signatures":[{"sig":"MEQCIBBY+vFNnjClOHalKZrgu2k5tV4saVtygs5vILMbioymAiBwJIYPdmkBPdVve673nvFP4E4Qih8iqMAsft8NqXGtfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5057261},"main":"index.js","_from":"file:bcpros-bitcore-lib-cash-9.0.8.tgz","browser":{"request":"browser-request"},"gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","test:ci":"npm run test","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"_resolved":"/tmp/f325740468b327f5b6756dbd8c729d52/bcpros-bitcore-lib-cash-9.0.8.tgz","_integrity":"sha512-qpE6J0DYXICzM45wfBNxLc+fQgj7oXD4bR6dLEHijsGkKrZ935xb6HBlMXkedVoG/eJKvK1+klySwMAY31qiNQ==","repository":{"url":"git+https://github.com/bitpay/bitcore.git#master","type":"git"},"_npmVersion":"9.6.6","description":"A pure and powerful JavaScript Bitcoin Cash library.","directories":{},"_nodeVersion":"20.2.0","dependencies":{"bs58":"^4.0.1","bn.js":"=4.11.8","lodash":"^4.17.20","elliptic":"^6.5.3","inherits":"=2.0.1","buffer-compare":"=1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1","base-x":"=3.0.4","@bcpros/bitcore-build":"9.0.8"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-lib-cash_9.0.8_1742180920484_0.5550121635645422","host":"s3://npm-registry-packages-npm-production"}},"9.0.9":{"name":"@bcpros/bitcore-lib-cash","version":"9.0.9","description":"A pure and powerful JavaScript Bitcoin Cash library.","author":{"name":"BitPay","email":"dev@bitpay.com"},"main":"index.js","keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore.git#master"},"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","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1","@bcpros/bitcore-build":"9.0.9"},"license":"MIT","gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"test":"gulp test","test:ci":"npm run test","coverage":"gulp coverage","build":"gulp","pub":"npm run build && npm publish"},"_id":"@bcpros/bitcore-lib-cash@9.0.9","bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"homepage":"https://github.com/bitpay/bitcore/tree/master#readme","_integrity":"sha512-K9dHdCAPDsYfgd1rHTfa0Boejqsbr6ZtVFCbJjxRnA4fAd3Fp2hBWgY2wz1z9ZqJDGCYodvqXC2DSrwMUqBJTg==","_resolved":"/tmp/0923e54ba9512f3ba2306fc372fff9cb/bcpros-bitcore-lib-cash-9.0.9.tgz","_from":"file:bcpros-bitcore-lib-cash-9.0.9.tgz","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-K9dHdCAPDsYfgd1rHTfa0Boejqsbr6ZtVFCbJjxRnA4fAd3Fp2hBWgY2wz1z9ZqJDGCYodvqXC2DSrwMUqBJTg==","shasum":"99c152ba386004a19f1456e5dcd44d6499ed0e38","tarball":"https://registry.npmjs.org/@bcpros/bitcore-lib-cash/-/bitcore-lib-cash-9.0.9.tgz","fileCount":155,"unpackedSize":5057941,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHpjlkXIuTNjjvyxygFWJBaGKRHs5t+Usy5qOwpsDNP7AiAXm8bSVYCpIrHkjXYF5rw7BP/Br0BBEvN7ZYINXgb0uw=="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bitcore-lib-cash_9.0.9_1746374625429_0.23331177885296417"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-07T07:05:16.930Z","modified":"2025-05-04T16:03:45.908Z","9.0.0":"2024-11-07T07:05:17.386Z","9.0.1":"2025-01-04T15:18:41.560Z","9.0.7":"2025-02-04T03:28:23.663Z","9.0.8":"2025-03-17T03:08:40.680Z","9.0.9":"2025-05-04T16:03:45.728Z"},"bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"author":{"name":"BitPay","email":"dev@bitpay.com"},"license":"MIT","homepage":"https://github.com/bitpay/bitcore/tree/master#readme","keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore.git#master"},"description":"A pure and powerful JavaScript Bitcoin Cash library.","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"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","readmeFilename":"README.md"}