ethereum-emissions-calculator
v3.0.6
Published
TypeScript utils to calculate the CO2 emissions of an Ethereum wallet. Powered by the Etherscan.io API.
Downloads
69
Readme
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).