Socket
Socket
Sign inDemoInstall

ethereum-emissions-calculator

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-emissions-calculator - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

3

lib/index.js

@@ -24,4 +24,5 @@ "use strict";

* TODO: host the entire emissions methodology in this repo & re-calculate the emissons factor on a rolling basis!
* Last updated: Jan. 30, 2021
* */
const KG_CO2_PER_GAS = 0.0003100393448;
const KG_CO2_PER_GAS = 0.0003487183523;
const calculateAddressEmissions = (options) => __awaiter(void 0, void 0, void 0, function* () {

@@ -28,0 +29,0 @@ validateCalculatorOptions_1.default(options);

{
"name": "ethereum-emissions-calculator",
"version": "1.3.0",
"version": "1.4.0",
"description": "TypeScript utils to calculate the CO2 emissions of an Ethereum wallet. Powered by the Etherscan.io API.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

# Ethereum Carbon Emissions Calculator
Made with ♥ by [Offsetra.com](https://offsetra.com/about) for [carbon.fyi](https://carbon.fyi). License: MIT.
JavaScript utility to calculate the CO2 emissions of any Ethereum address.

@@ -10,4 +12,4 @@

License: MIT
## Usage

@@ -14,0 +16,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc