Private Interoperability for the Multi-Chain Future
ZeroBridge is a privacy-preserving cross-chain interoperability protocol that enables trustless, decentralized, fast, and secure asset transfers between major blockchains. Powered by Zcash's Orchard shielded pool and Halo2 zero-knowledge proofs, ZeroBridge breaks on-chain linkage between deposits and withdrawals, providing true privacy for cross-chain transactions.
- β True Privacy: Leverages Zcash Orchard shielded pool to break on-chain transaction linkage
- β 6 Blockchains: Ethereum, Solana, NEAR, Mina, StarkNet, Osmosis
- β Trustless: No central authority controls funds - powered by zero-knowledge proofs
- β Decentralized: Permissionless relayer network competes to execute transactions
- β Fast: Optimized proof verification (~30 seconds to 5 minutes)
- β Secure: Multi-layer security with signature verification and nullifier protection
- β Developer-Friendly: SDK, API, and 3-line integration plugin
Build custom private cross-chain solutions with our developer toolkit.
import { ZeroBridge } from '@zerobridge/sdk';
const bridge = new ZeroBridge({ network: 'testnet' });
// Bridge ETH from Ethereum to Solana privately
await bridge.deposit({
sourceChain: 'ethereum',
targetChain: 'solana',
token: 'ETH',
amount: '1.0',
recipient: 'SolanaAddress...'
});Features:
- Cross-chain token transfers
- Privacy-preserving transactions
- Real-time status tracking
- TypeScript support with full type safety
Integrate private bridging into any web app with just 3 lines of code.
<!-- Add to your HTML -->
<script src="https://cdn.zerobridge.io/plugin.js"></script>
<div id="zerobridge-widget"></div>
<script>
ZeroBridge.init({ containerId: 'zerobridge-widget' });
</script>Features:
- Plug-and-play integration
- Customizable UI themes
- Automatic wallet detection
- Mobile-responsive design
A standalone web application for seamless private cross-chain transfers.
Visit: portal.zerobridge.io (Coming after mainnet)
Features:
- Intuitive user interface
- Support for all integrated chains
- Transaction history & tracking
- Liquidity pool management
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β User Applications β
β (Portal, Custom dApps, Integrated Plugins) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ZeroBridge SDK & API Layer β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββ΄ββββββββββββββ
βΌ βΌ
ββββββββββββββββββββ ββββββββββββββββββββ
β Gateway Smart β β Zcash Layer β
β Contracts ββββββββββΆβ (Coordinator) β
β (8 Chains) β β Orchard Pool β
ββββββββββββββββββββ ββββββββββββββββββββ
β² β²
β β
βββββββββββββββ¬ββββββββββββββ
β
βββββββββββββββ΄ββββββββββββββ
βΌ βΌ
βββββββββββββββ βββββββββββββββ
β Relayer ββββββββββββΆβ Relayer β
β Network β P2P β Network β
βββββββββββββββ βββββββββββββββ
Core Components:
- Gateway Contracts: Lock/release tokens on source/destination chains
- Zcash Coordinator: Creates shielded notes, verifies proofs, manages state
- Relayer Network: Listens for events, executes authorized transactions
- SDK/API: Developer interface for building on ZeroBridge
For detailed architecture, see TECHNICAL_ARCHITECTURE.md
Currently available:
- β Testnet deployment on 6 blockchains
- β CLI demo tool for testing
- β Core protocol implementation
- β Gateway smart contracts
- β Zcash coordinator
- β Relayer network
Coming after Mainnet:
- π ZeroBridge SDK & API
- π ZeroBridge Plugin
- π ZeroBridge Hub
- π Security audits
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install Node.js (for some chain interactions)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install 18# Clone the repository
git clone https://github.com/zerobridge/zerobridge.git
cd zerobridge
# Build the project
cargo build --release# Start the coordinator (Terminal 1)
./target/release/zcash-coordinator \
--config config/testnet.toml \
--database coordinator.db
# Start a relayer (Terminal 2)
./target/release/zerobridge-relayer \
--config config/relayer-testnet.toml
# Bridge tokens (Terminal 3)
./target/release/zerobridge-cli bridge \
--from ethereum \
--to solana \
--amount 0.1 \
--token ETH \
--recipient <SOLANA_ADDRESS>- Technical Architecture - In-depth system design
- API Reference - SDK and API documentation
- Smart Contracts - Gateway contract specifications
- Deployment Guide - How to deploy components
- Developer Guide - Build on ZeroBridge
- Security Model - Security assumptions and guarantees
| Chain | Network | Gateway Contract | Status |
|---|---|---|---|
| Ethereum | Sepolia | 0x742d35... |
β Testnet |
| Solana | Devnet | 8FGoQP... |
β Testnet |
| NEAR | Testnet | zerobridge.testnet |
β Testnet |
| Mina | Devnet | B62qr7... |
β Testnet |
| StarkNet | Testnet | 0x0a1b... |
β Testnet |
| Osmosis | Testnet | osmo1x... |
β Testnet |
1. User locks tokens on Source Chain gateway
β
2. Relayer detects TokensLocked event
β
3. Coordinator creates Zcash shielded note (Orchard)
β
4. Assets are now private and bridged
1. User submits withdrawal request with Zcash proof
β
2. Coordinator verifies Halo2 zero-knowledge proof
β
3. Coordinator signs authorization (if valid)
β
4. Relayer executes withdrawal on Destination Chain
β
5. User receives tokens privately
Privacy Guarantee: No on-chain linkage between deposit and withdrawal transactions.
- Zero-Knowledge Proofs: Halo2 proofs ensure validity without revealing information
- Coordinator Signature: All withdrawals require coordinator ECDSA signature
- Nullifier Protection: Prevents double-spending of shielded notes
- Reentrancy Guards: All contracts protected against reentrancy attacks
- Pausable Contracts: Emergency stop mechanism for all gateways
- Multi-Sig Admin: Production deployments use multi-signature wallets
We welcome contributions! ZeroBridge is open-source and community-driven.
- π Report Bugs: Open an issue with detailed reproduction steps
- π‘ Suggest Features: Share your ideas in GitHub Discussions
- π Improve Docs: Help us make documentation better
- π§ Submit PRs: Fix bugs or implement features
- π§ͺ Test: Try the testnet and report issues
# Fork and clone the repo
git clone https://github.com/uncletom29/zerobridge.git
cd zerobridge
# Install dependencies
cargo build
# Run tests
cargo test --all
# Run integration tests
./scripts/run_integration_tests.sh- Follow Rust best practices and conventions
- Write tests for new features
- Update documentation for API changes
- Use conventional commits for commit messages
Zypherpunk Hackathon 2025
- β Complete cross-chain bridging protocol with 6 blockchain integrations
- β Privacy-preserving architecture using Zcash Orchard shielded pool
- β Production-ready smart contracts for all supported chains
- β Zcash coordinator with Halo2 proof verification
- β Decentralized relayer network with P2P coordination
- β CLI demo for testing the complete flow
- β Comprehensive documentation and deployment scripts
- True Privacy: First bridge to leverage Zcash Orchard for cross-chain privacy
- 8 Diverse Chains: From EVM to Solana, NEAR, Mina, StarkNet, and Cosmos
- No Trust Assumptions: Zero-knowledge proofs eliminate trust requirements
- Permissionless Relaying: Anyone can run a relayer and earn fees
- Languages: Rust, Solidity, Cairo, CosmWasm
- Smart Contracts: 6 gateway implementations
- Supported Tokens: Any ERC20, SPL, NEP-141, CW20, etc.
- β Core protocol design
- β Gateway contracts (8 chains)
- β Zcash coordinator
- β Relayer network
- β Testnet deployment
- π Security audits (multiple firms)
- π Bug bounty program
- π Testnet stress testing
- π Economic model finalization
- π ZeroBridge SDK & API
- π ZeroBridge Plugin
- π ZeroBridge Hub
- π Developer documentation
- π Integration examples
- π Mainnet deployment (all chains)
- π Liquidity mining program
- π Governance token launch
- π Protocol DAO
- π Additional chain integrations (10+ chains)
- π Advanced privacy features
- π Institutional partnerships
- π Cross-rollup support
- X: @xerobridge
- Email: kiwiprotocol@gmail.com
ZeroBridge is open-source software licensed under the MIT License.
Built with support from:
- Zcash: Orchard shielded pool and Halo2 proof system
- Zypherpunk Hackathon: For the opportunity to build this
- Open Source Community: For the amazing tools and libraries
Special thanks to:
- Zcash Foundation
- Ethereum Foundation
- Solana Foundation
- NEAR Foundation
- Mina Foundation
- StarkWare
- Osmosis Labs
This is a Proof of Concept for the Zypherpunk Hackathon.
- Currently deployed on testnets only
- NOT production-ready - pending security audits
- Use testnet funds only - never send mainnet assets
- Smart contracts are NOT audited yet
- Use at your own risk
For production use, please wait for mainnet launch after comprehensive security audits.
If you find ZeroBridge interesting, please β star this repository to show your support!