Skip to content

JavaScript utility to calculate the CO2 emissions of an Ethereum wallet. Powered by the Etherscan.io API.

License

Notifications You must be signed in to change notification settings

Offsetra/ethereum-emissions-calculator

Repository files navigation

Ethereum Carbon Emissions Calculator

Made with ♥ by Offsetra.com for carbon.fyi. Questions, comments, forks and PRs all very much appreciated!

License: NON-COMMERCIAL USE ONLY. Creative Commons BY-NC-SA. To request a commercial-use license contact [email protected].

The total emissions are derived from the amount of gas used for each transaction. See https://carbon.fyi/learn

Developers

The emission table needs periodic updating until Ethereum goes carbon neutral. Download .csv gas used data from https://etherscan.io/chart/gasused and hashrate data from https://etherscan.io/chart/hashrate

To generate up-to-date emission data, run npm run update-emissions-data

Data is output to src/data/emissionsFactorTable.json as a set of 2-week average emissions factors (kilograms-co2-per-gas).

About

JavaScript utility to calculate the CO2 emissions of an Ethereum wallet. Powered by the Etherscan.io API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •