EcoChain

Ecochain - Decentralized Sustainability Tracker built on the ASI Alliance

EcoChain

Created At

ETHOnline 2025

Project Description

EcoChain: Decentralized Sustainability Tracker with AI-Powered Verification

šŸŽÆ What is EcoChain? EcoChain is a Web3 sustainability tracker that revolutionizes how individuals and organizations measure, verify, and get rewarded for sustainable actions. Built on the ASI Alliance stack (Fetch.ai + SingularityNET), it uses autonomous AI agents to verify sustainability data, structured reasoning (MeTTa) to calculate carbon impact, and blockchain technology to reward users with EcoCredits (ERC-20 tokens) for verified sustainable actions.

🚨 The Problem We Solve Today's sustainability tracking faces critical challenges: Fragmented Data: Energy bills, EV receipts, and sustainability proofs scattered across different platforms Lack of Verification: No way to verify the authenticity of sustainability claims No Incentives: No rewards for sustainable behavior, leading to low adoption Centralized Systems: Trust issues with centralized platforms that can manipulate data Privacy Concerns: Sensitive data stored in centralized databases

šŸ’” Our Solution EcoChain creates a decentralized, AI-powered ecosystem that: āœ… Verifies sustainability actions using autonomous AI agents āœ… Rewards users with EcoCredits (ERC-20 tokens) for verified actions āœ… Stores proofs immutably on IPFS with blockchain verification āœ… Uses structured reasoning (MeTTa) for accurate carbon impact calculations āœ… Provides transparency through decentralized storage and smart contracts āœ… Ensures privacy through encrypted storage and minimal on-chain data

šŸ—ļø Technical Architecture Frontend (React + TypeScript) Modern web interface with wallet connectivity (Privy) Chat-driven interactions via ASI:One integration Real-time dashboard showing sustainability metrics and token balances Drag-and-drop file upload for sustainability documents Backend (FastAPI + Python + uAgents) User Agent: Orchestrates user interactions and routes requests Reasoner Agent: Uses MeTTa for structured sustainability reasoning Minting Agent: Handles token and NFT minting operations Analytics Agent: Provides user analytics and leaderboard data Verifier Agent: Validates document authenticity and structure AI/ML Integration OpenAI: Intent classification and natural language processing MeTTa: Structured reasoning for carbon impact calculations Document Analysis: Automated extraction of sustainability metrics Blockchain Infrastructure Smart Contracts: ERC-20 (EcoCredits) + ERC-721 (SustainabilityProof NFTs) Ethereum Sepolia: Testnet deployment with full functionality Hardhat: Development and deployment framework IPFS/Lighthouse: Decentralized file storage Blockscout: Blockchain explorer integration

šŸ”„ How It Works User Upload: Users upload sustainability documents (energy bills, EV receipts, etc.) AI Verification: Autonomous agents verify document authenticity and extract metrics MeTTa Reasoning: Structured reasoning calculates carbon impact and determines rewards Token Minting: Users receive EcoCredits (ERC-20) and SustainabilityProof NFTs (ERC-721) Immutable Storage: All proofs stored on IPFS with blockchain verification Transparent Tracking: Full audit trail of sustainability actions and rewards

šŸŽ Key Features For Users: Easy Upload: Simple drag-and-drop interface for sustainability documents AI Chat: Natural language interactions for guidance and support Real Rewards: Earn EcoCredits for verified sustainable actions NFT Proofs: Receive unique NFTs as proof of sustainability achievements Dashboard: Track your sustainability impact and token balance Leaderboard: Compete with others in sustainability rankings

For Developers: Modular Agents: Independent, composable AI agents Open Source: Fully open-source codebase API-First: RESTful APIs for all functionality Extensible: Easy to add new document types and reasoning rules

