hackquest logo

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 point

Progress 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

Tech Stack

React
Node
Next
Ethers
Web3
Solidity
Pimlico
Envio
Team Leader
CCat Tom
Sector
DeFiInfra