mon-transfer
A modern, decentralized token transfer platform built on the Monad blockchain, featuring ERC-4337 Smart Account integration and real-time transaction indexing with Envio.
Videos
Description
A modern, decentralized token transfer platform built on the Monad blockchain, featuring ERC-4337 Smart Account integration and real-time transaction indexing with Envio.
π Live Demo: https://transfer-smartaccount.vercel.app/
π Features
π Smart Account Integration
ERC-4337 Account Abstraction: Deploy and manage Smart Accounts for gasless transactions
Pimlico Bundler Integration: Seamless transaction processing through Pimlico's infrastructure
MetaMask Delegation Toolkit: Easy wallet connection and account management
Automatic Deployment: One-click Smart Account deployment with status monitoring
πΈ Advanced Transfer Capabilities
Native Token Transfers: Send MON tokens directly with Smart Account integration
ERC-20 Token Support: Transfer any ERC-20 token with automatic token detection
Batch Transfers: Send tokens to multiple recipients in a single transaction
Gas Optimization: Reduced gas fees through batch processing and Smart Account abstraction
π Real-time Transaction Monitoring
Envio Indexing: Real-time blockchain data indexing and querying
Transfer History: Comprehensive transaction history with filtering and search
Transaction Analytics: Sent/received statistics and net balance tracking
GraphQL API: Efficient data querying through Envio's GraphQL endpoint
π¨ Modern User Interface
Dark Theme Design: Professional dark interface with glass morphism effects
Responsive Layout: Optimized for desktop and mobile devices
Sidebar Navigation: Collapsible sidebar with smooth transitions
Progress Indicators: Visual step-by-step guidance for complex operations
Animated Components: Subtle animations and hover effects for enhanced UX
ποΈ Technical Architecture
Frontend
Framework: Next.js 14 with TypeScript
Styling: Tailwind CSS with custom CSS variables
State Management: React hooks and context providers
Wallet Integration: MetaMask with custom provider wrapper
Blockchain Integration
Network: Monad Testnet (Chain ID: 10143)
Smart Contracts: ERC-4337 EntryPoint and custom TransferEventWrapper
Libraries: Viem for blockchain interactions
Bundler: Pimlico for UserOperation processing
Data Indexing
Envio Indexer: Real-time blockchain event indexing
GraphQL API: Query interface for transaction data
Event Wrapper: Custom contract for emitting transfer events
Database: PostgreSQL with Envio's managed infrastructure
π Smart Contract Addresses
TransferEventWrapper Contract
Address: 0xFf71Ff614d6B621541408Adce546bF68Ad399b5d
Network: Monad Testnet
Purpose: Emit standardized events for transfer operations
ERC-4337 EntryPoint
Address: 0x0000000071727De22E5E9d8BAf0edAc6f37da032
Network: Monad Testnet
Purpose: ERC-4337 Account Abstraction entry pointProgress During Hackathon
100% COMPLETED - CORE FEATURES π 1. Smart Account Integration (100%) β ERC-4337 Account Abstraction - Deploy and manage Smart Accounts β Pimlico Bundler Integration - UserOperation processing β MetaMask Integration - Wallet connection and network switching β Automatic Deployment - One-click Smart Account deployment β Status Monitoring - Deployment status checking πΈ 2. Transfer Functionality (100%) β Native MON Transfers - Send MON tokens β ERC-20 Token Support - Support any ERC-20 token β Batch Transfers - Send to multiple recipients simultaneously β Token Detection - Auto-detect token info (name, symbol, decimals) β Balance Checking - Check balance before sending π 3. Real-time Indexing (100%) β Envio Integration - Real-time blockchain indexing β TransferEventWrapper Contract - Emit events for indexing β GraphQL API - Query transaction data β Transfer History - Real-time transaction history β Analytics Dashboard - Sent/received/net balance statistics π¨ 4. Modern UI/UX (100%) β Dark Theme Design - Professional dark interface β Glass Morphism Effects - Glass effects for cards β Responsive Layout - Optimized for all devices β Sidebar Navigation - Collapsible sidebar navigation β Progress Indicators - Step-by-step guidance β Smooth Animations - Fluid animations π DEPLOYMENT & INFRASTRUCTURE (100%) π Production Ready β Vercel Deployment - https://transfer-smartaccount.vercel.app/ β Environment Configuration - Complete environment variables β TypeScript Safety - Type-safe codebase β Error Handling - Comprehensive error management β Performance Optimization - Optimized build and runtime π Documentation (100%) β README.md - Complete documentation β Project Description - Detailed project description β Smart Contract Addresses - Contract addresses β Setup Instructions - Setup and deployment guide π§ TECHNICAL ACHIEVEMENTS (100%) Smart Contracts β TransferEventWrapper: 0xFf71Ff614d6B621541408Adce546bF68Ad399b5d β Event Emission: Native, ERC-20, and Batch transfer events β Envio Indexing: Real-time event indexing and querying Frontend Architecture β Next.js 14 with TypeScript β Component Architecture - Modular and reusable β State Management - React hooks and context β Styling System - Tailwind CSS with custom variables Blockchain Integration β Monad Testnet - Chain ID: 10143 β Viem Library - Ethereum interactions β Pimlico Bundler - UserOperation processing β MetaMask Provider - Wallet integration