{"name":"bitcore-p2p-doge","version":"8.25.25","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.25","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":"3e58c226e5feacb3851049667b66b07eeac75b38","_id":"bitcore-p2p-doge@8.25.25","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-UGxRHh2YmjDT1mX5826nyrTccF6akohu1LdGp8vJlPaSGex7TwxCNYGLg2Iie1bNc10rsK57uYvK/1gLgHhI+g==","shasum":"7f32de2b6acc00d900c3e7fa8a477e70cb0b5e94","tarball":"http://registry-npm.ywwl.com/bitcore-p2p-doge/download/bitcore-p2p-doge-8.25.25.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\nwsFcBAEBCAAQBQJhrlGaCRA9TVsSAnZWagAAWeUP/0t8F3t46ahD+n83yvq0\nulijViVu/vtM/sy9mNhVjZiKevRFCzTG7wMEo6CnocT1TLGHB/OXrSM/dF2r\nXNWLpqhx5en2Kkx3F3mym3+drLQD1YpKJr6k1rpdWEve1nOs+mB7Uf2wn5xl\ntR8r9XokLISoUgUQh+vmJUR/7p3D4i69VT6G1oW8D2pRDKLgnRYOpyOealwp\nPLZq56hb0fTNYiqcG0iqzVHfcKcrjDk/CGEFCBSLETspx/3Mi5D64WV7P2CW\nMbbzOhbmO8WlU23GW5aXwU5dfLaXsbcjR0+NDgxbUFW3J26MGQQvI9B64DEb\nYRNqsmeWhPtg5bcYG1nUavIaWvaePyf6uGT8AEqeTUXVFA1HDakLT4ZUO1wh\nm/Xe7hVzeFMXI4SA5YyVopWMv1bCQWPNZu5wV7dgPfD854nOboFjXQgT+XFD\n4FJ5dRPHNsnjVPU/nvFBLO+7BOp7rjE4IZTNvg0hOzkXAwjZtI0z/PbyITpx\nEtjfGPIz334Z8q3cpfSqDsOpIbdkguvHvK+Q1OxiKl1d7iozanzpSbw5h0JL\n3iQ6ykzBVmTWyAl7CVgDCPsvHSMYmtiUgO3q4fkwziKpL3eft9QJoLlaHmb3\nAAVji7MpQKTxOBxyoOqw/ZQmbhwLUmifZBPqP51KJsVemgKzNRNh0ELsf/KI\nNXd/\r\n=q7GR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCP2j3cAVXdplRHN6UvbBnqb9v9nHXx8quAkKVMiR7lbAIgMxK9WzM9+9Gcoac1Ar+Xt2HzwrCcBRk74HgQp5Zk8K8="}],"size":205118,"noattachment":false,"key":"/bitcore-p2p-doge/-/bitcore-p2p-doge-8.25.25.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.25_1638814106764_0.2231327301448991"},"_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":1638814106946,"_cnpm_publish_time":1638814106946,"dist-tags":{"beta":"11.5.1","latest":"10.10.5"}}