Unicore

AI-powered cross-chain DeFi protocol with zero-knowledge privacy and decentralized solver network.

Unicore

Created At

ETHGlobal New Delhi

Project Description

UniCore is a next-generation, cross-chain DeFi protocol designed to unify liquidity and enable seamless, privacy-preserving token swaps across major Ethereum Layer-2 networks (including Ethereum mainnet, Polygon, Base, Arbitrum, and Optimism). UniCore solves the problem of liquidity fragmentation and inefficient routing by combining three core innovations: Unified Liquidity Layer: UniCore aggregates liquidity across multiple chains, allowing users to swap tokens as if all liquidity existed on a single network. This means users get the best rates and lowest slippage, regardless of which chain their assets are on. AI-Powered Routing Engine: The protocol uses machine learning (TensorFlow.js) to analyze real-time on-chain data and optimize swap routes. The AI engine finds the best path for each swap, minimizing gas fees and slippage, and can even suggest privacy-enhanced routes. Zero-Knowledge Proof-Based Cross-Chain State Verification: UniCore leverages zk-SNARKs (via Circom/snarkjs and a custom ZKVerifier contract) to enable privacy-preserving, trustless, and secure cross-chain swaps. This means users can swap assets across chains without revealing sensitive transaction details or relying on centralized bridges. Decentralized Solver Network: Instead of a centralized relayer, UniCore uses a network of “solvers” who stake tokens and compete to fulfill cross-chain swap intents. Solvers are incentivized based on speed, efficiency, and security, and their reputation is tracked on-chain. Conversational, User-Friendly Frontend: The frontend is a modern Next.js (React + TypeScript) app with wallet connect, a chat-driven swap assistant (powered by Google Gemini LLM), and a dashboard for both users and solvers. Users can interact with the protocol via a conversational interface, making DeFi accessible to everyone.

How it's Made

Technical Implementation

Smart Contracts (Solidity)

UniCoreSwap.sol: Intent-based swap execution with 1inch integration

SolverNetwork.sol: Manages solver staking, reputation, and rewards

ZKVerifier.sol: On-chain verification of snarkjs-generated proofs

Cross-chain deployment using LayerZero for secure messaging

Backend Services (Next.js + TypeScript)

1inch Fusion SDK integration for swap execution

TensorFlow.js models for AI route optimization

snarkjs proof generation and verification

Fetch.ai agents for autonomous solver coordination

Frontend (React + Next.js + Wagmi)

Clean interface with RainbowKit wallet integration

Real-time route comparison using 1inch API data

ZK proof status and privacy level indicators

Natural language processing for conversational swaps

background image mobile

Join the mailing list

Get the latest news and updates