@exodus/ethereum-lib 2.13.2 → 2.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "2.13.2",
3
+ "version": "2.13.3",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "author": "Exodus Movement, Inc.",
@@ -24,5 +24,5 @@
24
24
  "peerDependencies": {
25
25
  "@exodus/assets": "8.0.x"
26
26
  },
27
- "gitHead": "b0b9075484b6cef16d59946c054f5fe8c79d89d6"
27
+ "gitHead": "163192db3e616071238360a14577e6a5c570a51e"
28
28
  }
package/src/constants.js CHANGED
@@ -5,6 +5,7 @@ export const CHAIN_IDS = {
5
5
  matic: 137,
6
6
  avalanchec: 43114,
7
7
  fantommainnet: 250,
8
+ harmonymainnet: 1666600000,
8
9
  }
9
10
  export const MIN_GASPRICE = 1e9 // 1 gwei
10
11
  export const DEFAULT_FEE_MONITOR_INTERVAL = '1m'
@@ -15,6 +16,7 @@ export const CONFIRMATIONS_NUMBER = {
15
16
  matic: 355,
16
17
  avalanchec: 30,
17
18
  fantommainnet: 3,
19
+ harmonymainnet: 6,
18
20
  }
19
21
  export const ETHEREUM_LIKE_ASSETS = [
20
22
  'bsc',
@@ -23,6 +25,7 @@ export const ETHEREUM_LIKE_ASSETS = [
23
25
  'matic',
24
26
  'avalanchec',
25
27
  'fantommainnet',
28
+ 'harmonymainnet',
26
29
  ]
27
30
  export const ETHEREUM_LIKE_TOKEN_TYPES = [
28
31
  'ETHEREUM_ERC20',
@@ -0,0 +1,14 @@
1
+ import { FeeData } from '@exodus/asset-lib'
2
+
3
+ export default new FeeData(
4
+ {
5
+ gasPrice: '10 Gwei',
6
+ max: '700 Gwei',
7
+ min: '30 Gwei',
8
+ fuelThreshold: '2500000 Gwei',
9
+ gasPriceEconomicalRate: 0.8,
10
+ gasPriceMinimumRate: 0.6,
11
+ },
12
+ 'gasPrice',
13
+ 'harmonymainnet'
14
+ )
@@ -4,3 +4,4 @@ export { default as bsc } from './bsc'
4
4
  export { default as matic } from './polygon'
5
5
  export { default as avalanchec } from './avalanchec'
6
6
  export { default as fantommainnet } from './fantom'
7
+ export { default as harmonymainnet } from './harmony'