{"_id":"@bcpros/bitcore-p2p-xec","_rev":"5-40ff734bad38c260f21c980662a0b4f8","name":"@bcpros/bitcore-p2p-xec","dist-tags":{"latest":"9.0.9"},"versions":{"9.0.0":{"name":"@bcpros/bitcore-p2p-xec","version":"9.0.0","keywords":["bitcoin","bitcore"],"author":{"name":"Viet","email":"vince.tran8x@gmail.com"},"license":"MIT","_id":"@bcpros/bitcore-p2p-xec@9.0.0","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"homepage":"https://github.com/bitpay/bitcore-p2p#readme","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"dist":{"shasum":"2c2ce314424cbe0258abe895f541426be170acbe","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xec/-/bitcore-p2p-xec-9.0.0.tgz","fileCount":69,"integrity":"sha512-KMZCBSk/pohvo+mQ0WBLB7bYQeEuAqjNCdAZAtwWYYOaDg7Af4T0Ikr9LFLQQs8Xdpt0PBxkaY/+3c+vGj4DyQ==","signatures":[{"sig":"MEUCIQDqtcYhbjLptfXGswMAlWDFrDTzkUbTsmHTPXJEpYqDEQIgfvWrhKrpW9vfgwRlN+vhAQ0vqEEMBODdQFLIo4yofvI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748017},"main":"index.js","gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"git+https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"9.6.6","description":"Interface to the bitcoin P2P network for ecash","directories":{},"_nodeVersion":"20.2.0","dependencies":{"buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"^9.0.0","@bcpros/bitcore-lib-xec":"^9.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xec_9.0.0_1731227013918_0.8274853304290597","host":"s3://npm-registry-packages"}},"9.0.1":{"name":"@bcpros/bitcore-p2p-xec","version":"9.0.1","keywords":["bitcoin","bitcore"],"author":{"name":"Viet","email":"vince.tran8x@gmail.com"},"license":"MIT","_id":"@bcpros/bitcore-p2p-xec@9.0.1","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"homepage":"https://github.com/bitpay/bitcore-p2p#readme","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"dist":{"shasum":"bfca62117af6cec23e567f613b8d93bca60e0303","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xec/-/bitcore-p2p-xec-9.0.1.tgz","fileCount":66,"integrity":"sha512-i/2o4oo9Y3HrC4uE7FpHRtAXyLSOHvbE50DQnnhhQf7/er0ajRh8RapPudlxp2AHzqD4g0mhQaqdAD4kYcKeiA==","signatures":[{"sig":"MEYCIQCrHkyBY4ZMLNBhSidh8kntL1+//OhgkdYCvt5ICpGkKgIhAIYPvP5pUz01W3WmNadENXR1f7m4jYhg4jvU94kXQjQy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":593367},"main":"index.js","gitHead":"012cc0216a9bc6b195035855bd17149bad41acd1","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"git+https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"10.8.2","description":"Interface to the bitcoin P2P network for ecash","directories":{},"_nodeVersion":"18.20.5","dependencies":{"buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"^9.0.1","@bcpros/bitcore-lib-xec":"^9.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xec_9.0.1_1736178721956_0.6774482398182589","host":"s3://npm-registry-packages-npm-production"}},"9.0.7":{"name":"@bcpros/bitcore-p2p-xec","version":"9.0.7","keywords":["bitcoin","bitcore"],"author":"Viet <vince.tran8x@gmail.com>","license":"MIT","_id":"@bcpros/bitcore-p2p-xec@9.0.7","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"dist":{"shasum":"dbaa205896e2971c9cd7ac31a5d729e838c8b231","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xec/-/bitcore-p2p-xec-9.0.7.tgz","fileCount":66,"integrity":"sha512-UE0aEI5Jim9JsENWPQut3+nwG0k7g+BIAvWZXI5fRc8dJYE9VyWEMiuFVfwPT790On45OTR8yFcTqJEhwqq3Tg==","signatures":[{"sig":"MEYCIQD/aUkOknLxMw1IELOLH+GiIHsDE8LvJttqiynU1Q5RWwIhAJEFnShD4OwTDBMNhLUFde7mQN9DEcGDLCC3BxEDm7Xi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":593367},"main":"index.js","gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"repository":{"url":"https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"lerna/8.1.9/node@v18.20.5+x64 (linux)","description":"Interface to the bitcoin P2P network for ecash","directories":{},"_nodeVersion":"18.20.5","dependencies":{"buffers":"bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"^9.0.7","@bcpros/bitcore-lib-xec":"^9.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"^9.0.7"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xec_9.0.7_1738639719672_0.5285813741558583","host":"s3://npm-registry-packages-npm-production"}},"9.0.8":{"name":"@bcpros/bitcore-p2p-xec","version":"9.0.8","keywords":["bitcoin","bitcore"],"author":{"name":"Viet","email":"vince.tran8x@gmail.com"},"license":"MIT","_id":"@bcpros/bitcore-p2p-xec@9.0.8","maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"homepage":"https://github.com/bitpay/bitcore-p2p#readme","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"dist":{"shasum":"4edc6955b1552307f1e34f850cc3df1f631f3053","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xec/-/bitcore-p2p-xec-9.0.8.tgz","fileCount":67,"integrity":"sha512-uhkIODsVnOyeg9pNduPNmTg7Zn60RuxpKS5SE1L+hy7b+UvkClPR+90II/1M9syyUAwm6QSFTrjc8NmNfxIzkQ==","signatures":[{"sig":"MEUCIQDXUTw78qROE6e9VS7K6QX6SR0kP5kfImSkiTxrZvBCLAIgBNdb8KyBTxnNqg5QmJ/hRXxz14X/nWuQVk0haqU8ZBc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":605459},"main":"index.js","_from":"file:bcpros-bitcore-p2p-xec-9.0.8.tgz","gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"pub":"npm run build && npm publish","test":"gulp test","build":"gulp","coverage":"gulp coverage"},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"_resolved":"/tmp/255788dfac031a0adb37be3f95cd2cba/bcpros-bitcore-p2p-xec-9.0.8.tgz","_integrity":"sha512-uhkIODsVnOyeg9pNduPNmTg7Zn60RuxpKS5SE1L+hy7b+UvkClPR+90II/1M9syyUAwm6QSFTrjc8NmNfxIzkQ==","repository":{"url":"git+https://github.com/bitpay/bitcore-p2p.git","type":"git"},"_npmVersion":"9.6.6","description":"Interface to the bitcoin P2P network for ecash","directories":{},"_nodeVersion":"20.2.0","dependencies":{"buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","bloom-filter":"^0.2.0","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"9.0.8","@bcpros/bitcore-lib-xec":"9.0.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"9.0.8"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-p2p-xec_9.0.8_1742180923640_0.8142901614289424","host":"s3://npm-registry-packages-npm-production"}},"9.0.9":{"name":"@bcpros/bitcore-p2p-xec","version":"9.0.9","description":"Interface to the bitcoin P2P network for ecash","author":{"name":"Viet","email":"vince.tran8x@gmail.com"},"main":"index.js","contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"keywords":["bitcoin","bitcore"],"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore-p2p.git"},"dependencies":{"bloom-filter":"^0.2.0","buffers":"github:bitpay/node-buffers#v0.1.2-bitpay","socks5-client":"^0.3.6","@bcpros/bitcore-lib":"9.0.9","@bcpros/bitcore-lib-xec":"9.0.9"},"devDependencies":{"brfs":"^1.2.0","chai":"~1.10.0","gulp":"^4.0.0","sinon":"^1.12.2","@bcpros/bitcore-build":"9.0.9"},"publishConfig":{"access":"public"},"license":"MIT","gitHead":"169e28b0b13c25c386faccf38a2fdc4e1275a5db","scripts":{"test":"gulp test","coverage":"gulp coverage","build":"gulp","pub":"npm run build && npm publish"},"_id":"@bcpros/bitcore-p2p-xec@9.0.9","bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"homepage":"https://github.com/bitpay/bitcore-p2p#readme","_integrity":"sha512-sdigwWMzzouobkiHycSiDV6a/BpZVMTqeLK0vGXpaFK65Kd83Z39qH1JVtQakMx7kIZbYlplKK1XKGFFHRUkrQ==","_resolved":"/tmp/30be80171a666e9275bcfda71cdf5920/bcpros-bitcore-p2p-xec-9.0.9.tgz","_from":"file:bcpros-bitcore-p2p-xec-9.0.9.tgz","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-sdigwWMzzouobkiHycSiDV6a/BpZVMTqeLK0vGXpaFK65Kd83Z39qH1JVtQakMx7kIZbYlplKK1XKGFFHRUkrQ==","shasum":"b328ade7a264fbc65c3554e4335fb98eebe2542c","tarball":"https://registry.npmjs.org/@bcpros/bitcore-p2p-xec/-/bitcore-p2p-xec-9.0.9.tgz","fileCount":67,"unpackedSize":605528,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCMaWwIOLIR7u1cnCgAXCUnqMfEx3qMacXbKc4gIuJ5TQIhAPeHPjOHCnznAMfQVyPjzoQHFoOC9h3TeYYSOSbYACuB"}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bitcore-p2p-xec_9.0.9_1746374627730_0.05577657919491297"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-10T08:23:33.811Z","modified":"2025-05-04T16:03:48.162Z","9.0.0":"2024-11-10T08:23:34.101Z","9.0.1":"2025-01-06T15:52:02.221Z","9.0.7":"2025-02-04T03:28:39.901Z","9.0.8":"2025-03-17T03:08:43.862Z","9.0.9":"2025-05-04T16:03:47.967Z"},"bugs":{"url":"https://github.com/bitpay/bitcore-p2p/issues"},"author":{"name":"Viet","email":"vince.tran8x@gmail.com"},"license":"MIT","homepage":"https://github.com/bitpay/bitcore-p2p#readme","keywords":["bitcoin","bitcore"],"repository":{"type":"git","url":"git+https://github.com/bitpay/bitcore-p2p.git"},"description":"Interface to the bitcoin P2P network for ecash","contributors":[{"name":"Justin Langston","email":"justin@bitpay.com"},{"name":"Yemel Jardi","email":"yemel@bitpay.com"},{"name":"Braydon Fuller","email":"braydon@bitpay.com"},{"name":"Ryan X. Charles","email":"ryan@bitpay.com"},{"name":"Eric Martindale","email":"eric@bitpay.com"},{"name":"Philip Hutchins","email":"philip@bitpay.com"},{"name":"Manuel Araoz","email":"maraoz@bitpay.com"},{"name":"Esteban Ordano","email":"eordano@gmail.com"},{"name":"Elichai Turkel"},{"name":"Chris Kleeschulte","email":"chrisk@bitpay.com"}],"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"readme":"# Bitcore P2P Cash\n\n[![NPM Package](https://img.shields.io/npm/v/bitcore-p2p-cash.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-p2p-cash)\n\n**The peer-to-peer networking protocol for BCH.**\n\n`bitcore-p2p-cash` adds Bitcoin Cash 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-cash\n```\n\nIn order to connect to the Bitcoin Cash 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-cash').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","readmeFilename":"README.md"}