šŸ”§ Technical Implementation Smart Contracts: EcoCreditToken.sol: ERC-20 token for sustainability rewards SustainabilityProof.sol: ERC-721 NFT for proof of sustainability actions ProofRegistry.sol: Registry for managing proof types and permissions AI Agents: User Agent: Handles user interactions and routing Reasoner Agent: Performs MeTTa-based sustainability reasoning Minting Agent: Manages token and NFT minting Analytics Agent: Provides analytics and leaderboard data Integration Points: Agentverse: Agent discovery and registration Blockscout: Blockchain explorer integration IPFS/Lighthouse: Decentralized file storage ASI:One: Chat interface integration

🌱 Sustainability Impact EcoChain incentivizes sustainable behavior by: Rewarding users for verified sustainable actions Creating transparent, auditable sustainability records Encouraging continuous improvement through gamification Building a community of sustainability-conscious individuals Providing data for carbon offset and sustainability reporting

šŸš€ Innovation Highlights AI-Powered Verification: First system to use autonomous agents for sustainability verification Structured Reasoning: MeTTa-based reasoning for accurate carbon calculations Decentralized Storage: IPFS-based storage with blockchain verification Token Economics: Sustainable tokenomics that reward real environmental impact Privacy-First: Minimal on-chain data with encrypted off-chain storage Agent Discovery: Agentverse integration for discoverable AI services

Current Status āœ… Fully Functional MVP with all core features āœ… Real Blockchain Integration (Ethereum Sepolia) āœ… AI Agent System with 6 specialized agents āœ… Smart Contracts deployed and verified āœ… Frontend Application with wallet connectivity āœ… IPFS Integration for decentralized storage āœ… MeTTa Reasoning for sustainability calculations āœ… Token Minting and NFT creation āœ… Analytics Dashboard with leaderboards āœ… Sample Documents for testing and demonstration

Future Roadmap Document OCR: Automated extraction from PDF/image files Mobile App: Native mobile application Carbon Offset Marketplace: Trade carbon credits Enterprise Integration: API for corporate sustainability tracking Cross-Chain Support: Multi-blockchain compatibility Advanced Analytics: Machine learning for sustainability insights

EcoChain represents the future of sustainability tracking - decentralized, AI-powered, and reward-driven. It's not just a tracker; it's an ecosystem that incentivizes and verifies sustainable behavior while maintaining privacy and transparency.

How it's Made

EcoChain represents a sophisticated integration of Web3, AI, and sustainability technologies. Here are the list of technologies used.

Frontend Stack: React + TypeScript + Vite for type-safe, fast development Privy for seamless wallet authentication (MetaMask, WalletConnect, embedded wallets)

Backend Stack: FastAPI for high-performance async API server uAgents (Fetch.ai) for autonomous AI agent system

AI Agent System (The Heart of EcoChain) 6 Specialized Agents: User Agent - Orchestrates interactions, routes requests, handles chat Reasoner Agent - MeTTa-based sustainability reasoning and carbon calculations Minting Agent - Handles ERC-20 token and ERC-721 NFT minting Analytics Agent - Provides user analytics and leaderboard data Verifier Agent - Validates document authenticity and structure Recommendation Agent - Suggests sustainability improvements

Agent Communication: Message-based architecture using uAgents framework Async message passing between agents for scalability Agentverse integration for agent discovery and registration

AI/ML Integration MeTTa Reasoning Engine: Structured reasoning for sustainability calculations Knowledge base with emission factors and sustainability rules Docker containerization for consistent reasoning environment FastAPI wrapper for HTTP-based MeTTa integration

OpenAI Integration: Intent classification for chat interactions Natural language processing for user queries Context-aware responses based on user data

Blockchain Infrastructure Smart Contracts (Solidity + Hardhat): EcoCreditToken.sol - ERC-20 token with role-based minting SustainabilityProof.sol - ERC-721 NFT for sustainability proofs ProofRegistry.sol - Registry for proof types and permissions OpenZeppelin libraries for security and gas optimization

IPFS Integration: Lighthouse service for IPFS pinning and gateway access File upload with automatic CID generation Metadata storage for NFT attributes and sustainability data

External Services: Blockscout for blockchain explorer integration Lighthouse for IPFS storage OpenAI for AI capabilities

background image mobile

Join the mailing list

Get the latest news and updates