ChainLens is the first autonomous DeFi analytics platform. Powered by Envio HyperSync & Gemini AI, it doesn't just track your assets—it actively manages them via secure ERC-7715 agent policies.
ChainLens is a next-generation blockchain intelligence platform that bridges the gap between passive observation and active management.
In the current DeFi landscape, users are overwhelmed by fragmented data across multiple chains and the constant need to manually sign every transaction. ChainLens solves this by combining Envio HyperSync's sub-second data indexing with Google Gemini's reasoning capabilities and the cutting-edge ERC-7715 standard for intelligent delegation.
Key Innovations:
Autonomous Agents: Unlike traditional dashboards, ChainLens can execute trades on your behalf. Users sign a single "Policy" (e.g., "Spend max 10 USDC/day on DCA"), and the agent handles the rest automatically.
Hyper-Fast Indexing: By leveraging Envio HyperSync, we bypassed the need for heavy local databases. We scan user portfolios across Ethereum, Optimism, Arbitrum, and Base in milliseconds, providing a unified "Global View" instantly.
AI-Powered Insights: Integrated Gemini AI allows users to "chat" with their portfolio (e.g., "Why did my balance drop today?"), translating raw blockchain events into human-readable explanations.
During the hackathon, we focused on building a "Lite," accessible version of ChainLens that demonstrates the power of autonomous infrastructure: Architecture: Built a lightweight Node.js/Express backend ( server-simple.js ) that acts as a secure middleware between the frontend and high-performance APIs (Envio, Tatum). Envio Integration: Implemented a custom HyperSyncService that performs parallel requests to Envio's indexing endpoints, achieving <1s portfolio scanning across 4 chains. ERC-7715 Implementation: Designed and implemented a complete UI flow for "Policy Delegation." While full wallet support is nascent, we built a robust simulation of the permission request, signing, and storage flow. AI Integration: Successfully connected Google's Gemini 2.5 Flash model to our data layer. The AI now has context-awareness of the user's Envio-fetched trade history. Frontend Polish: Developed a premium "Glassmorphism" UI using Tailwind CSS to visually differentiate the product as a modern, high-end tool.
-