{"name":"bitcore-p2p-doge","version":"8.25.27","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.27","bloom-filter":"^0.2.0","buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","socks5-client":"^0.3.6"},"devDependencies":{"bitcore-build":"^8.25.10","brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2"},"license":"MIT","gitHead":"29765a2fd4824dd9706323f16964d9db32135d07","_id":"bitcore-p2p-doge@8.25.27","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-Q74kQcrOlvfsrjscZjp+zLGxmkfwlSQrE1v4ACViL2Q0suzn6GSQjt4yrxqNz5elng3//XvbFWRD8IRU58J8HQ==","shasum":"3fbe79e23bda2dee2165695b1ead879649f40bde","tarball":"http://registry-npm.ywwl.com/bitcore-p2p-doge/download/bitcore-p2p-doge-8.25.27.tgz","fileCount":62,"unpackedSize":586284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsoBECRA9TVsSAnZWagAAi8gQAJ1cTKeauRE1t2EJgGBy\nyC+2Kp8qCMQpNIOkz+Q5S2BW7s8N8/A9oU5AkT3/ij+fRiXQggt35zB9OTZ+\nc1vj/3kzZZQ7duTBmdhx2M06HybaBaOwROCqci97pEw0VkhhTn5bWJo4Dw8S\nGc7ZNVQIHiwAqXsAI534YcA/R8XzKDAP/Vh38FDwL0cnzWz2EZzhkjdMO7gF\nmDsg/mT5EUmW1o66Rn6vvckUuaolNFS/0CVhUkKNOBqOXZHTf1cZQXsUOxru\ngYgw0HZVpTpRHaoMUlFKrZVHkSmvtV0/qs3yJU/I4ljomvs9SCpM67Xz+Bjp\n1VwbPfDmb0wpHnElw/PsJ4Lgr17R+ztg8u38qiAkyZjth3ro9bAI9g9uCgF5\nMKdhABCHn8YJ5GL1T6v0JB8QWqJgT6vRunI7KhWhWjExyR3UR/IITH7LiyhT\nahlHmfG/S1AKIpko9vyjsqVvYooHZFI6uTpdjDtMIVHaGzCwGLeTZWz+69Nx\nWWMC7i6VvPi4HXpDK0GMVvU1ZnIDQnvsJpIdRKwFFx4p00UjVRn841LHGd7e\niyL8s6ceRPEMW5btGIPC0BvMRAaGcHtXDPvCpaCFwwVPue9RLI7xNycVODYI\n1zEnZo7cuYMvE38Pudy6UCrXtirncm6u0j1iAyT2QCeX/iHrYKDY/v6NlcHT\nQhER\r\n=DwpJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsRhzbQLUX4xlaNVK+MgvMnhlfIsPCQVMRKH6VOpvuzAiEA3HI+or5UfiTOs6LT+X9531q4elCU1DWfEgW+2hvGdSM="}],"size":205120,"noattachment":false,"key":"/bitcore-p2p-doge/-/bitcore-p2p-doge-8.25.27.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_8.25.27_1639088196604_0.09764649289940408"},"_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":1639088196765,"_cnpm_publish_time":1639088196765,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}