OmniCredit

Cross-chain lending with reputation-based credit scoring. Deposit on one chain, borrow on another.

OmniCredit

Created At

ETHGlobal Buenos Aires

Project Description

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.

How it's Made

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 protocol
  • Pyth Network provides high-frequency, oracle-validated price feeds for secure collateral valuation
  • Uniswap v4 powers our liquidation mechanism with custom hooks for dynamic fees and Dutch auctions
  • Hardhat 3.0 provides our development environment with Ignition modules for deployment and comprehensive testing infrastructure

Key Contracts:

  • ProtocolCore: Main lending pool for deposits, borrowing, and repayments
  • ContinuousCreditScore: Reputation-based scoring tied to interest payments
  • CrossChainCoordinator: Aggregates collateral value across chains
  • LiquidationManager: Manages auctions and Uniswap v4 liquidations
  • CollateralVault: Secures and reports collateral from satellite chains

The 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.

background image mobile

Join the mailing list

Get the latest news and updates

OmniCredit | ETHGlobal