App that inspects tokens before swap (shows risk score, owner info, known rug signals).
ChainGuard Intelligence is an advanced AI-powered DeFi risk assessment platform that provides comprehensive real-time analysis of newly deployed tokens and smart contracts. Built for ETHOnline 2025, this platform combines cutting-edge blockchain data sources with machine learning to help users make informed decisions in the rapidly evolving DeFi landscape. Core Problem Solved: DeFi users lose millions annually to rug-pull scams where malicious developers drain liquidity or manipulate token prices. Traditional detection methods are reactive and slow, often identifying threats after damage is done. Our Solution: ChainGuard Intelligence provides proactive, real-time risk assessment using a multi-layered analysis framework that monitors new token deployments across multiple chains and instantly evaluates them against 10+ risk factors. Key Features: Real-time Token Monitoring: Event-driven blockchain monitoring that detects new ERC-20 deployments within seconds AI-Powered Risk Scoring: Advanced machine learning analysis combining ownership concentration, liquidity patterns, honeypot detection, and trading behavior Early Warning System: Immediate notifications for high-risk tokens with detailed reasoning Interactive Dashboard: Real-time visualization with live data feeds and risk distribution charts Multi-Chain Support: Monitors tokens across Ethereum, Polygon, and other EVM networks Prize-Winning Integrations: Pyth Network: Real-time price volatility analysis using high-fidelity data feeds and confidence intervals Envio: Ultra-fast multi-chain indexing with HyperIndex for activity pattern analysis Blockscout: Deep smart contract verification and transaction pattern analysis PayPal USD: Stable payment infrastructure integration for risk mitigation The platform processes over 50+ risk signals including ownership concentration, liquidity risk, honeypot detection, suspicious transfer patterns, contract verification status, and social signals, providing users with actionable intelligence to protect their investments.
Architecture Overview: ChainGuard Intelligence is built as a full-stack application with a microservices architecture, featuring real-time data processing, AI-powered analysis, and a responsive web interface. Backend Technology Stack: Node.js/Express: RESTful API server with WebSocket support for real-time updates Ethers.js v6: Multi-RPC blockchain integration with automatic failover Socket.io: Real-time bidirectional communication for live token updates MongoDB: Document-based storage for token data and analysis results Redis: High-performance caching layer for frequently accessed data Winston: Comprehensive logging system for debugging and monitoring Prize-Winning Integrations Implementation: Pyth Network Integration: Implemented using @pythnetwork/hermes-client for real-time price feeds Custom volatility scoring algorithm based on confidence intervals Cached price data with 30-second TTL for optimal performance Multi-asset support (ETH, BTC, USDC, USDT) with fallback mechanisms Envio Integration: Custom HyperIndex implementation for multi-chain token monitoring Simulated HyperSync queries for ultra-fast data retrieval Activity pattern analysis using transfer frequency and trader diversity metrics Real-time indexing of new token contracts across supported networks Blockscout Integration: SDK integration for contract verification and source code analysis Transaction pattern analysis using Blockscout's comprehensive APIs MCP (Model Context Protocol) ready for AI-powered insights Contract creator history and verification status tracking PayPal USD Integration: PYUSD smart contract integration across supported networks Stable payment infrastructure for premium risk alerts Risk mitigation analysis for DeFi interactions using stable value references Real-time Token Monitoring: Event-driven blockchain scanning using Ethers.js event listeners Automatic ERC-20 contract detection and validation Parallel data gathering for optimal performance WebSocket broadcasting for instant frontend updates Frontend Technology: React 18: Modern component-based UI with hooks and context Material-UI v5: Professional design system with dark theme Chart.js/Recharts: Interactive data visualization Socket.io-client: Real-time data synchronization React Router: Single-page application navigation Smart Contract Integration: Custom Solidity contract (SafeGuardDetector.sol) for on-chain analysis Gas-optimized functions for ownership and supply analysis Event emission for real-time monitoring Static call analysis for honeypot detection Notable Technical Achievements: Hacky but Effective: Implemented a custom honeypot detection system using static calls to test transfer functions without executing transactions Performance Optimization: Parallel Promise.all() execution for all risk analysis factors, reducing analysis time from 5+ seconds to under 1 second Real-time Architecture: Event-driven design that processes new tokens within 2-3 seconds of deployment Multi-source Data Fusion: Sophisticated algorithm that combines on-chain data, price feeds, and activity patterns into a single risk score Fault Tolerance: Comprehensive error handling with graceful degradation when external services are unavailable Deployment & Infrastructure: Docker containerization for both frontend and backend Docker Compose for local development and production deployment Environment-based configuration for different networks Comprehensive logging and monitoring setup

