Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

ZkBob

ZkBob is a multi-chain privacy application that uses zero-knowledge proofs to enable confidential transfers within stable-value pools, abstracting away cryptocurrency volatility for users.
Chainscore © 2026
definition
PRIVACY PROTOCOL

What is ZkBob?

ZkBob is an application-specific privacy solution built on zero-knowledge cryptography, enabling private transactions for stablecoins and other assets on EVM-compatible blockchains.

ZkBob is a privacy-focused application layer that allows users to deposit, transfer, and withdraw tokens—primarily stablecoins like USDC and DAI—with complete confidentiality. It functions as a privacy pool or application-specific shielded pool, leveraging zero-knowledge proofs (zk-SNARKs) to break the on-chain link between the sender and receiver. Unlike mixing services, ZkBob provides cryptographic privacy by default for all transactions within its system, ensuring amounts and participant addresses are hidden from public view on the blockchain.

The protocol's architecture is built around a smart contract, often called the pool or relayer, which holds the pooled funds. Users interact with this contract by generating zero-knowledge proofs that validate a transaction's correctness (e.g., proving they own funds and aren't double-spending) without revealing any sensitive data. For efficiency, a centralized relayer service typically submits these proofs to the chain, paying gas fees on behalf of users, which simplifies the user experience and maintains privacy by not linking the transaction to the user's primary wallet.

A core feature of ZkBob is its compliance-friendly design. It implements a conditional anonymity model, where users must pass an identity verification process to generate a privacy address. This KYC-gated or permissioned approach aims to prevent illicit use while preserving financial privacy for verified participants. The system also supports direct deposits from non-private addresses and withdrawals to fresh addresses, providing flexible privacy options. Its security relies on a trusted setup ceremony for the initial zk-SNARK parameters and ongoing audits of its cryptographic circuits.

how-it-works
PRIVACY PROTOCOL MECHANICS

How ZkBob Works

ZkBob is an application-layer privacy solution that uses zero-knowledge proofs to enable confidential transactions on EVM-compatible blockchains, shielding user identities and transaction amounts.

ZkBob operates as a privacy pool or confidential transfer protocol, where users deposit funds into a shared smart contract known as the pool. When a user makes a deposit, they receive a private commitment—a cryptographic note that acts as a secret receipt for their funds. This commitment is stored in a Merkle tree within the pool contract, which accumulates the commitments of all users without revealing their linkage to specific deposits or identities.

To make a private transfer, a user creates a zero-knowledge proof (zk-SNARK) that cryptographically demonstrates three things without revealing the underlying data: that they own a valid commitment in the pool's Merkle tree, that they are authorizing a specific amount to be sent, and that the output commitments for the sender (change) and recipient are correctly constructed. This proof is submitted to the pool's smart contract, which verifies it and updates the Merkle tree with the new commitments, effectively transferring value confidentially.

A critical component is the use of relayers. To prevent the transaction's origin from being linked to a user's public wallet address, transactions can be submitted by a third-party relayer who pays the gas fee. The user provides the relayer with the zk-SNARK proof and a small fee, and the relayer broadcasts the transaction. This decouples the on-chain transaction sender (the relayer) from the actual user, adding an extra layer of anonymity.

The protocol enforces compliance through optional privacy features. It can integrate allowlists of approved tokens and addresses, and it employs a transaction cap (e.g., $1000 per transfer) to mitigate large-scale illicit financing. These measures allow the pool to operate within regulatory frameworks while still providing strong privacy for typical user transactions, distinguishing it from fully anonymous systems like zk-SNARKs-based mixers.

In practice, a user interacts with a client application (like the ZkBob dApp) that handles the complex cryptography locally. The client generates the commitments and zero-knowledge proofs, manages the user's secret keys, and interfaces with the relayer network. This design ensures that sensitive data never leaves the user's device, maintaining a trustless model where the security of funds relies solely on cryptographic proofs and the underlying blockchain.

key-features
PRIVACY PROTOCOL

Key Features of ZkBob

ZkBob is an application-specific privacy protocol built on zero-knowledge proofs, enabling private transactions for stablecoins and other assets on EVM-compatible chains.

02

Application-Specific Design

Unlike general-purpose privacy mixers, ZkBob is designed specifically for stablecoins and compliant assets. This focus allows for optimized performance and built-in compliance features. Key design choices include:

  • Pooled Accounts: Users deposit into a shared pool, obscuring individual transaction links.
  • Fixed Denominations: Transactions use set amounts (e.g., 1, 10, 100 BOB) to enhance anonymity sets.
  • EVM Compatibility: Built to operate seamlessly on Ethereum and other EVM chains like Polygon and Optimism.
03

Direct Deposits & Withdrawals

The protocol supports two primary user actions that interact with the public ledger. A Direct Deposit allows any user to send funds from a public wallet address into the private ZkBob pool, creating a private note. A Withdrawal lets a user transfer funds from their private balance back to a public address. Both actions generate zero-knowledge proofs to validate the transaction's correctness without leaking private data on-chain.

04

Private Transfers

The core privacy operation is a shielded transfer between users within the ZkBob pool. These transfers are completely private and do not appear on the public blockchain. Users spend their private notes to create new notes for recipients, with the entire process validated by a zk-SNARK. This enables fast, low-cost private payments where only the participants have visibility into the transaction details.

05

Compliance & Access Controls

ZkBob incorporates mechanisms for regulatory compliance, distinguishing it from fully anonymous systems. Features include:

  • Access Lists: Pool administrators can restrict usage based on jurisdiction or user verification.
  • Transaction Limits: Caps on deposit and withdrawal amounts to mitigate illicit finance risks.
  • Optional Transparency: In specific, governed circumstances, a viewing key can be provided to authorized parties to audit transaction histories.
06

BOB Token & Relayer Network

The protocol uses the BOB stablecoin (pegged 1:1 to USD) as its primary private asset. To abstract gas fees for users, ZkBob employs a decentralized relayer network. Relayers submit user transactions to the blockchain and pay the gas fees, receiving a small fee in BOB for their service. This improves user experience by allowing private transactions without requiring the user to hold the native chain token (e.g., ETH, MATIC).

core-mechanisms
ZKBOB

Core Technical Mechanisms

ZkBob is a privacy-focused application protocol that uses zero-knowledge proofs to enable confidential transfers and balances on public blockchains. It functions as a shielded pool, allowing users to deposit funds and interact privately.

03

Compliance & Transaction Limits

ZkBob incorporates compliance mechanisms to align with regulatory frameworks. This includes:

  • Deposit limits: Caps on the amount that can be deposited into the pool per address or per transaction.
  • Withdrawal limits: Controls on the frequency and size of private withdrawals.
  • Address screening: Optional integration with services to screen shielded addresses against sanctions lists, allowing compliant privacy.
04

z-Addresses & Private Balances

Users interact with the pool through z-addresses, which are stealth addresses not directly linked to their public Ethereum address. When funds are deposited, the user's balance is represented as a private note (a cryptographic commitment) stored locally. The protocol's state is represented by a Merkle tree of all unspent notes, allowing users to prove ownership of a note without revealing which one it is.

05

Application-Specific Design

Unlike general-purpose privacy networks, ZkBob is an application-layer protocol typically deployed for specific stablecoins or assets. This design allows for:

  • Optimized circuit design for efficiency.
  • Custom compliance features per asset pool.
  • A simpler user experience focused on private transfers and payments, rather than arbitrary smart contract interactions.
ecosystem-usage
ZKBOB

Ecosystem & Supported Networks

ZkBob is a privacy-focused application that enables confidential transactions across multiple EVM-compatible blockchains. It uses zero-knowledge proofs to shield transaction amounts and participant identities while maintaining compliance.

01

Core Privacy Protocol

ZkBob is built on the zk-SNARK-based BOB (Balance Obfuscation) protocol. It uses a pooled account model (or shielded pool) where user funds are deposited into a smart contract. Users prove ownership and transaction validity via zero-knowledge proofs without revealing their balance or counterparty.

  • Selective Disclosure: Users can generate viewing keys to share transaction history with trusted parties for compliance.
  • Fixed Denominations: Transfers use pre-defined note values (e.g., 1, 10, 100 BOB) to simplify proof generation and enhance privacy.
02

Multi-Chain Architecture

ZkBob operates as an application-specific layer deployed on multiple EVM chains. The core privacy logic is consistent, but each deployment is a separate pool with its own liquidity. This is enabled by:

  • Chain-Specific Pools: Each supported network hosts its own instance of the ZkBob pool contract.
  • Native Bridging: A canonical bridge allows users to transfer shielded BOB tokens between supported chains while maintaining privacy, moving from a private state on one chain to a private state on another.
03

Supported Networks

ZkBob is deployed on several major EVM-compatible networks, allowing users to access privacy features where they transact.

  • Polygon (Main Hub): The primary and most liquid deployment.
  • Optimism: Layer 2 scaling solution for Ethereum.
  • Gnosis Chain: EVM chain focused on sustainability and real-world assets.
  • zkSync Era: ZK-Rollup on Ethereum.
  • Arbitrum: Leading Ethereum Layer 2 Optimistic Rollup.

Support for additional chains is added based on community governance.

04

BOB Token & Stable Transfers

The BOB token is a stable-value token pegged to USD, used as the primary asset within ZkBob pools. This design provides amount privacy without price volatility.

  • Minting/Redemption: Users deposit stablecoins (like USDC) to mint BOB tokens into the pool, and redeem BOB for the underlying asset.
  • Pool Reserves: Each chain's pool holds reserves of the underlying stablecoin to back all minted BOB, ensuring redeemability.
  • Transaction Unit: All private transfers are denominated in BOB, shielding the stablecoin equivalent value.
05

Compliance Features

ZkBob incorporates mechanisms to satisfy regulatory concerns while preserving user privacy through cryptographic proofs.

  • Viewing Keys: Users can generate a key to decrypt and share their transaction history with auditors or authorities.
  • Compliance Assurer: A designated role that can freeze specific pool notes (funds) based on a cryptographic proof of illicit activity, without knowing other users' funds.
  • Deposit Limits: Configurable limits on deposit amounts per transaction and time period to mitigate large-scale abuse.
COMPARATIVE ANALYSIS

ZkBob vs. Other Privacy Solutions

A technical comparison of privacy-enhancing technologies based on core architectural features and trade-offs.

Feature / MetricZkBob (Application-Specific)Tornado Cash (Mixing Pools)zk-SNARKs (General-Purpose)Monero (Protocol-Level)

Privacy Model

Pooled, shielded transactions

Non-custodial mixing

Private computation & state

Ring signatures & stealth addresses

Underlying Tech

zk-SNARKs (deposit/withdraw)

zk-SNARKs (withdraw proof)

zk-SNARKs (general proof)

RingCT, Bulletproofs

Privacy Set

Entire pool of shielded funds

Fixed anonymity set per pool

Determined by circuit logic

Global, dynamic anonymity set

On-Chain Footprint

Single proof per transaction

Single proof per withdrawal

Proof per verified computation

All inputs/outputs on-chain

Gas Efficiency

~200k gas per transfer

~500k gas (withdraw)

High (circuit-dependent)

Moderate

Cross-Chain Support

Native multi-chain via bridges

EVM chains only

Chain-agnostic (circuit porting)

Monero blockchain only

Compliance Features

Optional KYC for pool access

None (permissionless)

Circuit-enforced logic

None (protocol-enforced privacy)

Transaction Cost

$0.01 - $0.50 (L2)

$10 - $50+ (L1 ETH)

High (prover cost + gas)

< $0.01 (native)

use-cases
ZKBOB

Primary Use Cases

ZkBob is a privacy-focused application protocol enabling confidential transactions on EVM-compatible chains. Its core use cases leverage zero-knowledge proofs to provide selective privacy and compliance features.

04

Shielding & Unshielding Assets

A fundamental operation is shielding (depositing public funds into the private pool) and unshielding (withdrawing private funds to a public address). This two-way bridge allows users to move assets between transparent DeFi ecosystems and ZkBob's privacy pool. The process maintains a constant pool balance, ensuring the total value locked is always verifiable even as individual holdings remain confidential.

05

Cross-Chain Private Transfers

ZkBob supports confidential transfers across multiple EVM chains (e.g., Polygon, Optimism, Gnosis Chain) via its interoperability layer. Users can deposit on one network and withdraw on another while preserving privacy. This is facilitated by a messaging system that relays withdrawal requests between chains, allowing the privacy state to be maintained across different ecosystems without exposing the user's path.

06

DAO Treasury Management

Decentralized Autonomous Organizations (DAOs) use ZkBob for opaque treasury operations. It allows DAOs to make grants, pay for services, or manage internal finances without revealing strategic spending patterns or beneficiary details to the public. This prevents front-running of initiatives and protects the privacy of contributors, while still allowing for internal accountability through the selective compliance tools.

ZKBOB

Security & Trust Considerations

ZkBob is a privacy-focused application layer protocol that uses zero-knowledge proofs to enable private transfers of stablecoins. This section addresses common security questions about its architecture, trust assumptions, and operational guarantees.

ZkBob is a privacy application layer protocol that enables private, low-cost transfers of stablecoins like USDC, DAI, and BOB using zero-knowledge proofs. It works by allowing users to deposit funds into a shared, non-custodial smart contract called a pool. Users can then generate a zk-SNARK proof that they own a valid note (a private balance commitment) within the pool, allowing them to make private transfers or withdrawals without revealing the link between their public wallet address and the transaction details on-chain. The system uses a relayer network to submit transactions, shielding users from paying gas fees directly in the native token.

ZKBOB

Frequently Asked Questions (FAQ)

Common questions about ZkBob, a privacy-focused application layer protocol that uses zero-knowledge proofs to enable private transactions on public blockchains.

ZkBob is an application-layer privacy protocol that enables private, low-cost transactions on public blockchains like Polygon and Optimism. It works by using a zero-knowledge proof system where users deposit funds into a shared, shielded pool called a relayer. When a user wants to make a private transaction, they generate a zero-knowledge proof that validates the transaction's legitimacy (e.g., proving they have sufficient funds and haven't double-spent) without revealing the sender, recipient, or amount. This proof is submitted to a relayer, which batches it with others and posts it to the public blockchain. The protocol's smart contracts verify the proof and update the internal state of the shielded pool, ensuring privacy while maintaining public verifiability.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team