# @electrum-cash/socket

> @electrum-cash/socket specifies the ElectrumSocket interface.

Latest version **4.0.1** (published 2026-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @electrum-cash/socket
pnpm add @electrum-cash/socket
yarn add @electrum-cash/socket
bun add @electrum-cash/socket
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.0.1 |
| Published | 2026-09-16 |
| First published | 2026-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 8.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jonathan Silverblood |
| Maintainers | monsterbitar |
| Keywords | electrum, bitcoin, bitcoin cash |

## Links

- npm: https://www.npmjs.com/package/@electrum-cash/socket
- Repository: https://gitlab.com/electrum-cash/socket
- Homepage: https://gitlab.com/electrum-cash/socket#readme
- Issues: https://gitlab.com/electrum-cash/socket/issues
- npm.io page: https://npm.io/package/@electrum-cash/socket

## Recent versions

- 4.0.1 (latest) — 2026-09-16
- 4.0.1-development.16528624836 (development) — 2026-09-16
- 4.0.0 — 2026-09-16

## README

# Electrum-Cash Web Socket

This package provides a specification for `ElectrumSocket`s that can be used with the `@electrum-cash/network`, `@electrum-cash/protocol` and `@electrum-cash/application` libraries.

## Implementations

See `@electrum-cash/web-socket` and `@electrum-cash/tcp-socket` for default implementations.

---
_Source: https://npm.io/package/@electrum-cash/socket · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
