🌿 GreenChain – Community Eco Action Tracker

🌱 Inspiration

The climate crisis can feel overwhelming, and individual eco-actions often seem too small to matter. But what if every small action was visible, verified, and part of a larger movement?

That’s what inspired us to build GreenChain — a platform where community-driven sustainability becomes measurable, motivating, and meaningful. By using AI to guide, verify, and amplify each action, we aim to turn isolated efforts into collective impact.


🤖 What it does

GreenChain is an AI-powered sustainability platform that helps individuals and communities track, gamify, and grow their environmental contributions:

  • Log eco-actions like planting trees, recycling, reducing water usage, or taking public transport.
  • 🧠 Use Gemini AI to verify and interpret user actions through text or image input.
  • 🌱 Get personalized recommendations for your next sustainable step.
  • 🏆 Participate in AI-generated daily & weekly challenges, compete on leaderboards, and earn achievements.
  • 📊 See real-time community impact, turning scattered actions into collective climate progress.

“One action at a time. One planet together.”


🛠 How we built it

We built GreenChain using a modern, scalable, AI-centric tech stack:

  • Frontend: React.js + Tailwind CSS for a fast, intuitive, and responsive UI.
  • Backend: Python (FastAPI) with JWT authentication and asynchronous architecture for efficient data flow.
  • Database: MongoDB Atlas for structured and scalable storage.
  • AI Layer: Google Gemini API to verify user-reported actions, generate personalized challenges, and provide sustainability insights.
  • Gamification: A point and badge system with leaderboards to increase engagement.
  • Carbon Impact Engine: Calculated using action types and estimated offset factors:

[ \text{Total Impact} = \sum_{i=1}^{n} A_i \times C_i ]

where ( A_i ) is the number of eco-actions of type ( i ), and ( C_i ) is the estimated carbon offset factor.


🧩 Challenges we ran into

  • Creating accurate AI verification while respecting privacy.
  • Prompt engineering to get meaningful Gemini outputs.
  • Designing a real-time leaderboard without performance issues.
  • Preventing spammy or fake eco-action submissions.
  • Seamlessly integrating multiple backend modules within the hackathon timeline.

🏆 Accomplishments that we're proud of

  • Developed a fully functional, end-to-end AI-powered sustainability platform in record time.
  • Built an impact verification and recommendation system powered by Gemini AI.
  • Created a gamified ecosystem that makes eco-actions fun and rewarding.
  • Implemented a carbon impact model to visualize tangible results.
  • Structured the platform so it can scale beyond the hackathon.

📚 What we learned

  • How to design AI-first applications that actually solve real-world problems.
  • The importance of community engagement in climate-tech platforms.
  • How to work with Gemini APIs for intelligent, context-aware outputs.
  • Fast, production-grade API building with FastAPI.
  • Why good UX matters in driving sustainable behavior.

🚀 What's next for GreenChain – Community Eco Action Tracker

  • 📱 Launch a mobile app to increase accessibility and participation.
  • 🛰 Integrate with IoT and smart meters to automate eco-action logging.
  • 🧠 Build advanced AI models for more accurate carbon impact estimation.
  • 🪙 Introduce eco-reward tokens and blockchain-verifiable achievements.
  • 🌍 Partner with governments, NGOs, and schools to deploy GreenChain at scale.
  • 🔄 Deploy a public API to let other developers build sustainability solutions on top of GreenChain.

Track: Code Green ♻️ + Best Use of Gemini API 🤖
🧠 AI Engine: Google Gemini API
☁️ Tech Stack: React, FastAPI, MongoDB Atlas, Gemini API, Tailwind CSS, JWT
🌐 Impact: Making sustainable living measurable, actionable, and fun.

Built With

Share this project:

Updates