Agentic Compliance Bridge
The Agentic Compliance Bridge is a privacy-preserving, cross-chain compliance bridge that enables institutions to safely enter a compliant DeFi Environment.
What it is
The Agentic Compliance Bridge that acts as a cryptographic gateway. It verifies private banking data (balance, jurisdiction) using Zero-Knowledge Proofs , and only releases funds from a secure escrow vault after compliance is proven. The bridge never exposes Personally Identifiable Information (PII) on-chain.
The centerpiece of our hackathon submission is the Dynamic Compliance Firewall—a smart gateway that remains locked until a valid cross-chain compliance attestation arrives. This firewall is controlled by a Customized Runtime Environment Agent that performs the heavy off-chain logic: ZKP generation, bank API audits, and cross-chain orchestration via Chainlink services.
How it Works
A human-led, agent-facilitated build. We personally designed the Agentic Compliance Bridge architecture and authored the full Product Requirements Document (PRD) to solve the critical friction point between institutional privacy and DeFi compliance. To bring this complex vision to life for the hackathon, we orchestrated a team of high-autonomy AI agents to handle the intensive coding & quality control work—translating our architectural maps and PRD into the modular, production-ready services you see in the repository. This 'Human-designed, Agent-implemented' workflow allowed for the rapid execution of a sophisticated and secure compliance prototype while I focused on the security and strategic design of the bridge.
The Compliance Bridge Architecture: The final build is a hybrid decentralized application (hDApp) defined by four core layers:
- Off-Chain Orchestration (Chainlink CRE): The "Agentic Brain" runs in a Node.js/Express environment, representing the Customized Runtime Environment (CRE). It handles the high-security bank API audits and private ZKP generation that are too sensitive for public chains.
- Smart Contracts (The On-Chain Core): Developed in Solidity 0.8.20 and deployed across Tenderly Virtual Testnets. These contracts manage the source-chain escrow and the destination-chain firewall logic.
- Privacy Layer (ZKP-Lite): Built with Circom 2.0 and SnarkJS, we implemented a custom Groth16 circuit (compliance.circom). This allows the bridge to prove specific regulatory requirements (e.g., balance > 100 ETH) without exposing any PII on-chain.
- Cross-Chain Transport (Chainlink CCIP): We integrated Chainlink CCIP as the secure message highway, ferrying serialized cryptographic proof hashes from the source audit chain to the destination firewall gate.
Links
Created by
- Justin Gramke
- Amy Hang