GreenCred was born from a simple thought experiment: “What if environmental responsibility could be as visible and valuable as financial credit?”

The idea sparked from observing a paradox — millions of people were making climate-conscious choices daily, yet had no way to prove it, track it, or be rewarded. Meanwhile, corporations could buy offsets in bulk, slap a green label on their brand, and call it sustainable.

That’s when the concept emerged: A trustless, transparent system where individuals, not just corporations, could build a reputation based on verifiable eco-actions.

Blockchain provided the trust. IoT gave it the data. And gamification made it human.

GreenCred isn’t just a product—it’s the missing link between intentions and impact in the climate movement.

GreenCred is your personal carbon impact wallet, built on blockchain, powered by real-life data, and gamified for everyday action. Here's what it does:

Track Your Carbon Footprint Automatically GreenCred connects with: Your smart meter (energy usage),

GPS/location (transportation habits),

Bank receipts or e-receipts (diet & purchases),

Wearables (activity data)

It calculates your daily carbon footprint without you lifting a finger.

Reward You With Verifiable Eco-NFTs Did you: Take a bike instead of an Uber?

Eat plant-based meals for a week?

Charge your EV with solar power?

You get blockchain-certified NFT badges for every verified sustainable action, stored in your Carbon Offset Wallet.

Gamify Eco-Habits With Your “GreenCred Score” GreenCred gives you a live, public score based on your positive climate impact. Use it to: Join challenges (e.g. “Plastic-Free Week”)

Compete with friends

Display it on LinkedIn or digital resumes Eco is now social currency.

Build Personal Carbon Credits Over Time GreenCred tracks your long-term carbon savings and can eventually: Convert them into individual carbon credits

Partner with platforms like Toucan for offset verification

Let you sell or donate offsets in the future

You become your own carbon bank.

Connect With Schools, Companies, and Cities GreenCred isn’t just personal—it’s scalable: Students can earn GreenCred as part of school climate programs

Companies can verify employees’ sustainable habits for ESG

Cities can integrate GreenCred into public transport rewards

This calculation demonstrates the core logic: take user activity, multiply by a verified emission factor, and get a carbon footprint. This will be the engine of your application.

Project Build: GreenCred Prototype

Technology Stack Component Technology Reason Frontend Next.js Meets requirement. Excellent for performance, SEO, and API routes. Styling Tailwind CSS Modern, utility-first CSS for rapid, responsive UI development. Animations Framer Motion For smooth, impressive animations that will "wow" the judges. Database & Auth Supabase Meets requirement. Provides Postgres DB, Auth, Storage, and Edge Functions in one. Blockchain Ethers.js + Polygon Mumbai Ethers.js is a robust library to interact with the blockchain. Polygon Mumbai is a fast, low-cost testnet, perfect for a hackathon. NFT Storage Pinata (IPFS) To store NFT metadata and images on the decentralized IPFS network. Data Viz Recharts Simple, composable charting library for React. Analytics Vercel Analytics Zero-config, privacy-friendly analytics if deploying on Vercel. Deployment Vercel The best platform for deploying Next.js applications seamlessly. Core Feature Implementation A. User Authentication & Onboarding

Auth UI: Create pages for Login, Sign Up, and Forgot Password.

Supabase Auth: Integrate supabase-auth-helpers for Next.js. Implement email/password sign-up and at least one social provider (e.g., Google).

Onboarding Flow: After the first login, redirect the user to a multi-step modal:

Step 1: Welcome: Briefly explain the GreenCred score.

Step 2: Connect Wallet: Use Ethers.js to prompt the user to connect their MetaMask wallet. Store the public wallet address in the users table.

Step 3: Set Goals: Allow users to set a weekly carbon goal (e.g., stay under 100 kg CO2e).

B. Main Functionality: Footprint Tracking & The "GreenCred Score"

Manual Activity Logging: This is the MVP core. Create a form where a user can log an activity.

Inputs: Activity Type (Dropdown: 'Transport', 'Food', 'Energy'), Specifics (e.g., 'Drove a car', 'Ate beef'), and Amount (e.g., 50 km, 0.15 kg).

API Route: On submission, this form hits a Next.js API route (/api/log-activity).

Carbon Calculation Engine:

The API route uses the logic from our Python example. It takes the activity data, multiplies it by a stored list of emission_factors, and calculates the kgCO2e.

This new activity is saved to the activities table in Supabase, linked to the user_id.

GreenCred Score:

This is a numerical representation of a user's reputation. It can start at 500.

Positive actions (biking, eating plant-based) increase the score.

Negative actions (flying, driving) decrease the score.

The score is updated via a Supabase Edge Function (or database trigger) whenever a new activity is added.

C. Data Visualization Dashboard

Layout: A clean, modern grid layout.

Key Components:

GreenCred Score: Displayed prominently at the top.

Footprint Breakdown (Donut Chart): Use Recharts to show the percentage of emissions from Transport, Food, and Energy for the last 30 days.

Recent Activities: A feed showing the last 5 logged activities and their CO2 impact.

NFT Wallet Gallery: A section to display the images of earned NFTs.

"Log Activity" Button: A clear call-to-action.

D. API Integrations

Climatiq API (Carbon Calculation): For a production version, replace the hardcoded emission factors with calls to the Climatiq API. It provides scientifically verified data for a vast range of activities.

Implementation: Create a server-side helper that calls Climatiq from your /api/log-activity route.

Plaid API (Financial Data - The "Wow" Factor):

For the demo, simulate this. Have a button "Sync Bank Data". When clicked, it adds pre-defined activities to the user's log based on sample transaction data (e.g., a transaction at "United Airlines" automatically logs a flight).

