Aero Carbon: Programmable Sustainability for the Solana Ecosystem Inspiration Traditional carbon offsetting is broken. It is often manual, opaque, and plagued by "greenwashing." As a Junior at Northeastern studying CS and CE, I wanted to move beyond the "donation button". I was inspired to create a system where sustainability isn't an afterthought, but a mandatory, atomic part of the financial layer. What it does Aero is a decentralized protocol that enforces environmental impact at the token level Atomic Retirement: **Every time an Aero token is transferred, the protocol automatically calculates and executes a 0.25% carbon burn. **Real-time Transparency: **It bridges on-chain activity to a live dashboard, showing exactly how many tonnes of Carbon Dioxide have been retired in real-time. **Verifiable Impact: Every "burn" is tied to a permanent Solana transaction signature, making climate action 100% auditable. How we built it We built a full-stack decentralized application (dApp) on Solana Devnet: On-Chain (Rust/Anchor): Developed a smart contract using Token-2022 Transfer Hooks to intercept transfers and enforce the burn logic. The Indexer (Python): Created a custom listener that scans the blockchain for "Aero Protocol" logs and updates a local SQLite database. The API (Flask): Built a bridge to serve this on-chain data to our frontend. The Dashboard (React): Designed a high-performance UI to visualize global impact and live transaction feeds. Challenges we ran into: The Hook Mismatch: We faced significant hurdles with "incorrect program id" errors. This required deep-diving into Solana's metadata account structures to ensure the Program ID and Hook were perfectly registered. The Silent Pipeline: Initially, the dashboard wouldn't update despite successful on-chain tests. We had to debug a "silent failure" in our Python indexer where the log filter didn't perfectly match the Rust program's output. Accomplishments that we're proud of: The 3.83 Tonne Milestone: Successfully retired 3.83 tonnes of carbon on-chain during our testing phase, proving the system works at scale. Closing the Loop: We are proud to have built a complete "Full-Stack Loop"—from a Rust smart contract to a Python indexer, and finally to a live React feed—all running in under 5 seconds. What we learned: Token Extensions Power: We learned that Token-2022 is a game-changer for compliance and environmental logic. Off-chain Reliability: We learned that a robust indexer is just as important as the smart contract itself when building for transparency. What's next for Aero Carbon Token: Dynamic Burn Rates: Implementing math that adjusts the burn rate based on real-time carbon market prices using Oracles. Mainnet Migration: Moving from Devnet to Solana Mainnet to retire real-world carbon credits with actual financial value. Institutional Partners: Opening the API for ESG reporting so companies can automate their sustainability audits directly from the blockchain.

Built With

Share this project:

Updates