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!