Onchain Buddy
AI assistant to help user understand blockchain transactions
Problem Statement
Onchain Buddy is an AI assistant that helps beginners understand their blockchain activities. It analyzes transactions, explains them in simple terms, and guides users to learn about blockchain in a safe and proper way.As your personal blockchain companion he acts as a real-time translator between complex blockchain operations and everyday language.To making your first token swap or approving a new smart contract, it break down each action in clear and understandable explanations.
Solution
How it's madeOnchainBuddy was built using a combination of modern technologies and AI capabilities to create an educational blockchain experience. Here's a detailed breakdown of the technical implementation:Core ArchitectureFrontend LayerBuilt with Next.js for optimal performance and SEOStyled using TailwindCSS for rapid UI developmentEnhanced with Material-UI (MUI) components for consistent designFramer Motion for smooth animations and transitionsReal-time updates using React hooks and state managementAI Agent LayerPowered by GPT-4 for natural language processingIntegrated with AgentKit (Coinbase's AI framework) for:Transaction analysisRisk assessmentUser-level appropriate explanationsLearning path optimizationBlockchain IntegrationBuilt on Base Network for reliable and cost-effective transactionsUsed OnchainKit (Coinbase's toolkit) for seamless wallet integrationImplementedEthers.jsfor blockchain interactions:Transaction monitoringContract interactionEvent parsingGas estimationBackend InfrastructureNode.jsbackend withExpressPrismafor database managementBaseEtherfor Base Network RPC callsBasescan APIfor transaction verificationNotable Technical FeaturesDynamic Learning System The XP and leveling system uses a complex algorithm that considers:Transaction complexityRisk assessment scoresUser interaction frequencyContract interaction diversityReal-time Transaction Monitoring Implemented a WebSocket connection to monitor blockchain activities with:Instant transaction detectionAutomatic risk assessmentReal-time notificationsCustom event parsingSmart Contract Analysis Created a custom analysis pipeline that:Verifies contract securityAnalyzes gas usage patternsMonitors value transfersEvaluates interaction complexityPartner Technologies IntegrationBase NetworkUtilized Base Network for its optimal performance and lower gas feesLeveraged Base's RPC endpoints for reliable blockchain dataIntegrated with Basescan API for transaction verificationCoinbase ToolsAgentKit: Implemented for AI agent capabilities and blockchain analysisOnchainKit: Used for robust wallet integration and transaction handlingThank's for this geat opportunity, It was a pleasure to learn new technologies :)
Hackathon
Agentic Ethereum
2025
Contributors
- halkemist
56 contributions