Drivechain for Bitcoin

BIP-300 and BIP-301 enable permissionless sidechains on Bitcoin — new features, scalability experiments, and protocol flexibility without fragmenting the base layer.

Core Concepts

Two BIPs that together enable a permissionless sidechain ecosystem on Bitcoin.

🔒

BIP-300: Hashrate Escrows

Allows BTC to move between the mainchain and sidechains via miner-voted withdrawals. Security comes from economic incentives and a slow, transparent voting process.

BIP-301: Blind Merged Mining

Miners help secure sidechains without running sidechain software. They include small metadata transactions and earn fees — zero validation needed.

🛡

BIP300301 Enforcer

A userland application that watches Bitcoin blocks and validates Drivechain deposits, withdrawals, and BMM commitments. The bridge between L1 and L2.

Thunder (L2)

A fast sidechain for Bitcoin payments. Merge-mined via BIP-301, it provides quick transaction finality while inheriting Bitcoin's proof-of-work security.

CoinShift (L2)

Trustless peer-to-peer swaps between sidechain coins and mainchain assets. Exchange L2 for BTC, BCH, LTC and more — no intermediaries.

📦

More Sidechains

BitNames (S2), BitAssets (S4), Truthcoin (S13), Photon (S99) — Drivechain supports up to 256 sidechain slots, each an independent experiment.

Architecture Overview

How the layers fit together — from Bitcoin L1 to the sidechain ecosystem.

Layer 1 Bitcoin Mainchain (Patched)

Bitcoin Core with BIP-300/301 support. Adds OP_DRIVECHAIN, sidechain deposit/withdrawal logic, and BMM transaction handling.

BIP-300 — Hashrate escrows & two-way peg
BIP-301 — Blind Merged Mining consensus
CTIP — Single UTXO per sidechain
Bridge BIP300301 Enforcer

Validates sidechain deposits, withdrawals, and BMM commitments. Connects L1 to all L2 sidechains through a unified gRPC interface.

Layer 2 Sidechains

Independent chains merge-mined with Bitcoin. Each occupies a numbered slot and can implement any feature set — payments, naming, prediction markets, swaps.

S9 Thunder — Fast payments
S15/S255 CoinShift — P2P swaps
S2 BitNames — Name system
S4 BitAssets — Asset issuance

From the Blog

Notes on building with Drivechain.

Ready to Build?

Set up a Drivechain environment and start experimenting with Bitcoin sidechains.