project screenshot 1
project screenshot 2
project screenshot 3

ZKBridge

A secure cross-chain bridge with zero-knowledge proofs for seamless token transfers between networks

ZKBridge

Created At

ETHGlobal Cannes

Winner of

Saga

Saga - Best dApp built on Saga Chain 2nd place

Project Description

ZK Bridge is a cutting-edge cross-chain bridge application that revolutionizes how users transfer tokens between different blockchain networks. At its core, the project leverages zero-knowledge proof technology to ensure secure and private transactions while maintaining a trustless environment. The bridge currently connects several major test networks including Saga, Flow, Mantle and Ronin. Users can seamlessly transfer tokens between any of these networks through an intuitive and modern interface. The application handles all the complexity of cross-chain transfers behind the scenes, from network switching to proof generation and verification. What sets ZK Bridge apart is its implementation of zero-knowledge proofs. When a user initiates a transfer, the system generates a cryptographic proof that verifies the transaction's validity without revealing its details. This proof is then verified by smart contracts on both the source and destination chains, ensuring complete security and privacy throughout the transfer process.

The main BridgeWithZKP contract works in conjunction with specialized verifier contracts on each chain to process transfers. Supporting contracts handle token swapping, liquidity management, and proof verification, creating a robust and reliable system for cross-chain operations. There is also a verifier Smart contract for verifying the ZK-commitments.

The project is designed to be extensible, allowing for future network additions like Solana, non-EVM chains and feature enhancements.

How it's Made

ZKBridge was built using React.js for the frontend with styled-components for a modern glass-morphism design. The core functionality relies on Web3-React for blockchain interactions and wallet connections across multiple test networks (Saga, Flow, Mantle and Ronin.). The project uses two main smart contracts: BridgeWithZKP.sol handles the token transfers and bridge operations, while IZKPVerifier.sol manages the zero-knowledge proof verification process. Both contracts are written in Solidity and deployed using Hardhat. Each supported network has its own instance of these contracts to ensure secure cross-chain transfers.

background image mobile

Join the mailing list

Get the latest news and updates