{"name":"bitcore-p2p-doge","version":"8.25.10","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.10","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":"012cc0216a9bc6b195035855bd17149bad41acd1","_id":"bitcore-p2p-doge@8.25.10","_nodeVersion":"12.21.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-JZtM7xxo11vYgQ749Gi5AcsFfW97Q515RxhTPKGtkBAPkngRYLz/6HOsLZjUlxbXaqW2Mf8ceYM50vMhWQF/VA==","shasum":"d0c7025d14c9959114a3dfb535d034e9d90aace2","tarball":"http://registry-npm.ywwl.com/bitcore-p2p-doge/download/bitcore-p2p-doge-8.25.10.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\nwsFcBAEBCAAQBQJgnUtGCRA9TVsSAnZWagAAIfAP/1Hq0XIpu9dsyMLE9boU\nm77O86Q0DU1uykrd5qQTwkCpcBr/BVgre4AVMACN6vd4DuUy42IKKW35n77f\ntyl8lxpCeRTVQMOrLxpuW/Bu1nPad8rStkFFJANQJSDkeaQTXlulsR+dP5P2\nSuhGU381wEDObC6RtEIHIrIiNC3RFhO7h+XNIMFnBOB5KbkRLAC+tgHg/q/S\n2jQegcnNVF+GM3FpS+fzIpVYm9Qo3Au/DCSeO3TZOaUkTpCm5MzuR45g9PZ3\nbens8eudmO7e9tGwwaHg3s2p9IbJA907Ppu4RuxGeLb34n4+ct9o/EB9Ylch\ngC/Vk8THb81sh1tD05g5P2ejRsC3gQtSdsy1H72sofMKw3+raHvkJWtDCKxR\nF3wGcj5eMs31VQWWLiW2e9meFAGpxvwOd6lxho6HqeyL3wI9bXveJdBABy1f\nzPbsei4DYUiWDZE3/FZNyDP8y0y+T4dcOjc21FIegmQydH8Ezxgv/2fFGxbb\nR+twr1l0mTi8a6+ZJgff5qy0TcRAEld9fMJrM1DcoOuQCmLS2rMYt+LNSU0Z\naTp+SqYD2iQ5lbCRluUkWfVhnv1qraf2CkOJ7OVrj9upO5jLGdnsw9rn2lLa\nlQSIdfHLHWGVh5EBs1DmVf6DQUCvwkqYCvVM9kEWHiDql3uvMNbeZjor6Dwa\n54Fr\r\n=Cnfd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMlKliPjctTlYAedgaS+Sa5KEr1UVoWA4NojZNSaj+oQIgWXCRvQC+j9q8oFNG0MpGEAsMNyAkOU8tfBXBDYdh3F8="}],"size":205110,"noattachment":false,"key":"/bitcore-p2p-doge/-/bitcore-p2p-doge-8.25.10.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.10_1620921157528_0.5096018689075577"},"_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":1620921157784,"_cnpm_publish_time":1620921157784,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}