{"name":"bitcore-p2p-doge","version":"10.0.21","description":"Interface to the bitcoin P2P network for bitcore","main":"index.js","scripts":{"test":"gulp test","test:ci":"npm run test","coverage":"gulp coverage","build":"gulp","pub":"npm run build && npm publish"},"keywords":["dogecoin","bitcore"],"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore.git#master"},"dependencies":{"bitcore-lib-doge":"^10.0.21","bloom-filter":"^0.2.0","buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","socks5-client":"^0.3.6"},"devDependencies":{"bitcore-build":"^10.0.21","brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2"},"license":"MIT","gitHead":"ed1ed2f132440f3d946af2c687cad0359a28f113","bugs":{"url":"https://github.com/bitpay/bitcore/issues"},"homepage":"https://github.com/bitpay/bitcore/tree/master#readme","_id":"bitcore-p2p-doge@10.0.21","_nodeVersion":"18.16.1","_npmVersion":"lerna/7.4.2/node@v18.16.1+x64 (linux)","dist":{"integrity":"sha512-IKaYATXsgoolJBJkDnvldXawCRsk2CeIx8ybD6rCou3O6d3Qv32Yw0L5L9vJRSQX7WRPKG+G+eSi5X+/hq7lDQ==","shasum":"47cf84d278f3c62901ccf65585b830e05b7fe9c8","tarball":"http://registry-npm.ywwl.com/bitcore-p2p-doge/download/bitcore-p2p-doge-10.0.21.tgz","fileCount":62,"unpackedSize":586284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF6IXCC0LY0RQ1jOOuVXg/Tj2pZ6C0En8yRQSN55/+cqAiEA/0udLV8+CVctOp+2KZ8X3PFVIzzQbuACLnWpt4cPoLc="}],"size":205122,"noattachment":false,"key":"/bitcore-p2p-doge/-/bitcore-p2p-doge-10.0.21.tgz"},"_npmUser":{"name":"nitsujlangston","email":"nitsujlangston@gmail.com"},"directories":{},"maintainers":[{"name":"nitsujlangston","email":"nitsujlangston@gmail.com"},{"name":"ematiu","email":"ematiu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-p2p-doge_10.0.21_1701384898158_0.3465700093654065"},"_hasShrinkwrap":false,"readme":"# Bitcore P2P DOGE\n\n[![NPM Package](https://img.shields.io/npm/v/bitcore-p2p-doge.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-p2p-doge)\n\n**The peer-to-peer networking protocol for DOGE.**\n\n`bitcore-p2p-doge` adds Dogecoin protocol support for Bitcore.\n\nSee [the main bitcore repo](https://github.com/bitpay/bitcore) for more information.\n\n## Getting Started\n\n```sh\nnpm install bitcore-p2p-doge\n```\n\nIn order to connect to the Dogecoin network, you'll need to know the IP address of at least one node of the network, or use [Pool](./docs/pool.md) to discover peers using a DNS seed.\n\n```javascript\nvar Peer = require('bitcore-p2p-doge').Peer;\n\nvar peer = new Peer({host: '127.0.0.1'});\n\npeer.on('ready', function() {\n  // peer info\n  console.log(peer.version, peer.subversion, peer.bestHeight);\n});\npeer.on('disconnect', function() {\n  console.log('connection closed');\n});\npeer.connect();\n```\n\nThen, you can get information from other peers by using:\n\n```javascript\n// handle events\npeer.on('inv', function(message) {\n  // message.inventory[]\n});\npeer.on('tx', function(message) {\n  // message.transaction\n});\n```\n\nTake a look at this [guide](./docs/peer.md) on the usage of the `Peer` class.\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","publish_time":1701384898419,"_cnpm_publish_time":1701384898419,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}