Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@exodus/ethereumclassic-meta

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/ethereumclassic-meta - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

45

lib/index.js

@@ -6,13 +6,7 @@ "use strict";

});
exports.default = exports.asset = void 0;
var _currency = require("@exodus/currency");
exports.tokens = exports.default = exports.assetsList = exports.asset = void 0;
var _asset = require("@exodus/asset");
const name = 'ethereumclassic';
const displayName = 'Ethereum Classic';
const ticker = 'ETC';
const displayTicker = 'ETC';
const displayNetworkTicker = displayTicker;
const displayNetworkName = displayName;
const baseAssetName = name;
const primaryColor = '#58D98C';

@@ -27,6 +21,5 @@ const gradientColors = ['#58D98C', '#599270'];

const chainBadgeColors = gradientColors;
const gasLimit = 21e3; // enough to send ETH to a normal address
const contractGasLimit = 1e6; // used when estimateGas fails
const chainId = 61;
const gasLimit = 21e3;
const contractGasLimit = 1e6;
const units = {

@@ -41,5 +34,2 @@ wei: 0,

};
const currency = _currency.UnitType.create(units);
const assetType = 'ETHEREUM_LIKE';

@@ -57,13 +47,9 @@ const blockExplorer = {

};
const asset = {
const assetParams = {
assetType,
baseAssetName,
blockExplorer,
chainBadgeColors,
chainId,
contractGasLimit,
currency,
displayName,
displayNetworkName,
displayNetworkTicker,
displayTicker,
gasLimit,

@@ -75,12 +61,15 @@ gradientColors,

primaryColor,
properName: displayName,
// deprecated
properTicker: displayTicker,
// deprecated
ticker,
toString: () => name,
units
};
const {
asset,
tokens,
assetsList
} = (0, _asset.createMetaDef)({
assetParams
});
exports.assetsList = assetsList;
exports.tokens = tokens;
exports.asset = asset;
var _default = [asset];
exports.default = _default;
var _default = exports.default = assetsList;
{
"name": "@exodus/ethereumclassic-meta",
"version": "1.0.1",
"version": "1.0.2",
"description": "Ethereum Classic constants, icons, colors and other metadata",

@@ -16,6 +16,16 @@ "main": "lib/index.js",

},
"scripts": {
"build": "run -T babel --root-mode upward --delete-dir-on-start --ignore '**/__tests__/**' src --out-dir lib",
"build:clean": "rm -rf lib",
"test": "run -T jest",
"lint": "run -T eslint src",
"lint:fix": "yarn lint --fix"
},
"dependencies": {
"@exodus/currency": "^2.1.3"
"@exodus/asset": "^1.1.0"
},
"gitHead": "3356979d2a095c718f0ecb6ed34670ebd0c056dc"
"devDependencies": {
"@exodus/assets-meta-testing": "^1.0.0"
},
"gitHead": "e0b6f849ffcfbb05a48e2e36b2c19d1bbe6707a8"
}
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