{"name":"bitcore-p2p-doge","version":"8.25.2","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":"https://github.com/bitpay/bitcore/tree/master/packages/bitcore-p2p-doge"},"dependencies":{"bitcore-lib-doge":"^8.25.2","bloom-filter":"^0.2.0","buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","socks5-client":"^0.3.6"},"devDependencies":{"bitcore-build":"^8.25.2","brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2"},"license":"MIT","gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","_id":"bitcore-p2p-doge@8.25.2","_nodeVersion":"10.16.2","_npmVersion":"6.9.0","dist":{"integrity":"sha512-4qXnjgfZ+7g0ewbtZ1Y8PHZFoknzsylOzpOO9yB+sszhhWfYrJhnlkcMIgWxpy0agcgq4ve3FijgtM2ZIfEDYA==","shasum":"a87ad2c8ab1399c28b24cbf536c76c2b3cfd974f","tarball":"http://registry-npm.ywwl.com/bitcore-p2p-doge/download/bitcore-p2p-doge-8.25.2.tgz","fileCount":62,"unpackedSize":586281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOBj2CRA9TVsSAnZWagAAxVUP+gL8eWkzQcj31hH43/JN\nDyfjvH2ZqUA3ZteQjiUhdTmsF4YNMuoTydvrIxx/pZNOclnx2PVJrEoQq0uY\nLJR+LuOQfraV3Cvfu8sJ+sv9hGC0lKlYtZ3vfw0ixMEoBAIuMpSJZtGKkZGt\nGVgG4tW4Y2H6QbpY79OU4NGyQ75MHeoX9g/oTbNEK/loKJ6SSHSU1TdbKpRL\nZ28jTybiWh2Ce9h3gFUZHWY/EJMJUaRtg30A1VsK6NWXxuGJPagMUwXxGF6N\n7/yLapF2tNDqA1BxPxO5hvY6FUfeRhpvwdbEtNjWlycfnWSoOGUXL7OoH8IR\nmhUnkMXKfIaP3/hBl1jbKaEeAiPd+gFGd+giKa3ZmjxyrKam9fASxUvdO0Si\nt+qzg3JQ/6yjedj0rMSZvAHRBbCHkxtzhHjiSLcSLoB15+cVCOaoXkbS/dfQ\n55oxPHIuSo5UoOa8j2oPJc/bgfxl2TRHroMTuhz0hjagx+7aoUNr5uZnZ2KY\nHpHOfSnCM85Yk7bSaQH5ooqGG1SqgbpENZ4CZc7CkEoIEWLLJT2dwdyJChzz\nj5RYvW8WATt2s/dxdU0Kr368RQOTjcNNyew4sYIWplx1qz+W/wEQXcutIdIg\nVWtaC7eZ6HFA95INJrCPlJlFqNTtBc4N+ivjWfzTDIy3a40Z3k083FeB8gEd\n9Vbr\r\n=EbPH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4tp/Ab9IbRfJudGOwkCFE5VelxDRMUuYjsRxUCbVxJQIhANvJwXVMuPwz7ht6Jb2AXgtEXmWaZ1mezZDMvhe5V605"}],"size":204726,"noattachment":false,"key":"/bitcore-p2p-doge/-/bitcore-p2p-doge-8.25.2.tgz"},"_npmUser":{"name":"ematiu","email":"ematiu@gmail.com"},"directories":{},"maintainers":[{"name":"ematiu","email":"ematiu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bitcore-p2p-doge_8.25.2_1614289142350_0.7121800058566727"},"_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":1614289142449,"_cnpm_publish_time":1614289142449,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}