EcoMint
your commitment to the planet into tangible rewards. Recycle, earn, and make a real difference.
Problem Statement
EcoMint is a digital, reward-based smart recycling system that tackles low participation head-on. Our initial prototype focuses on high-value, high-volume recyclables like aluminum cans and plastic bottles.Deposit & Recognition: Users deposit their sorted cans and bottles into the EcoMint bin.Volume-Based Reward: The system instantly calculates the deposited amount (e.g., 3 bottles) and generates a unique QR code.Instant Payout via Worldcoin: Users scan the QR code using the EcoMint mini-app within the Worldcoin platform. This seamless integration allows for instant, verifiable micro-payments directly to the user's digital wallet, rewarding their "kind gesture towards nature." By leveraging Worldcoin's infrastructure, we ensure secure, global, and fee-efficient rewards, turning the act of recycling into a simple, financially beneficial transaction.
Solution
The IoT Device: The EcoMint Smart Bin Core Hardware: The brain of the system is the ESP32-WROOM-32 microcontroller. This component handles all physical interaction and data acquisition.Sensing & Verification: An Infrared (IR) sensor array (or similar object detection mechanism) is used to accurately count and verify the successful deposit of items (bottles/cans).Embedded Logic (.ino Code): The custom firmware, written in Arduino/C++, manages the device's state, counts the input, and initiates the secure communication sequence.Display: A TFT screen serves as the primary user interface, displaying real-time feedback and, critically, the generated QR code.Secure Backend & Smart Contract Layer The communication flow is engineered for security and efficiency:Data Transmission: Once the items are counted, the ESP32 establishes a secure connection (via HTTPS/SSL) and sends the final deposit count to our server-side API.Reward Hashing: The server-side logic (Node.js/Python recommended) takes the raw data and generates a unique, cryptographically secure hash. This hash represents the user's reward claim and prevents tampering.QR Code Generation: The server transmits this hash back to the ESP32. The microcontroller then encodes the hash into a QR code and renders it on the TFT screen.Worldcoin Integration & Redemption (The Mini App) This is the user-facing decentralized layer built for instant reward fulfillment:Technology Stack: The EcoMint Mini App is developed using Next.js and TypeScript, providing a fast, scalable, and type-safe front end.Decentralized Integration: It leverages the Worldcoin SDK to securely interact with the user's wallet.The Redemption Flow:The user scans the QR code containing the unique reward hash using the Mini App.The Mini App uses the Worldcoin infrastructure to digitally sign the hash as a proof of claim.This signed claim is sent to our Smart Contract (deployed on a low-cost, high-throughput chain) which verifies the hash, executes the token payout, and marks the hash as redeemed in its ledger.System Reset Loop: A crucial feature is the real-time feedback loop. The ESP32 continuously polls the server to check the redemption status of the displayed hash. Once the smart contract confirms the hash is redeemed, the bin logic triggers a system reset, clearing the TFT screen and preparing the EcoMint dustbin for the next user interaction.
Hackathon
ETHGlobal New Delhi
2025
Contributors
- Trymbakmahant
6 contributions
- 0xVaibhav11
6 contributions