Skip to content
VismayHSPublic

About

ImpactEcho is an AI-verified blockchain charity platform that ensures transparent, traceable donations. Built on Ethereum with smart contracts, it uses AI to verify charity impact claims, rewards donors with NFT badges, and features an immersive 3D UI. Every donation is recorded immutably, creating trust through technology.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🌟 ImpactEcho - AI-Verified Charitable Donations on Blockchain

100% FREE Localhost Setup - No Paid APIs Required!

Transform charitable giving with AI-powered verification and blockchain transparency. Every donation is verified with intelligent evidence analysis and recorded immutably on the blockchain.


🎯 What is ImpactEcho?

ImpactEcho is a hackathon-ready donation verification platform that combines:

  • πŸ€– FREE AI Verification - Mock AI service with realistic confidence scores (70-95%)
  • ⛓️ Blockchain Transparency - Hardhat local network with 10,000 ETH test accounts
  • πŸ“ Local File Storage - No IPFS/Pinata needed, files saved locally
  • πŸ’Ύ Local MongoDB - No cloud database required
  • 🎨 Stunning UI - Glassmorphism, Framer Motion animations, confetti celebrations

Total Cost: β‚Ή0 (Everything runs on your laptop!)


✨ Key Features

πŸ€– AI-Powered Verification

  • Multi-modal analysis (Vision 50%, Metadata 30%, NLP 20%)
  • Realistic confidence scores (40-95%)
  • Simulated processing time (2-4 seconds)
  • Detailed breakdown of analysis

⛓️ Blockchain Recording

  • Immutable donation records on Hardhat local network
  • Smart contract deployment with one command
  • 20 test accounts with 10,000 ETH each
  • Chain ID: 31337 (localhost)

🎨 Immersive UI & Interactions

  • Theme Toggle - Switch between Blue and Gold impact modes
  • 3D Holographic Scene - Floating sphere with react-three-fiber
  • Multi-layer Cursor Effects - 4-layer parallax cursor glow
  • Neural Network Background - Animated AI network with energy pulses
  • Particle Burst System - Confetti celebrations on success events
  • Magnetic Buttons - Smart micro-interactions with cursor attraction
  • Page Transitions - Blur, wipe, and fade effects between routes
  • Typewriter Effects - Animated hero text with AI soundwave
  • Live Counters - Real-time animated donation statistics
  • Activity Ticker - Scrolling live feed of platform activity
  • Glassmorphism design throughout
  • Smooth Framer Motion animations
  • Responsive and mobile-friendly

πŸ“Š Real-time Analytics

  • Live donation statistics
  • Campaign performance tracking
  • Verification rate monitoring
  • Beautiful animated charts (Recharts)

πŸš€ Quick Start (5 Minutes)

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/yourusername/ImpactEcho.git
cd ImpactEcho
  1. Install dependencies
# Backend (Express.js)
cd backend
npm install

# AI Service (Flask)
cd ../ai_service
pip install -r requirements.txt

# Blockchain (Hardhat)
cd ../blockchain
npm install

# Frontend (Next.js)
cd ../frontend
npm install
  1. Configure environment
# Copy the FREE localhost configuration
cp .env.example .env
  1. Start MongoDB
# Windows
net start MongoDB

# Mac/Linux
brew services start mongodb-community
  1. ONE-CLICK START!
# Windows
start-all.bat

# Mac/Linux
chmod +x start-all.sh
./start-all.sh

That's it! πŸŽ‰ The app will open automatically at http://localhost:3000


πŸ—οΈ Project Structure

ImpactEcho/
β”œβ”€β”€ πŸ€– ai_service/              # FREE Flask AI verification service
β”‚   β”œβ”€β”€ app.py                  # Mock AI with realistic scoring
β”‚   └── requirements.txt        # Flask dependencies
β”‚
β”œβ”€β”€ πŸ–₯️ backend/                 # Express.js backend (Node.js)
β”‚   β”œβ”€β”€ server.js               # Main API server
β”‚   └── package.json            # Dependencies
β”‚
β”œβ”€β”€ ⛓️ blockchain/              # Hardhat local blockchain
β”‚   β”œβ”€β”€ contracts/              # Solidity smart contracts
β”‚   β”œβ”€β”€ scripts/                # Deployment scripts
β”‚   └── hardhat.config.js       # Localhost network config
β”‚
β”œβ”€β”€ 🎨 frontend/                # Next.js 14 with stunning UI
β”‚   β”œβ”€β”€ app/                    # App router pages
β”‚   β”œβ”€β”€ components/             # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ ui/                 # Glass cards, buttons, modals
β”‚   β”‚   β”œβ”€β”€ donation/           # Donation form
β”‚   β”‚   └── dashboard/          # Analytics dashboard
β”‚   └── tailwind.config.js      # Custom animations
β”‚
β”œβ”€β”€ πŸ“ .env.example             # FREE localhost configuration
β”œβ”€β”€ πŸš€ start-all.bat            # ONE-CLICK start script
└── πŸ“š Documentation/
    β”œβ”€β”€ FREE_LOCALHOST_SETUP.md         # Complete setup guide
    β”œβ”€β”€ TRANSFORMATION_COMPLETE.md      # Technical summary
    └── AMAZING_UI_CREATED.md           # UI components guide

πŸ”§ Tech Stack

Layer Technology Why FREE?
Frontend Next.js 14, React 18, TypeScript Open source
UI/Animations Tailwind CSS 3.4, Framer Motion Open source
3D Graphics Three.js, React Three Fiber, Drei Open source
Effects TSParticles, Canvas Confetti Open source
Backend Express.js, Node.js Open source
AI Flask mock service No OpenAI/Google Cloud!
Blockchain Hardhat, Ethers.js, Solidity Local network, no Alchemy!
Database MongoDB Community Local install, no Atlas!
Storage Local file system (Multer) No IPFS/Pinata!
Icons Lucide React Open source

Total Monthly Cost: β‚Ή0


πŸ“‘ Services & Ports

Service Port URL Description
Frontend 3000 http://localhost:3000 Next.js UI
Backend 5000 http://localhost:5000 Express API
AI Service 8000 http://localhost:8000 Flask verification
Blockchain 8545 http://localhost:8545 Hardhat node
MongoDB 27017 mongodb://localhost:27017 Database

🦊 MetaMask Setup

Add Hardhat Local Network to MetaMask:

Network Name:   Hardhat Local
RPC URL:        http://localhost:8545
Chain ID:       31337
Currency:       ETH

Import Test Account:

Private Key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
Balance: 10,000 ETH (FREE!)

🎬 How It Works

  1. πŸ“ Submit Donation

    • Connect MetaMask wallet
    • Fill donation form with evidence files
    • Upload receipts/photos (drag-drop supported)
    • Submit to blockchain
  2. πŸ€– AI Verification

    • Flask AI analyzes evidence (2-4 seconds)
    • Multi-modal scoring (Vision + NLP + Metadata)
    • Returns confidence score (40-95%)
    • Confetti celebration on success! πŸŽ‰
  3. ⛓️ Blockchain Recording

    • Verified donations recorded on Hardhat
    • Immutable proof of impact
    • Smart contract stores all data
    • View transaction on dashboard
  4. πŸ“Š Dashboard Analytics

    • Real-time statistics
    • Beautiful animated charts
    • Campaign performance
    • Verification trends

🎨 Immersive Features Showcase

