{"_id":"@blockcore/bitcore-lib-city","_rev":"1-6c9f0945bd58e546dc9bc726e8ceb8cd","name":"@blockcore/bitcore-lib-city","dist-tags":{"latest":"8.22.2"},"versions":{"8.22.2":{"name":"@blockcore/bitcore-lib-city","version":"8.22.2","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":"https://github.com/block-core/blockcore-bitcore/tree/master/packages/bitcore-lib"},"browser":{"request":"browser-request"},"dependencies":{"bech32":"1.1.3","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":"^8.22.2","brfs":"^2.0.1","chai":"^4.2.0","gulp":"^4.0.0","sinon":"^7.1.1"},"license":"MIT","gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","_id":"@blockcore/bitcore-lib-city@8.22.2","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-K6vx/65XPaIYAPYdOfMEJgZFlWguqWGm6tUF1TqhFJBHlxfwK3c1Ne0aNaabiIoZcJdnnHgFuIGbdR2fRQncHQ==","shasum":"957700457853c8ff7cf25f6c4ebca5e2832812db","tarball":"https://registry.npmjs.org/@blockcore/bitcore-lib-city/-/bitcore-lib-city-8.22.2.tgz","fileCount":146,"unpackedSize":3121167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfg0/ACRA9TVsSAnZWagAAIRsP/2xu1/42Hcp5mJbMLqCP\naeJvT3OxkmwtcPofr9CM1KphkIMDBBkfK6gvv8Z6LGPScM/GVvDsXwK8IDZa\n70GepjDkWnN9ZFH1fKUAK4yYfzAyzba4HCxFh9XB9NbQptRR0lqKlvzc3TIH\nJk/a6HKlrYJJPHhtPkY7giAB+LxR93qX1QtQfcpCeAlVRjjL3hkpxSCG1MmI\nTCQXCmThByLJvQZkOFjY6HsC1GTGMZ7WKlRd1lHit61oapx4JA2lM+XGl+US\n+f2uIG+5LC73xtpQgA5bjFq6OBiCp4wpw82R3EeMt0SUZUcUH8bO982Dfxc5\nx23lr/SMU2WJByj73MxU2Zp7+h7hPEozVs9eFHAGCVwSjY9953luGuD1gPFw\n3KmeA0/Jbz+egd19WyKzKtDv/BRkHxPHXzTGfZnfXicCG9T1hOQn1ixBdJuh\nbKS0WxJqFiDb3uejw+BgtWkS1kgsH7fY00eZM5pIB+wm9Gzlx068NGmZZAS4\nEM/SwyRckLIepnKc5ydh7kDGyG+8u2lhPCb2zu0H4HmyjAa9GWztNjxwzA5o\n2NbH0Bs9uc9/G7GPBkqtydHW5YrF4crlUOLIdz067izg/CBDFRGnwy845nEd\n2Tbz0Cb6+j7bvOMe0LJtwP7ZNvi7TFKQ1x2WiCZ5XvCixrAh30NJ2KgLcJvw\n3thL\r\n=ufmU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbK6QX0zbJGewz0SPpqpep/5mKFveaBDYeoyx6ab4MYwIhALu58IhLBKCOyaUcdiUreaThmUumrE21BHdn/6LueoZc"}]},"maintainers":[{"name":"sondreb","email":"pixelworld@hotmail.com"}],"_npmUser":{"name":"sondreb","email":"pixelworld@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-lib-city_8.22.2_1602441151767_0.5967842715120186"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-11T18:32:31.553Z","8.22.2":"2020-10-11T18:32:32.073Z","modified":"2022-04-04T19:37:04.896Z"},"maintainers":[{"name":"sondreb","email":"pixelworld@hotmail.com"}],"description":"A pure and powerful JavaScript Bitcoin library.","keywords":["bitcoin","transaction","address","p2p","ecies","cryptocurrency","blockchain","payment","bip21","bip32","bip37","bip69","bip70","multisig"],"repository":{"type":"git","url":"https://github.com/block-core/blockcore-bitcore/tree/master/packages/bitcore-lib"},"author":{"name":"BitPay","email":"dev@bitpay.com"},"license":"MIT","readme":"# Bitcore Lib\r\n\r\n[![NPM Package](https://img.shields.io/npm/v/bitcore-lib.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-lib)\r\n[![Build Status](https://img.shields.io/travis/bitpay/bitcore-lib.svg?branch=master&style=flat-square)](https://travis-ci.org/bitpay/bitcore-lib)\r\n[![Coverage Status](https://img.shields.io/coveralls/bitpay/bitcore-lib.svg?style=flat-square)](https://coveralls.io/r/bitpay/bitcore-lib)\r\n\r\n**A pure and powerful JavaScript Bitcoin library.**\r\n\r\n## Principles\r\n\r\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.\r\n\r\n## Get Started\r\n\r\n```sh\r\nnpm install bitcore-lib\r\n```\r\n\r\n```sh\r\nbower install bitcore-lib\r\n```\r\n\r\n## Documentation\r\n\r\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.\r\n\r\n## Examples\r\n\r\n- [Generate a random address](docs/examples.md#generate-a-random-address)\r\n- [Generate a address from a SHA256 hash](docs/examples.md#generate-a-address-from-a-sha256-hash)\r\n- [Import an address via WIF](docs/examples.md#import-an-address-via-wif)\r\n- [Create a Transaction](docs/examples.md#create-a-transaction)\r\n- [Sign a Bitcoin message](docs/examples.md#sign-a-bitcoin-message)\r\n- [Verify a Bitcoin message](docs/examples.md#verify-a-bitcoin-message)\r\n- [Create an OP RETURN transaction](docs/examples.md#create-an-op-return-transaction)\r\n- [Create a 2-of-3 multisig P2SH address](docs/examples.md#create-a-2-of-3-multisig-p2sh-address)\r\n- [Spend from a 2-of-2 multisig P2SH address](docs/examples.md#spend-from-a-2-of-2-multisig-p2sh-address)\r\n\r\n## Building the Browser Bundle\r\n\r\nTo build a bitcore-lib full bundle for the browser:\r\n\r\n```sh\r\ngulp browser\r\n```\r\n\r\nThis will generate files named `bitcore-lib.js` and `bitcore-lib.min.js`.\r\n\r\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/CHANGELOG.md).\r\n\r\n## Development & Tests\r\n\r\n```sh\r\ngit clone https://github.com/bitpay/bitcore-lib\r\ncd bitcore-lib\r\nnpm install\r\n```\r\n\r\nRun all the tests:\r\n\r\n```sh\r\ngulp test\r\n```\r\n\r\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`.\r\n\r\n## Security\r\n\r\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.\r\n\r\nIf you find a security issue, please email security@bitpay.com.\r\n\r\n## Contributing\r\n\r\nSee [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/Contributing.md) on the main bitcore repo for information about how to contribute.\r\n\r\n## License\r\n\r\nCode released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).\r\n\r\nCopyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.\r\n","readmeFilename":"README.md"}