The Prophecy of the Cat

Drivechains, broken down

A drivechain is a separate blockchain pegged to a main chain. Coins move in, do something the main chain cannot, and move back out.

The round trip of one coin

  1. Deposit. You send coins to the sidechain’s escrow on the main chain. They appear on the sidechain.
  2. Use. You do whatever that sidechain is for: cheap payments, private spending, tokens, markets.
  3. Ask to leave. The sidechain gathers withdrawals into one bundle and proposes it to the main chain.
  4. The miners vote. Main-chain miners approve or reject the bundle, block by block, over a long window.
  5. Paid out. When the bundle has enough approvals, the escrow pays the coins back out on the main chain.

The main chain stays simple. New ideas run on sidechains that nobody is forced to use.

BIP-300: the escrow

BIP-300 is the rule for how coins get in and out. It is called a hashrate escrow, because the miners are the ones who release it.

A withdrawal bundle needs 13,150 approvals within 26,300 blocks. That takes about three to six months. The wait is deliberate: it gives everyone time to notice a bad withdrawal and vote it down.

BIP-301: the security

BIP-301 is the rule for who makes sidechain blocks and why miners care. It is called blind merged mining.

  1. Bid. A sidechain block producer pays a main-chain miner to include a hash of the sidechain block.
  2. Blind. The miner collects that fee without running any sidechain software.
  3. One labour, many chains. The same proof of work secures the main chain and every sidechain, and sidechain fees become extra income for miners.

The sidechains of eCash

Live at launch

Thunder
Payments. Large blocks for cheap, high-volume transfers.
zSide
Privacy. Shielded transactions.
BitNames
Names. Human-readable names and identity without a registrar.
BitAssets
Tokens. Issue and trade assets, with fees paid in ECX.
Truthcoin
Prediction markets, resolved by the market’s own participants.

Planned

CoinShift
Swaps between eCash and other coins without a custodian.
Photon
Quantum-resistant signatures and vaults for long-term storage.

New sidechains can be added without changing the main chain’s rules.

The trade-offs, stated plainly

Bitcoin argued about these trade-offs for ten years without running them. eCash runs them. What eCash is.