Code Monkey home page Code Monkey logo

nft-carbon-cost-visualizer's Introduction

This is a project by team O.N.C.E. (Operation Nifty Carbon Emissions)! Brought to you by members from the RSK and Indorse teams!

Project Scope

In every serious conversation about blockchains, in particular NFTs, there are always detractors who talk about how harmful the NFTs are for the environment. One of the rebuttals to this argument is the renewable energy sources used by miners across the world. Still, we do not have the actual numbers to prove our point and show how “green” the NFTs are. In this project, we assess the actual environmental impact of the NFTs by going drilled down all the way to the transaction level. Several projects showcase the environmental impact of a blockchain network as a whole. This project attempts to go further, by segregating the NFT transactions independently.

We have used a sample Smart Contract for an NFT on the Ethereum blockchain and look at various types of transactions such as “deploy”, “mint”, and “transfer”. Each transaction will have a different gas cost associated with that, hence varying carbon emission impact. We also consider other factors like the energy mix used for mining these transactions and try to make it palatable and easy to understand by comparing these values against trees felled or miles travelled in a typical car.

Visualisation

https://blockchain-carbon-cost-visualizer.vercel.app/

Light Paper

Operation Nifty Carbon Emissions

Technology used

  • Frontend - ReactJS
  • Backend - NodeJS + web3.js
  • Smart Contract - Solidity

Project Structure

We have created two new works, plus leveraged one existing work, in this project.

  • The frontend can be found in this repo
    • This repo is the main visualization of the project where we compare the different NFT transactions and showcase how much energy they consume as compared to cutting down trees or driving around in a car!
  • The backend can be found in this repo
    • This is the repo where we have APIs that feed data to the React visualization
    • This repo also connects to a script that calculates the estimated energy consumption and the carbon costs associated with the various transactions
  • This project is based on prior work found at this repo
    • This was originally created to compare dollar costs of transactions in different compatible blockchains, and has been extended to also compute carbon costs

Team

  1. Brendan Graetz, RSK
  2. Gaurang Torvekar, Indorse
  3. Vijay Krishnavanshi, Indorse
  4. Utkarsh Gupta, Indorse

License

This project is released under the GPL-3.0

nft-carbon-cost-visualizer's People

Contributors

bguiz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.