@exodus/ethereum-api 8.11.0 → 8.12.0
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [8.12.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.11.0...@exodus/ethereum-api@8.12.0) (2024-07-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* new ethereum naming ([#3028](https://github.com/ExodusMovement/assets/issues/3028)) ([31652d5](https://github.com/ExodusMovement/assets/commit/31652d566b70863f2d0c247254be0942f3c3fedd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [8.11.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.10.1...@exodus/ethereum-api@8.11.0) (2024-07-26)
|
|
7
16
|
|
|
8
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.0",
|
|
4
4
|
"description": "Ethereum Api",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"type": "git",
|
|
66
66
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "447eda32eb5b21fad62968d560b7fc4b7a2a4553"
|
|
69
69
|
}
|
|
@@ -14,9 +14,10 @@ export const createAssetPluginFactory = (config) => {
|
|
|
14
14
|
|
|
15
15
|
const chainId = config.chainId
|
|
16
16
|
const { explorerUrl, ...meta } = config.meta
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
17
|
+
const chainIdHex = '0x' + chainId.toString(16)
|
|
18
|
+
const name = `evm${chainIdHex}`.toLowerCase()
|
|
19
|
+
const ticker = name.toUpperCase()
|
|
20
|
+
const tokenType = `EVM_${chainIdHex}_TOKEN`.toUpperCase()
|
|
20
21
|
|
|
21
22
|
const units = {
|
|
22
23
|
wei: 0,
|