{"_id":"@anypay/bitcore-lib","name":"@anypay/bitcore-lib","dist-tags":{"latest":"10.0.18"},"versions":{"10.0.18":{"name":"@anypay/bitcore-lib","version":"10.0.18","description":"A pure and powerful JavaScript Bitcoin 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":{"bech32":"=2.0.0","bip-schnorr":"=0.6.4","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":{"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@10.0.18","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-A7hMyOqBcN1vC66W2R5lwxRb/t0FxLXqyQPOQBWYPQOwQwBhfRqGtPqqFFrqH5dAtctRIeKZzIHbkevyBSnJgQ==","shasum":"d9465ca1caca7d205ac11e0272bf2d59a0fb5b94","tarball":"https://registry.npmjs.org/@anypay/bitcore-lib/-/bitcore-lib-10.0.18.tgz","fileCount":144,"unpackedSize":2336547,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAPcJITPP9YK3BYDJf0EUiGf3fIFsY55rfQYD6kRnLzQIhAPkYK/IZOClw+ixRMWFXDWQ1vQSXhtEeFVOYSifwZgsm"}]},"_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_10.0.18_1700783137872_0.31875381768821187"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-23T23:45:37.759Z","10.0.18":"2023-11-23T23:45:38.139Z","modified":"2023-11-23T23:45:38.493Z"},"maintainers":[{"name":"stevenzeiler","email":"me@stevenzeiler.com"},{"name":"anypayops","email":"ops@anypayx.com"}],"description":"A pure and powerful JavaScript Bitcoin 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 JavaScript Library for Bitcoin\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\n**A pure and powerful JavaScript library for Bitcoin.**\n\n## Principles\n\nBitcoin is a powerful new 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. Bitcore JavaScript Library provides a reliable API for JavaScript apps that need to interface with Bitcoin.\n\n## Get Started\n\nClone the Bitcore monorepo and `npm install`:\n```sh\ngit clone https://github.com/bitpay/bitcore.git\nnpm install\n```\n`cd` into bitcore-lib repository:\n```sh\ncd packages/bitcore-lib\n```\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\n## Running Tests\n\n```sh\nnpm test\n```\n\nYou can also run just the Node.js tests with `gulp test:node`, just the browser tests with `gulp test:browser` or create a test coverage report (you can open `coverage/lcov-report/index.html` to visualize it) with `gulp coverage`.\n\n## Documentation \n\n### Addresses and Key Management\n\n- [Addresses](docs/address.md)\n- [Using Different Networks](docs/networks.md)\n- [Private Keys](docs/privatekey.md) and [Public Keys](docs/publickey.md)\n- [Hierarchically-derived Private and Public Keys](docs/hierarchical.md)\n\n### Payment Handling\n\n- [Using Different Units](docs/unit.md)\n- [Acknowledging and Requesting Payments: Bitcoin URIs](docs/uri.md)\n- [The Transaction Class](docs/transaction.md)\n- [Unspent Transaction Output Class](docs/unspentoutput.md)\n\n### Bitcoin Internals\n\n- [Scripts](docs/script.md)\n- [Block](docs/block.md)\n\n### Extra\n\n- [Crypto](docs/crypto.md)\n- [Encoding](docs/encoding.md)\n\n### Module Development\n\n- [Browser Builds](docs/browser.md)\n\n### Modules\n\nSome functionality is implemented as a module that can be installed separately:\n\n- [Peer to Peer Networking](https://github.com/bitpay/bitcore/tree/master/packages/bitcore-p2p)\n- [Bitcoin Core JSON-RPC](https://github.com/bitpay/bitcoind-rpc)\n- [Payment Channels](https://github.com/bitpay/bitcore-channel)\n- [Mnemonics](https://github.com/bitpay/bitcore/tree/master/packages/bitcore-mnemonic)\n- [Elliptical Curve Integrated Encryption Scheme](https://github.com/bitpay/bitcore-ecies)\n- [Blockchain Explorers](https://github.com/bitpay/bitcore-explorers)\n- [Signed Messages](https://github.com/bitpay/bitcore-message)\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## Security\n\nWe're using the Bitcore JavaScript Library 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-2022 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.\n","readmeFilename":"README.md"}