Real Implementation: Use Plaid Link to connect a bank account, fetch transactions, and scan merchant names for keywords ("Shell", "Uber", "American Airlines") to auto-suggest activities.

Database Schema (Supabase/PostgreSQL) Generated sql -- users table CREATE TABLE users ( id UUID PRIMARY KEY REFERENCES auth.users(id), username TEXT UNIQUE, wallet_address TEXT, green_cred_score INT DEFAULT 500, created_at TIMESTAMPTZ DEFAULT NOW() ); -- activities table CREATE TABLE activities ( id BIGSERIAL PRIMARY KEY, user_id UUID REFERENCES users(id), activity_type TEXT NOT NULL, -- e.g., 'driving_km', 'beef_kg' value DECIMAL NOT NULL, co2_emissions DECIMAL NOT NULL, -- The calculated carbon footprint in kg CO2e created_at TIMESTAMPTZ DEFAULT NOW() );

-- nfts table CREATE TABLE nfts ( id BIGSERIAL PRIMARY KEY, user_id UUID REFERENCES users(id), nft_name TEXT NOT NULL, nft_description TEXT, token_id INT, contract_address TEXT, ipfs_url TEXT, -- Link to the metadata on Pinata minted_at TIMESTAMPTZ DEFAULT NOW() );

Bridging Web2 Data with Web3 Infrastructure One of the biggest hurdles was integrating real-world user actions (like biking, eating plant-based, or using solar energy) into a blockchain-verifiable format.

IoT and GPS data is messy, and turning it into proof-of-action NFTs required creative workarounds like mock data validation and user input auditing.

Gamifying Behavior Without Greenwashing We didn’t want GreenCred to become just another "click-to-claim" eco app. Designing a GreenCred Score that’s meaningful, abuse-resistant, and motivating was tricky.

We had to experiment with score weights, streak bonuses, and leaderboard mechanics.

Verifying Carbon-Positive Actions There’s no universal API to verify someone ate a vegan meal or biked to work. We tried using receipt OCR + user inputs + GPS patterns, but building even a semi-trustworthy verification layer in <48 hrs required a ton of creative shortcuts.

🪙 NFT Minting at Scale with Low Gas Fees Minting NFTs for small actions is costly on most chains. We had to explore Polygon vs Celo vs testnets, and optimize metadata storage using IPFS + NFT.Storage to reduce gas costs and deploy efficiently.

Deciding What Lives On-Chain vs Off-Chain Putting everything on-chain (like GPS logs or personal scores) wasn’t feasible or privacy-friendly. We struggled with the on-chain vs off-chain design tradeoffs — ultimately, we kept sensitive data off-chain, but still verifiable via hash fingerprints.

Time Constraints & Testing Chaos Some of our most ambitious features (like live IoT input or Google Fit integration) had to be mocked due to time.

We had to prioritize experience over perfection and focus on the most demo-ready features that still reflected the core vision. What We Learned

Tech Alone Isn’t Enough — Trust Matters Most We realized that climate apps fail not due to lack of features, but due to lack of credibility. Verifying real-world eco-actions and building trust between user and system is more complex than writing smart contracts — and way more important.

Gamification Can Drive Real Behavior Designing a simple “GreenCred Score” showed us how powerful social accountability and game mechanics are in forming eco-habits. People don’t just want to be sustainable — they want to be seen being sustainable.

Web3 + Climate = Complex But Promising This project taught us how Web3 infrastructure (NFTs, smart contracts, token economies) can empower individuals in the climate movement — but only when paired with ethical design and real-world data.

Balancing Privacy vs Proof is Hard Trying to verify GPS movement, diet patterns, or purchase history made us deeply consider what data users should share vs what they need to prove. This challenge made us more aware of ethical tech design.

What’s Next for GreenCred

Launch Alpha with Real-World User Testing Partner with a local school, company, or co-working space to test GreenCred scores in daily routines. Collect feedback on trust, usability, and verification mechanics.

Integrate Real IoT + API Data Sources Sync with Google Fit, Apple Health, smart meters, and EV apps. Improve verification of eco-actions using real-world telemetry and receipts.

Open Carbon Credit Bank for Individuals Let users not just earn NFTs, but accumulate personal carbon credits. Partner with platforms like Toucan or Verra to help users trade or donate offsets.

Launch Eco-Linked Challenges & Badges Weekly challenges like “No-Plastic Monday” or “Meatless Week” with reward NFTs. Unlockable “Green Badges” that are resume/LinkedIn compatible.

Build a Reputation Layer for Climate Citizenship A public-facing “GreenCred Profile” that users can display on social platforms, applications, and job portals. Eventually evolve into a climate-proof reputation identity layer for schools, cities, and corporations.

Built With

  • and-api-routes.-styling-tailwind-css-modern
  • and-edge-functions-in-one.-blockchain-ethers.js-+-polygon-mumbai-ethers.js-is-a-robust-library-to-interact-with-the-blockchain.-polygon-mumbai-is-a-fast
  • auth
  • component-technology-reason-frontend-next.js-meets-requirement.-excellent-for-performance
  • composable-charting-library-for-react.-analytics-vercel-analytics-zero-config
  • impressive-animations-that-will-"wow"-the-judges.-database-&-auth-supabase-meets-requirement.-provides-postgres-db
  • low-cost-testnet
  • perfect-for-a-hackathon.-nft-storage-pinata-(ipfs)-to-store-nft-metadata-and-images-on-the-decentralized-ipfs-network.-data-viz-recharts-simple
  • responsive-ui-development.-animations-framer-motion-for-smooth
  • seo
  • storage
  • utility-first-css-for-rapid
  • vercel
Share this project:

Updates