{"_id":"@anypay/bitcore-lib-cash","_rev":"3-f4ff1d0b656d10b4d4e03c72d922ab92","name":"@anypay/bitcore-lib-cash","dist-tags":{"latest":"10.0.20"},"versions":{"0.20.0":{"name":"@anypay/bitcore-lib-cash","public":"true","version":"0.20.0","description":"A pure and powerful JavaScript Bitcoin Cash library.","author":{"name":"BitPay","email":"dev@bitpay.com"},"main":"index.js","scripts":{"lint":"gulp lint","test":"gulp test","coverage":"gulp coverage","build":"gulp"},"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-lib.git#cash"},"browser":{"request":"browser-request"},"dependencies":{"bn.js":"=4.11.8","bs58":"=4.0.1","buffer-compare":"=1.1.1","elliptic":"=6.4.0","inherits":"=2.0.1","lodash":"=4.17.11"},"devDependencies":{"base-x":"=3.0.4","bitcore-build":"git+https://github.com/bitpay/bitcore-build.git#1023e8a99cd42b9241ccafe8e34c52f308c10284","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","_id":"@anypay/bitcore-lib-cash@0.20.0","gitHead":"e1bc77a4f2415edb212cc57ea37069449bf2aaef","bugs":{"url":"https://github.com/bitpay/bitcore-lib/issues"},"homepage":"https://github.com/bitpay/bitcore-lib/tree/cash#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-OBKodlGXEFvq6N+5nH/pynrHdE47+fDxEc5Yrk2/z+B1x5dtmBDj9W/KOO26DVE+A9fd/yRzA1qDjTFASNzqFg==","shasum":"471d123c17a2c8b3efeb218c839fc868900e8467","tarball":"https://registry.npmjs.org/@anypay/bitcore-lib-cash/-/bitcore-lib-cash-0.20.0.tgz","fileCount":143,"unpackedSize":2446548,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnIj/w2KZAdovRJYZ18DHFShmA72WQP4V+esN4ax1SRgIgC+O7NT3G+JvCaDM4h9u8QSYLE1Zo0lA+OQpW8RzoDI0="}]},"_npmUser":{"name":"stevenzeiler","email":"me@stevenzeiler.com"},"directories":{},"maintainers":[{"name":"stevenzeiler","email":"me@stevenzeiler.com"},{"name":"anypayops","email":"ops@anypayx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-lib-cash_0.20.0_1700782091084_0.07399799713114885"},"_hasShrinkwrap":false},"0.20.1":{"name":"@anypay/bitcore-lib-cash","public":"true","version":"0.20.1","description":"A pure and powerful JavaScript Bitcoin Cash library.","author":{"name":"BitPay","email":"dev@bitpay.com"},"main":"index.js","scripts":{"lint":"gulp lint","test":"gulp test","coverage":"gulp coverage","build":"gulp"},"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-lib.git#cash"},"browser":{"request":"browser-request"},"dependencies":{"bn.js":"=4.11.8","bs58":"=4.0.1","buffer-compare":"=1.1.1","elliptic":"=6.4.0","inherits":"=2.0.1","lodash":"=4.17.11"},"devDependencies":{"base-x":"=3.0.4","bitcore-build":"git+https://github.com/bitpay/bitcore-build.git#1023e8a99cd42b9241ccafe8e34c52f308c10284","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","_id":"@anypay/bitcore-lib-cash@0.20.1","gitHead":"e1bc77a4f2415edb212cc57ea37069449bf2aaef","bugs":{"url":"https://github.com/bitpay/bitcore-lib/issues"},"homepage":"https://github.com/bitpay/bitcore-lib/tree/cash#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-/u9QthG9d52Wk6XqdbpaDDjtrXcD+VrAy6Rrr7xz02rD2cMkoMKBsdaV+KQGF+tMIDmVjEazgiy6hONFLlph5g==","shasum":"e41a46c6bfc07f7e846eeb3005a35a2cf7e4fd59","tarball":"https://registry.npmjs.org/@anypay/bitcore-lib-cash/-/bitcore-lib-cash-0.20.1.tgz","fileCount":143,"unpackedSize":2446548,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZGjL4ct83BMsthy/yX2//r9RbNeANRnlTmLJlZsqeZgIgBQdqCFpAlkik7wO7wQnq+AyteKfzovIYqTxN+t7nVNc="}]},"_npmUser":{"name":"stevenzeiler","email":"me@stevenzeiler.com"},"directories":{},"maintainers":[{"name":"stevenzeiler","email":"me@stevenzeiler.com"},{"name":"anypayops","email":"ops@anypayx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-lib-cash_0.20.1_1700782209936_0.8575720560065605"},"_hasShrinkwrap":false},"0.20.2":{"name":"@anypay/bitcore-lib-cash","public":"true","version":"0.20.2","description":"A pure and powerful JavaScript Bitcoin Cash library.","author":{"name":"BitPay","email":"dev@bitpay.com"},"main":"index.js","scripts":{"lint":"gulp lint","test":"gulp test","coverage":"gulp coverage","build":"gulp"},"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-lib.git#cash"},"browser":{"request":"browser-request"},"dependencies":{"bn.js":"=4.11.8","bs58":"=4.0.1","buffer-compare":"=1.1.1","elliptic":"=6.4.0","inherits":"=2.0.1","lodash":"=4.17.11"},"devDependencies":{"base-x":"=3.0.4","bitcore-build":"git+https://github.com/bitpay/bitcore-build.git#1023e8a99cd42b9241ccafe8e34c52f308c10284","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","_id":"@anypay/bitcore-lib-cash@0.20.2","gitHead":"e1bc77a4f2415edb212cc57ea37069449bf2aaef","bugs":{"url":"https://github.com/bitpay/bitcore-lib/issues"},"homepage":"https://github.com/bitpay/bitcore-lib/tree/cash#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-RdHLvKDwmaB2CaHCvto85/chAnUtrfbanW3ydDgPJ1ClMaL6ZWaiRCPcftnuS4Q36y5Xy9NPIFSWVtaORHy/rg==","shasum":"274580d459463246e9e1896ff992496fe0949c2e","tarball":"https://registry.npmjs.org/@anypay/bitcore-lib-cash/-/bitcore-lib-cash-0.20.2.tgz","fileCount":143,"unpackedSize":2446625,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE/eJ4JBI2tOBAmY5vGQaZXQQV+WuLTnDqDiEgIgqeCAIhAIkoyJrGXlh8+Kg9ikOK0aMZAZ7a09mXD3ONjFPO9HXC"}]},"_npmUser":{"name":"stevenzeiler","email":"me@stevenzeiler.com"},"directories":{},"maintainers":[{"name":"stevenzeiler","email":"me@stevenzeiler.com"},{"name":"anypayops","email":"ops@anypayx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-lib-cash_0.20.2_1700782354487_0.56036753673231"},"_hasShrinkwrap":false},"10.0.20":{"name":"@anypay/bitcore-lib-cash","version":"10.0.20","description":"A pure and powerful JavaScript Bitcoin Cash library.","author":{"name":"BitPay","email":"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":"git+https://github.com/bitpay/bitcore.git#master"},"browser":{"request":"browser-request"},"dependencies":{"bitcore-lib":"^10.0.17","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.0.17","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","_id":"@anypay/bitcore-lib-cash@10.0.20","bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"homepage":"https://github.com/bitpay/bitcore/tree/master#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-7nUOzePbCUmhwnoEnQy+oi5SYxoUiID9WkBUvwzBbOluQQOLD5T0UPJS1R0QhRBEWbG4yzNPrye6wZtpoMWXIA==","shasum":"6c529dcbc89d4459a703fe9370c9db4716d314e7","tarball":"https://registry.npmjs.org/@anypay/bitcore-lib-cash/-/bitcore-lib-cash-10.0.20.tgz","fileCount":152,"unpackedSize":4372814,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOTVL9v1xGr3fM5wTCKbIJ6ktLaKIkrgoy1g4OYPXU0wIgesjdvNZFHoKE0eN8Kdn31WVaUKTrPjDLySQ+oV6A28U="}]},"_npmUser":{"name":"stevenzeiler","email":"me@stevenzeiler.com"},"directories":{},"maintainers":[{"name":"stevenzeiler","email":"me@stevenzeiler.com"},{"name":"anypayops","email":"ops@anypayx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-lib-cash_10.0.20_1700784905484_0.3588448137268967"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-23T23:28:11.000Z","0.20.0":"2023-11-23T23:28:11.396Z","modified":"2023-11-24T00:15:05.978Z","0.20.1":"2023-11-23T23:30:10.197Z","0.20.2":"2023-11-23T23:32:34.743Z","10.0.20":"2023-11-24T00:15:05.791Z"},"maintainers":[{"name":"stevenzeiler","email":"me@stevenzeiler.com"},{"name":"anypayops","email":"ops@anypayx.com"}],"description":"A pure and powerful JavaScript Bitcoin Cash library.","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"},"author":{"name":"BitPay","email":"dev@bitpay.com"},"bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"license":"MIT","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"}