Automated cross-chain yield optimization with real-time monitoring and user-defined guardrails.
Chameleon is a DeFi automation platform that intelligently moves idle stablecoins to the best APY opportunities across multiple blockchains. The platform leverages Avail Nexus for seamless cross-chain deposits and Vincent automation for periodic rebalancing with user-controlled permissions.
Users can deposit USDC from any supported chain through a unified interface, set custom guardrails for risk management (maximum slippage, gas ceilings, minimum APY differentials), and enable automated rebalancing that continuously optimizes their yields. The system monitors APYs across lending protocols like Aave and Compound, tracks gas costs for optimal transaction timing, and provides real-time analytics through a comprehensive dashboard.
Architecture Overview The platform consists of three main components: smart contracts for yield optimization, a React frontend for user interaction, and automated backend services for monitoring and rebalancing.
Smart Contracts (Solidity + Foundry) The core smart contracts are built with Solidity 0.8.20 and deployed using Foundry:
YieldOptimizer.sol: Main ERC4626 vault contract that manages user deposits and handles yield farming across protocols StrategyManager.sol: Executes rebalancing strategies based on APY comparisons and user guardrails YieldAggregator.sol: Aggregates yield data from multiple DeFi protocols for optimal strategy selection Contracts are deployed on both Base and Arbitrum networks, with cross-chain communication handled through Avail Nexus bridge contracts.
Frontend (React + TypeScript + Vite) The user interface is built with modern React 19 and TypeScript:
React 19 with hooks for state management and component lifecycle Vite for fast development and optimized production builds TailwindCSS + shadcn/ui for responsive, accessible component design Wagmi + ConnectKit for seamless wallet connections and transaction management Avail Nexus SDK for cross-chain deposit and bridge operations Key Technical Integrations Avail Nexus Integration:
Provides unified cross-chain deposits from any supported blockchain Handles Bridge & Execute operations for seamless asset transfers Manages cross-chain communication between Base and Arbitrum vaults Vincent Automation:
Implements scoped delegations for user-controlled automation Handles periodic rebalancing based on user-defined parameters Provides gas-optimized transaction execution

