GreenChain
Track emissions, auto-buy & retire carbon tokens via PYUSD with private, auditable ESG data.
Problem Statement
GreenChain is an intelligent, agent-driven platform that automates the full lifecycle of carbon accounting, procurement, and retirement of credits — turning ESG compliance into a live, auditable system. It begins by securely ingesting electricity bills, meter readings, or activity data, then calculates carbon emissions using authoritative emission factors such as those from the U.S. EPA and UK Government. A Fetch.ai uAgent-poweredProcurement Agentautomatically identifies verified carbon credit providers, performs price discovery, and assembles an optimized basket of offsets. Payments are executed usingPYUSD, PayPal’s regulated stablecoin, over EVM networks (with Sepolia testnet support and faucet integration for demos). Once credits are purchased, they are represented asERC-1155 carbon tokensthat can be transparently tracked, retired (burned), and proven on-chain throughBlockscoutexplorers. Sensitive ESG and energy data remain encrypted usingLit Protocol’s PKP and MPC-TSS architecture, ensuring that only authorized auditors can decrypt records when necessary. This balance of privacy and verifiability allows organizations to prove real impact without exposing operational data. The GreenChain dashboard unifies everything in one place — showing current footprint, purchased and retired credits, total offsets, PYUSD expenditure, and cryptographic proofs. Designed for enterprises, sustainability teams, and DeFi innovators, GreenChain bridges traditional ESG workflows with on-chain automation, offering a fast, transparent, and privacy-preserving path to net-zero compliance.
Solution
How it’s made — GreenChain 🌿GreenChain was built as a full-stack, agentic ESG automation system, combining on-chain transparency with privacy-first off-chain computation. The backend runs on a multi-service architecture with a TypeScript/Nodeemissions engine, a PythonProcurement Agent, Solidity smart contracts, and a Next.js + Tailwind front-end. The emissions engine ingests facility data and applies EPA or UK Gov factors to compute tCO₂e in real time. The Procurement Agent, built using theuAgent Framework by ASI, performs price discovery and basket optimization across mock offset providers, executes settlements, and records the audit trail — a true agentic transaction orchestrated throughBeaureu creationinside the ASI ecosystem.On-chain logic is handled by three contracts:CarbonCredit1155,PaymentEscrow, andRetirementRegistry, deployed onSepolia. Payments are made withPYUSD, a Paxos-issued ERC-20 token. Each transaction produces verifiable mint and retirement events that can be viewed inBlockscout. Privacy is enforced usingLit Protocol’s PKP and MPC-TSS network, where all sensitive ESG documents (like invoices or attestations) are encrypted and only decryptable for authorized auditors.A key innovation was theVincent by Lit Protocolintegration, which powers both the offset logic and transaction proof mechanism — every credit retirement event is tied to a Lit-secured proof bundle. The front-end dashboard, built inNext.js 14withshadcn/ui, visualizes footprints, offsets, PYUSD flows, and decryptable audit bundles. Our setup leverages containerized microservices, Docker for local orchestration, and Hardhat for Solidity testing. It’s hacky but elegant — agents talk to contracts, payments are stablecoin-denominated, and audit proofs are cryptographically gated — delivering a fully automated, verifiable ESG offset pipeline.
Hackathon
ETHOnline 2025
2025
Contributors
- Prayant-M
12 contributions
- lovable-dev[bot]
2 contributions