Stratum v2

From claude-dev-suite/claude-dev-suite · View interactive version

Stratum v2 is an AI agent skill from the GitHub repository claude-dev-suite/claude-dev-suite. Stratum V2: encrypted, miner-driven mining protocol. Job Declaration, Template Provider, allows miners to choose their own tx set. Defeats pool-level censorship. USE WHEN: deploying SV2-capable mining infrastructure, evaluating V1 vs V2, integrating with Braiins Pool / Datum.

How to use this skill

Skill file

Stratum V2

Modern protocol replacing Stratum V1. Designed by Braiins (Slush

Pool maintainers).

Spec: <https://stratumprotocol.org/specification/>.

Key improvements over V1

| Aspect | V1 | V2 |

|--------|----|----|

| Encryption | None | Noise XK (per-message AEAD) |

| Authentication | Username string | Cryptographic identity |

| Coinbase control | Pool only | Miner choice (Job Declarator) |

| Tx selection | Pool only | Miner can construct own block |

| Bandwidth | Verbose JSON | Binary (compact) |

| Multiple sub-protocols | No | Mining + Job Declaration + Template Provider + Job Negotiation |

Architecture

Multi-role:

from mempool (e.g., user's own bitcoind).

A miner running a Template Provider locally can:

  1. Build their own block template from their own bitcoind mempool.
  2. Submit hash work for that template via Job Declaration to pool.
  3. Pool verifies + accepts.
  4. Miner finds block, gets reward.

This decentralizes tx selection: miners — not pools — choose

which txs to mine.

Encryption

Noise XK handshake → ChaCha20-Poly1305 per message. Modern crypto;

defeats MITM and on-path analysis.

Channels

Status (September 2026)

Protocol crates in stratum-mining/stratum (v1.11.1, July 2026);

the role applications — pool, jd-server, jd-client, translator —

moved to stratum-mining/sv2-apps (v0.7.0, July 2026, alpha).

CKPool, Blitzpool, MKPool, NexusPool, Public Pool and PyBlock run it

as solo pools (stratumprotocol.org adoption list, September 2026).

955,318 on 25 June 2026 with the template constructed by the miner

(GoMining) via Job Declaration, not by the pool.

ANTPOOL, Block Inc., DMND, F2Pool, Foundry, MARA Foundation and

SpiderPool joined the Stratum V2 Working Group.

Braiins OS+, Bitaxe and NerdAxe; Mujina and Block's Proto still in

progress (September 2026).

provider.

Use cases

bitcoind.

Limitations

Implementations

(github.com/stratum-mining/sv2-tp, v1.1.1, July 2026). It is not a

Bitcoin Core feature: Core exposes a Cap'n Proto Mining IPC socket

(bitcoin -m node -ipcbind=unix, Core 31.0+) that sv2-tp attaches to.

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.