Socket
Socket
Sign inDemoInstall

ethereum-emissions-calculator

Package Overview
Dependencies
1
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ethereum-emissions-calculator

TypeScript utils to calculate the CO2 emissions of an Ethereum wallet. Powered by the Etherscan.io API.


Version published
Weekly downloads
83
decreased by-1.19%
Maintainers
1
Install size
3.74 MB
Created
Weekly downloads
 

Readme

Source

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 support@offsetra.com.

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).

FAQs

Last updated on 05 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc