# bitcore-p2p-doge

> Interface to the bitcoin P2P network for bitcore

Latest version **10.10.5** (published 2025-07-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install bitcore-p2p-doge
pnpm add bitcore-p2p-doge
yarn add bitcore-p2p-doge
bun add bitcore-p2p-doge
```

## Health

**Score 30/100 (F)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: insecure dependencies; stale.

## Facts

| | |
|---|---|
| Version | 10.10.5 |
| Published | 2025-07-03 |
| First published | 2021-02-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 572.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4986 |
| Maintainers | nitsujlangston, ematiu |
| Keywords | dogecoin, bitcore |

## Links

- npm: https://www.npmjs.com/package/bitcore-p2p-doge
- Repository: https://github.com/bitpay/bitcore.git#master
- Homepage: https://github.com/bitpay/bitcore/tree/master#readme
- Issues: https://github.com/bitpay/bitcore/issues
- npm.io page: https://npm.io/package/bitcore-p2p-doge

## Dependencies (4)

- [buffers](https://npm.io/package/buffers.md) github:bitpay/node-buffers#v0.1.2-bitpay
- [bloom-filter](https://npm.io/package/bloom-filter.md) ^0.2.0
- [socks5-client](https://npm.io/package/socks5-client.md) ^0.3.6
- [bitcore-lib-doge](https://npm.io/package/bitcore-lib-doge.md) ^10.10.5

## Recent versions

- 10.10.5 (latest) — 2025-07-03
- 11.5.1 (beta) — 2026-01-28
- 11.4.5 — 2025-12-04
- 11.4.1 — 2025-11-18
- 11.3.7 — 2025-10-23
- 11.3.6 — 2025-10-10
- 11.3.2 — 2025-09-10
- 11.2.0 — 2025-07-25
- 10.10.4 — 2025-07-01
- 11.1.4 — 2025-07-01
- 11.1.1 — 2025-06-24
- 10.9.4 — 2025-06-11
- 11.0.1 — 2025-06-11
- 11.0.0 — 2025-06-04
- 10.9.2 — 2025-05-23
- … 40 more at https://npm.io/package/bitcore-p2p-doge/versions

## README

# Bitcore P2P DOGE

[![NPM Package](https://img.shields.io/npm/v/bitcore-p2p-doge.svg?style=flat-square)](https://www.npmjs.org/package/bitcore-p2p-doge)

**The peer-to-peer networking protocol for DOGE.**

`bitcore-p2p-doge` adds Dogecoin protocol support for Bitcore.

See [the main bitcore repo](https://github.com/bitpay/bitcore) for more information.

## Getting Started

```sh
npm install bitcore-p2p-doge
```

In 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.

```javascript
var Peer = require('bitcore-p2p-doge').Peer;

var peer = new Peer({host: '127.0.0.1'});

peer.on('ready', function() {
  // peer info
  console.log(peer.version, peer.subversion, peer.bestHeight);
});
peer.on('disconnect', function() {
  console.log('connection closed');
});
peer.connect();
```

Then, you can get information from other peers by using:

```javascript
// handle events
peer.on('inv', function(message) {
  // message.inventory[]
});
peer.on('tx', function(message) {
  // message.transaction
});
```

Take a look at this [guide](./docs/peer.md) on the usage of the `Peer` class.

## Contributing

See [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md) on the main bitcore repo for information about how to contribute.

## License

Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).

Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

---
_Source: https://npm.io/package/bitcore-p2p-doge · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