🎭 Theme System

  • Blue Mode (Default): Cyan (#00FFFF) β†’ Blue (#3B82F6) β†’ Purple (#9333EA)
  • Gold Mode: Gold (#FFD700) β†’ Orange (#FF8C00) β†’ Orange (#FFA500)
  • Smooth 0.5s transitions on all elements
  • localStorage persistence
  • Toggle via Navbar sparkle icon

✨ Interactive Effects

  • Multi-Layer Cursor: 4-layer parallax glow with spring physics
  • 3D Scene: Holographic floating sphere with 15 glowing nodes
  • Neural Network: 30-node AI network with energy pulses
  • Magnetic Buttons: Cursor attraction on hover
  • Gradient Text: Animated color flow
  • Particle Bursts: 5 types (success, celebration, fireworks, sparkle, custom)

🎬 Animations

  • Page Transitions: Blur + holographic wipe between routes
  • Typewriter: Hero section with rotating messages
  • AI Soundwave: 50 pulsing bars behind headings
  • Live Counters: Real-time animated numbers with pulse effects
  • Activity Ticker: Infinite scrolling feed with rotating icons

πŸš€ Performance

  • 60fps target on all animations
  • GPU acceleration with will-change
  • Reduced motion detection & support
  • Adaptive quality based on device capability
  • Graceful degradation on mobile

β™Ώ Accessibility

  • Reduced motion preferences respected
  • Keyboard navigation support
  • ARIA labels on interactive elements
  • High contrast theme colors
  • Screen reader friendly

See IMMERSIVE_FEATURES_GUIDE.md for detailed visual guide!


πŸ† For Hackathon Judges

Why ImpactEcho Stands Out:

  1. Complete Solution

    • Full-stack implementation (Frontend + Backend + AI + Blockchain)
    • End-to-end donation verification flow
    • Production-ready architecture
  2. Technical Excellence

    • Smart Contracts: Solidity with Hardhat deployment
    • AI Verification: Multi-modal analysis system
    • Modern UI: Next.js 14, TypeScript, Tailwind CSS
    • 3D Graphics: Three.js + React Three Fiber
    • Advanced Animations: Framer Motion with spring physics
    • RESTful API: Express.js with proper error handling
  3. Innovative Features

    • Theme switching system (Blue/Gold modes)
    • Multi-layer parallax cursor effects
    • 3D holographic scene with cursor interaction
    • Neural network visualization with energy pulses
    • Advanced particle burst system
    • Magnetic button interactions
    • Page transition effects
    • Live counters and activity ticker
  4. Real-World Impact

    • Solves donation fraud problem
    • Increases donor trust with AI verification
    • Transparent fund tracking via blockchain
    • Scalable architecture for production
  5. Demo-Ready

    • ONE-CLICK start (start-all.bat)
    • Works completely offline
    • No API keys needed
    • 5-minute setup time
    • Impressive visual effects
  6. Performance & Accessibility

    • 60fps animations
    • GPU acceleration
    • Reduced motion support
    • Mobile responsive
    • WCAG AA compliant

State-Level Hackathon Ready! πŸ†


πŸ“Š Demo Flow (5 Minutes)

Hackathon Presentation Sequence:

  1. Opening (30s)

    • Start all services with start-all.bat
    • Show homepage with immersive effects
  2. Theme Toggle Demo (20s)

    • Click sparkle icon in navbar
    • Show smooth Blue β†’ Gold transformation
    • Highlight theme-aware components
  3. Interactive Features (1m)

    • Move cursor to show parallax glow
    • Hover buttons for magnetic effect
    • Point to 3D holographic scene
    • Show neural network with energy pulses
  4. Donation Flow (1m 30s)

    • Submit donation with evidence
    • AI verification with progress animation
    • Success confetti celebration πŸŽ‰
    • Watch live counter increment
  5. Live Elements (30s)

    • Show activity ticker scrolling
    • Highlight live counters updating
    • Demonstrate typewriter effect
  6. Dashboard & Analytics (1m)

    • Navigate with page transition effects
    • Show animated charts with theme colors
    • Display blockchain transparency
  7. Closing (30s)

    • Emphasize: AI + Blockchain + Premium UI
    • Perfect for state-level hackathons!

Total: ~5 minutes of pure wow! πŸš€


πŸ”’ Security

  • βœ… Smart contracts (auditable Solidity code)
  • βœ… Blockchain immutability
  • βœ… AI verification for fraud prevention
  • βœ… Local-first approach (no external APIs)
  • βœ… MetaMask wallet integration

Note: Test accounts are safe for localhost only. Never use these private keys on mainnet!


πŸš€ Scaling to Production

To move from localhost to production:

  1. Blockchain: Deploy to Polygon Mumbai/Mainnet
  2. AI: Replace Flask mock with OpenAI/Google Cloud Vision
  3. Storage: Switch to Pinata IPFS or AWS S3
  4. Database: Upgrade to MongoDB Atlas
  5. Hosting: Deploy frontend to Vercel, backend to Render

Estimated production cost: β‚Ή1,850/month


πŸ“š Documentation

For detailed information about the platform:

Quick Links:

  • Setup & Installation: See "Quick Start" section above
  • Feature Demos: See IMMERSIVE_FEATURES_GUIDE.md for visual walkthroughs
  • Technical Details: See IMMERSIVE_UPGRADE_COMPLETE.md for architecture and code
  • Troubleshooting: Check both documentation files for common issues

🀝 Contributing

This is a hackathon project built for demonstration purposes. Feel free to:

  • Fork and experiment
  • Report issues
  • Suggest improvements
  • Use for learning

πŸ“„ License

MIT License - See LICENSE file


πŸ™ Acknowledgments

Built with ❀️ for the hackathon using:

  • Next.js, React, Tailwind CSS
  • Hardhat, Ethers.js, Solidity
  • Express.js, Node.js
  • Flask, Python
  • MongoDB, Framer Motion, Recharts

πŸ’¬ Support

Documentation

Common Issues

  1. MongoDB not running:

    • Windows: net start MongoDB
    • Mac/Linux: brew services start mongodb-community
  2. Port conflicts: Check ports 3000, 5000, 8000, 8545 are free

  3. Dependencies: Verify Node.js 18+, Python 3.8+, MongoDB installed

  4. 3D scene not visible:

    • Ensure WebGL is enabled
    • Update graphics drivers
    • Try different browser
  5. Animations laggy:

    • Close other browser tabs
    • Enable hardware acceleration in browser
    • Check reduced motion settings

Troubleshooting

  • Run test-services.bat to verify all services
  • Run test-typescript.bat to check for TypeScript errors
  • Check browser console for errors
  • Ensure MetaMask is installed and configured

πŸŽ‰ Ready to Start?

# One command to rule them all!
start-all.bat

Demo the future of transparent charitable giving! πŸš€


Made with πŸ’šπŸ’™πŸ’œ for transparent impact

About

ImpactEcho is an AI-verified blockchain charity platform that ensures transparent, traceable donations. Built on Ethereum with smart contracts, it uses AI to verify charity impact claims, rewards donors with NFT badges, and features an immersive 3D UI. Every donation is recorded immutably, creating trust through technology.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages