{"_id":"@adora-wallet/adoracore-lib-cash","_rev":"1-3b278faae7109f15ebc097135fc866d0","name":"@adora-wallet/adoracore-lib-cash","dist-tags":{"latest":"8.25.31"},"versions":{"8.25.30":{"name":"@adora-wallet/adoracore-lib-cash","version":"8.25.30","description":"A pure and powerful JavaScript Bitcoin Cash library.","main":"index.js","scripts":{"test":"gulp test","test:ci":"npm run test","coverage":"gulp coverage","build":"gulp","pub":"npm run build && npm publish --access public"},"keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"repository":{"type":"git","url":"https://github.com/bitpay/adoracore/tree/master/packages/adoracore-lib-cash"},"browser":{"request":"browser-request"},"dependencies":{"@adora-wallet/adoracore-lib-btc":"^8.25.30","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","@adora-wallet/adoracore-build":"^8.25.10","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","_id":"@adora-wallet/adoracore-lib-cash@8.25.30","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-GJacvs+QiQMeZgm6+taw5nxiUAYa2wRKg1ivxDNwR+0zUarysHUOzgPZQSHbh5z1Ahw3ziciIIuL1Cum9R682A==","shasum":"2280944db8a0f938cdcf4ee3588acb13ba3cec91","tarball":"https://registry.npmjs.org/@adora-wallet/adoracore-lib-cash/-/adoracore-lib-cash-8.25.30.tgz","fileCount":149,"unpackedSize":2566932,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaoUY4Y41t06VfB9fhgKj0dFU2zGCEGiA7qq5qbti7+wIgKmHF+qsKFK3Y4Dq3ppSv2Ee7Q4GwOkjk6hTC2n2jaFE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisc8lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/2g//cUnK02VfSLiAwTzKpBrxudnuufw4Ng0QQTlRs9PSVxq99PZ1\r\nv5eV5QmTt2uegST2LIcKP2Z7xaSTmn3pFTZcaVD7Sh1r4Wr9zd1vFTgqgR0A\r\nVySrSRafJync8sXN2mu8V5vfuitgH2K0pxMTCN/LIJ6MA/5b2mZxya1L20XP\r\naKXJLexNlmJpgnVo1YE3IJTx9FIWqOIOqtEAbeVvj3GYU5qi38ZUhrnP6Ey5\r\nVH3wn9sBi8iU7CFtOUhvyTtrt7n6ROgadBwOQSF/+qFjHt5wuOh9mR/tdrVM\r\ntW2Y6DcHRys/h+wVoag9LaMVwD7SaHvv8+irgaeTsVkEiVJLxlas9wXRUamN\r\nH95X4tOxtimCP8p1mX95egAGYD9nF9Wp3HGTJkSJdS1bRvg305mBNg+vTbrJ\r\n/7HQ6FXosW9cAEwKj0d6Fcn42/fBUnQa/AbxtD9f9wh69RQlvDNvSWrxfKH9\r\nDihgzIajutC89BM8TKwK/ov3XOIh6ZNeO3Twk2NnpM9lE0m06NAio3G7TDcP\r\nR39aT6K6A77XJnsACiA67hn9pIMab36ximaCiMS/eTbbmedZkPOIDDItp+pE\r\n2ZUOGqXQw2D+fwtUWg8Pp2a0CHjFfUhrv25+NIbmyHpc73mrgRyB2Wjsm89H\r\npQ6nxYHsyVfH+mCQuj+I4xJpzMOa/FhT0EY=\r\n=5QQQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"murmuri","email":"rumblefishinfo@gmail.com"},"directories":{},"maintainers":[{"name":"murmuri","email":"rumblefishinfo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adoracore-lib-cash_8.25.30_1655820069219_0.5296191128977306"},"_hasShrinkwrap":false},"8.25.31":{"name":"@adora-wallet/adoracore-lib-cash","version":"8.25.31","description":"A pure and powerful JavaScript Bitcoin Cash library.","main":"index.js","scripts":{"test":"gulp test","test:ci":"npm run test","coverage":"gulp coverage","build":"gulp","pub":"npm run build && npm publish --access public"},"keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"repository":{"type":"git","url":"https://github.com/Rock-n-Block/adora-wallet-core/tree/master/packages/adoracore-lib-cash"},"browser":{"request":"browser-request"},"dependencies":{"@adora-wallet/adoracore-lib-btc":"^8.25.31","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","@adora-wallet/adoracore-build":"^8.25.11","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","_id":"@adora-wallet/adoracore-lib-cash@8.25.31","_nodeVersion":"12.22.9","_npmVersion":"6.14.15","dist":{"integrity":"sha512-K1tKiWuGopzD2be4ThcR4fo+Q8NDy1rq0xvGLM8R6JuEZxPTnCTwmP6QGPA8zecGWm5dtFF1N9Mk5KSAf0rtDw==","shasum":"4f7adaf85f5ac10cde90c93d8e4330e9dc10c329","tarball":"https://registry.npmjs.org/@adora-wallet/adoracore-lib-cash/-/adoracore-lib-cash-8.25.31.tgz","fileCount":149,"unpackedSize":2562029,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlh2ep+jyHA1ZHbyarT2QAokVyyssIFhiv3uRF36T/nQIgKgmr39+unDnCMfAIDkq5dx0O7gjBxTc9cL0eTXJYJ4Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKEZTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZPg/+PkVIyrsf6gOoKHDnAX3l3FgAda/jkRHeKPANsf09hLa6AGS4\r\nJ5J4e5B8tRTNM84v2h0jzCV9wO18xjNuYNObGw2JOzRLFOEchYPVWty7j9tL\r\n+4pv1I5/5QmaD50xOP6seh0TRCgEpumQQORo0HadKIAd9Ij37rC4ml3jNcJV\r\n0ZNRJ/b7R6j0WXsH1UG0iVkyVkfZu/LrzM1T+sWesGxyWmNe8oMzuWHuL/jc\r\nbQkqWf/2okFVqBkik0X6ZF3ZyfnlhC7MnQxOsFmKfB1hhESJNL3fnvLVXeex\r\neLMmRV5bG0kGomDAYDGCm9qMmXmPMasiXvySXyeh23/I9VDDLCvE7NC7fpF1\r\nM3TaJvsBRNKIYHuJe6rbJS2N4uVTgF7C7eeySQfkLBjh9OXbQ+JDMPEtRMxY\r\nfH8wls4bdnXgBEmtSlR4MMMuigCodWT76Kukw7rYW1sb4gRhK3IQAA87vdKb\r\nHa9HwfvidGd7A/L7nJgezavB1G/IPSbQTauCv35MOIDBxpWJnXzM5sw1eL6c\r\ne11y9FfOqAGXJLqIEQEEPIROJOhsPbkaMtfnqyfmOF2yitmM+g4Ocg2L3U+b\r\nFCvrosvPXP7hhjrwqK33RQOl0Vqzc35OLTDepQjT/vIBHN2A2XYxycaqvVGq\r\n1eA/Iwioi2wEGBSY0wfl4sWZzxX8geERPsI=\r\n=y6OY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"murmuri","email":"rumblefishinfo@gmail.com"},"directories":{},"maintainers":[{"name":"murmuri","email":"rumblefishinfo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adoracore-lib-cash_8.25.31_1663583827144_0.24804769155263795"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-21T14:01:09.173Z","8.25.30":"2022-06-21T14:01:09.405Z","modified":"2022-09-19T10:37:07.495Z","8.25.31":"2022-09-19T10:37:07.418Z"},"maintainers":[{"name":"murmuri","email":"rumblefishinfo@gmail.com"}],"description":"A pure and powerful JavaScript Bitcoin Cash library.","keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"repository":{"type":"git","url":"https://github.com/Rock-n-Block/adora-wallet-core/tree/master/packages/adoracore-lib-cash"},"license":"MIT","readme":"# Adoracore 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 adoracore-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 adoracore-lib-cash\n```\n\nAdding adoracore Cash to your app's `package.json`:\n\n```json\n\"dependencies\": {\n    \"adoracore-lib-cash\": \"=0.18.0\",\n    ...\n}\n```\n\n## Documentation\n\nThe complete docs are hosted here: [adoracore documentation](https://github.com/Rock-n-Block/adora-wallet-core). There's also a [adoracore API reference](https://github.com/Rock-n-Block/adora-wallet-core/blob/master/packages/adoracore-node/docs/api-documentation.md) available generated from the JSDocs of the project, where you'll find low-level details on each adoracore 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 adoracore-lib full bundle for the browser:\n\n```sh\ngulp browser\n```\n\nThis will generate files named `adoracore-lib-cash.js` and `adoracore-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/Rock-n-Block/adora-wallet-core/blob/master/packages/adoracore-lib-cash/CHANGELOG.md).\n\n## Development & Tests\n\n```sh\ngit clone https://github.com/Rock-n-Block/adora-wallet-core\ncd adoracore-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 adoracore 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\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/Rock-n-Block/adora-wallet-core/blob/master/Contributing.md) on the main adoracore repo for information about how to contribute.\n\n## License\n\nCode released under [the MIT license](https://github.com/Rock-n-Block/adora-wallet-core/blob/master/LICENSE).\n\nCopyright 2022 Adora.\n","readmeFilename":"README.md"}