http://greenear.s3-website-us-east-1.amazonaws.com/zahidulislam.testnet
Inspiration
Blockchain doesn't have to be a major world polluter. Let's build a carbon-neutral blockchain ecosystem.
What it does
Builds a climate-conscious blockchain ecosystem where users track their CO2 emissions and contribute to carbon offsetting.
How we built it
near-co2-api
We build an API layer that reads every transaction for a user (AccountId) and computes users' co2 emissions and helps them to contribute to carbon offsetting.
near-co2-app
A ReactJS app that abstracts all complex computations and presents users with a simple dashboard to learn about their carbon footprint and how they can offset it.
Challenges we ran into
There was no built-in API in NEAR protocol to access each transaction for an account and their carbon footprint. We had to access the NEAR Indexer Postgres database and aggregate the data for visualization.
Accomplishments that we're proud of
- Built an algorithm to calculate an individual user's CO2 emissions
- Built an algorithm to then calculate the cost to offset a given users' C02 emissions
- Created a visualization to show how "green" users have been by offsetting their emissions
- Read data from NEAR Indexer database
What we learned
- Learned about NEAR protocol
- There was no API to access NEAR Indexer data
- How to calculate energy usage from a single transaction
- How to calculate energy usage to CO2 emissions
- How to calculate the amount of money needed to offset small amounts of CO2 emissions
- We can estimate carbon footprint for individual transactions and/or accounts
What's next for GreeNEAR
- Estimating CO2 emissions for other Blockchain protocols (Ex: Ethereum, Polygon, BTC, AVAX, FTM, BSC, AURORA etc)
- Being able to store an individual's "clean carbon footprint" on an NFT that can be updated and seen publicly
- Creating a fund to pull carbon offsetting money into and award the money to efficient carbon off-setting project in the developing world where we can fun small businesses and entrepreneurs to work on small-scale carbon off-setting projects
Log in or sign up for Devpost to join the conversation.