CipherCipherStart building
Documentation

Introduction

Cipher is an open privacy Layer 2 for Base, validated on commodity hardware.

What is Cipher?

Cipher is an open privacy Layer 2 for Base. ETH bridges into a shielded pool, transfers move privately inside it, and withdrawals settle back to Base — anchored by Groth16 zero-knowledge proofs over BLS12-381. The validator set is designed for commodity hardware: laptops, home PCs and single-board computers running a verify-only role.

The on-chain settlement contract holds the pool merkle root, the nullifier set and the validator registry — replay protection and validator stake are enforced on Base itself.

Two primitives

Why commodity hardware?

A Groth16 proof verifies in roughly ten milliseconds on a single CPU core. Validators are verify-only — proof generation stays with the user. Any laptop, server-room leftover or single-board computer can carry the role. No GPUs, no specialised silicon, no co-location.

Economic model

Withdrawal fees do not flow to a founder account. They are credited on-chain to the validator that led verification, in the ValidatorAccount.pending_rewards field. Validators pull their earnings out via claim_rewards. There is no founder cut to remove.

The four on-chain instructions that wire the loop:

  • register_validator — anyone meeting MIN_VALIDATOR_STAKE joins the set
  • distribute_fee — credits pending_rewards on the leader's account
  • claim_rewards — validator withdraws accumulated earnings
  • slash_validator — burns 1–100% of stake for protocol violations

What's anchored on Base

Status

v0.5.0-rc5 — pre-mainnet. Audit pending. MPC ceremony in progress.

MetricValue
Lines of Rust~33,000
Tests passing407
Commits246
Proof verify time~10 ms / proof
Proof size192 bytes
Default BFT threshold7 of 10
Coordinator HAactive / passive failover, < 30s RTO
LicenseMIT

Where to go next