OmniCredit
Cross-chain lending with reputation-based credit scoring. Deposit on one chain, borrow on another.
Problem Statement
OmniCredit is a decentralized omnichain lending protocol that enables true cross-chain borrowing without asset bridging. Users can deposit collateral on one blockchain (like Ethereum) and borrow assets on another (like Base) seamlessly. The protocol introduces a novel continuous credit scoring system (0-1000) based on cumulative interest payments, rewarding reliable borrowers with progressive LTV ratios from 50% to 150%. This creates a more capital-efficient lending market while remaining secure through an anti-gaming mechanism that prevents farm-and-run attacks. Powered by LayerZero V2 for cross-chain messaging, Pyth Network for real-time oracle pricing, and integrated with Uniswap v4 for efficient liquidations, OmniCredit unifies fragmented DeFi liquidity into a global credit system.
Solution
OmniCredit is built on a hub-and-spoke architecture with core protocol logic deployed on Base and CollateralVault contracts on satellite chains like Ethereum.Tech Stack:LayerZero V2 handles secure cross-chain messaging between vaults and the core protocolPyth Network provides high-frequency, oracle-validated price feeds for secure collateral valuationUniswap v4 powers our liquidation mechanism with custom hooks for dynamic fees and Dutch auctionsHardhat 3.0 provides our development environment with Ignition modules for deployment and comprehensive testing infrastructureKey Contracts:ProtocolCore: Main lending pool for deposits, borrowing, and repaymentsContinuousCreditScore: Reputation-based scoring tied to interest paymentsCrossChainCoordinator: Aggregates collateral value across chainsLiquidationManager: Manages auctions and Uniswap v4 liquidationsCollateralVault: Secures and reports collateral from satellite chainsThe most technically challenging aspect was designing a Sybil-resistant credit system that prevents gaming while maintaining capital efficiency. Our FeeBasedLimits contract ensures undercollateralized portions are backed by proven interest payment history. We leveraged Hardhat 3.0's advanced features for deployment scripting and achieved comprehensive test coverage with fuzzing and invariant testing. The protocol has undergone thorough auditing and remediation of all identified vulnerabilities.
Hackathon
ETHGlobal Buenos Aires
2025
Contributors
- VincenzoImp
49 contributions