@subwallet/chain-list 0.2.48-beta.0 → 0.2.48-beta.1
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/bundle-subwallet-chain-list.js +10 -4
- package/cjs/data/AssetLogoMap.json +1 -1
- package/cjs/data/AssetRef.json +3 -3
- package/cjs/data/ChainAsset.json +4 -2
- package/cjs/index.js +4 -0
- package/cjs/packageInfo.js +1 -1
- package/data/AssetLogoMap.json +1 -1
- package/data/AssetRef.json +3 -3
- package/data/ChainAsset.json +4 -2
- package/index.d.ts +5 -1
- package/index.js +4 -0
- package/package.json +1 -1
- package/packageInfo.js +1 -1
|
@@ -1126,11 +1126,11 @@
|
|
|
1126
1126
|
destChain: "hydradx_rococo",
|
|
1127
1127
|
path: "SWAP"
|
|
1128
1128
|
},
|
|
1129
|
-
"hydradx_rococo-LOCAL-
|
|
1129
|
+
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-NATIVE-HDX": {
|
|
1130
1130
|
srcAsset: "hydradx_rococo-LOCAL-USDT",
|
|
1131
|
-
destAsset: "
|
|
1131
|
+
destAsset: "hydradx_rococo-NATIVE-HDX",
|
|
1132
1132
|
srcChain: "hydradx_rococo",
|
|
1133
|
-
destChain: "
|
|
1133
|
+
destChain: "hydradx_rococo",
|
|
1134
1134
|
path: "SWAP"
|
|
1135
1135
|
},
|
|
1136
1136
|
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-LOCAL-DOT": {
|
|
@@ -9217,7 +9217,9 @@
|
|
|
9217
9217
|
priceId: null,
|
|
9218
9218
|
minAmount: "1000000000000",
|
|
9219
9219
|
assetType: "NATIVE",
|
|
9220
|
-
metadata:
|
|
9220
|
+
metadata: {
|
|
9221
|
+
assetId: "0"
|
|
9222
|
+
},
|
|
9221
9223
|
multiChainAsset: null,
|
|
9222
9224
|
hasValue: false,
|
|
9223
9225
|
icon: "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png"
|
|
@@ -18306,6 +18308,7 @@
|
|
|
18306
18308
|
COMMON_CHAIN_SLUGS["BINANCE"] = "binance";
|
|
18307
18309
|
COMMON_CHAIN_SLUGS["ASTAR_EVM"] = "astarEvm";
|
|
18308
18310
|
COMMON_CHAIN_SLUGS["HYDRADX"] = "hydradx_main";
|
|
18311
|
+
COMMON_CHAIN_SLUGS["HYDRADX_TESTNET"] = "hydradx_rococo";
|
|
18309
18312
|
COMMON_CHAIN_SLUGS["ETHEREUM_SEPOLIA"] = "sepolia_ethereum";
|
|
18310
18313
|
COMMON_CHAIN_SLUGS["CHAINFLIP_POLKADOT"] = "chainflip_dot";
|
|
18311
18314
|
})(exports.COMMON_CHAIN_SLUGS || (exports.COMMON_CHAIN_SLUGS = {}));
|
|
@@ -18319,6 +18322,9 @@
|
|
|
18319
18322
|
COMMON_ASSETS["HDX"] = "hydradx_main-NATIVE-HDX";
|
|
18320
18323
|
COMMON_ASSETS["USDC_ETHEREUM"] = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
18321
18324
|
COMMON_ASSETS["USDC_SEPOLIA"] = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
18325
|
+
COMMON_ASSETS["HDX_TESTNET"] = "hydradx_rococo-NATIVE-HDX";
|
|
18326
|
+
COMMON_ASSETS["USDT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-USDT";
|
|
18327
|
+
COMMON_ASSETS["DOT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-DOT";
|
|
18322
18328
|
})(exports.COMMON_ASSETS || (exports.COMMON_ASSETS = {}));
|
|
18323
18329
|
const _DEFAULT_CHAINS = [exports.COMMON_CHAIN_SLUGS.POLKADOT, exports.COMMON_CHAIN_SLUGS.KUSAMA, exports.COMMON_CHAIN_SLUGS.ETHEREUM];
|
|
18324
18330
|
|
|
@@ -555,4 +555,4 @@
|
|
|
555
555
|
"custom-aleph-psp22-zpf-5eskjbkpva1ppucmrkcmazdhqm9shihws9uqqsoi4vrdcdle": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/zpf_2f06de3f07.png",
|
|
556
556
|
"custom-custom-substrate-gosnetwork-native-gos": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/gos_a4d1a9cf7a.png",
|
|
557
557
|
"custom-custom-substrate-gosspectral-native-gost": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/gos_a4d1a9cf7a.png"
|
|
558
|
-
}
|
|
558
|
+
}
|
package/cjs/data/AssetRef.json
CHANGED
|
@@ -559,11 +559,11 @@
|
|
|
559
559
|
"destChain": "hydradx_rococo",
|
|
560
560
|
"path": "SWAP"
|
|
561
561
|
},
|
|
562
|
-
"hydradx_rococo-LOCAL-
|
|
562
|
+
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-NATIVE-HDX": {
|
|
563
563
|
"srcAsset": "hydradx_rococo-LOCAL-USDT",
|
|
564
|
-
"destAsset": "
|
|
564
|
+
"destAsset": "hydradx_rococo-NATIVE-HDX",
|
|
565
565
|
"srcChain": "hydradx_rococo",
|
|
566
|
-
"destChain": "
|
|
566
|
+
"destChain": "hydradx_rococo",
|
|
567
567
|
"path": "SWAP"
|
|
568
568
|
},
|
|
569
569
|
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-LOCAL-DOT": {
|
package/cjs/data/ChainAsset.json
CHANGED
|
@@ -8073,7 +8073,9 @@
|
|
|
8073
8073
|
"priceId": null,
|
|
8074
8074
|
"minAmount": "1000000000000",
|
|
8075
8075
|
"assetType": "NATIVE",
|
|
8076
|
-
"metadata":
|
|
8076
|
+
"metadata": {
|
|
8077
|
+
"assetId": "0"
|
|
8078
|
+
},
|
|
8077
8079
|
"multiChainAsset": null,
|
|
8078
8080
|
"hasValue": false,
|
|
8079
8081
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png"
|
|
@@ -8110,4 +8112,4 @@
|
|
|
8110
8112
|
"hasValue": false,
|
|
8111
8113
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png"
|
|
8112
8114
|
}
|
|
8113
|
-
}
|
|
8115
|
+
}
|
package/cjs/index.js
CHANGED
|
@@ -42,6 +42,7 @@ exports.COMMON_CHAIN_SLUGS = COMMON_CHAIN_SLUGS;
|
|
|
42
42
|
COMMON_CHAIN_SLUGS["BINANCE"] = "binance";
|
|
43
43
|
COMMON_CHAIN_SLUGS["ASTAR_EVM"] = "astarEvm";
|
|
44
44
|
COMMON_CHAIN_SLUGS["HYDRADX"] = "hydradx_main";
|
|
45
|
+
COMMON_CHAIN_SLUGS["HYDRADX_TESTNET"] = "hydradx_rococo";
|
|
45
46
|
COMMON_CHAIN_SLUGS["ETHEREUM_SEPOLIA"] = "sepolia_ethereum";
|
|
46
47
|
COMMON_CHAIN_SLUGS["CHAINFLIP_POLKADOT"] = "chainflip_dot";
|
|
47
48
|
})(COMMON_CHAIN_SLUGS || (exports.COMMON_CHAIN_SLUGS = COMMON_CHAIN_SLUGS = {}));
|
|
@@ -56,6 +57,9 @@ exports.COMMON_ASSETS = COMMON_ASSETS;
|
|
|
56
57
|
COMMON_ASSETS["HDX"] = "hydradx_main-NATIVE-HDX";
|
|
57
58
|
COMMON_ASSETS["USDC_ETHEREUM"] = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
58
59
|
COMMON_ASSETS["USDC_SEPOLIA"] = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
60
|
+
COMMON_ASSETS["HDX_TESTNET"] = "hydradx_rococo-NATIVE-HDX";
|
|
61
|
+
COMMON_ASSETS["USDT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-USDT";
|
|
62
|
+
COMMON_ASSETS["DOT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-DOT";
|
|
59
63
|
})(COMMON_ASSETS || (exports.COMMON_ASSETS = COMMON_ASSETS = {}));
|
|
60
64
|
const _DEFAULT_CHAINS = [COMMON_CHAIN_SLUGS.POLKADOT, COMMON_CHAIN_SLUGS.KUSAMA, COMMON_CHAIN_SLUGS.ETHEREUM];
|
|
61
65
|
exports._DEFAULT_CHAINS = _DEFAULT_CHAINS;
|
package/cjs/packageInfo.js
CHANGED
package/data/AssetLogoMap.json
CHANGED
|
@@ -555,4 +555,4 @@
|
|
|
555
555
|
"custom-aleph-psp22-zpf-5eskjbkpva1ppucmrkcmazdhqm9shihws9uqqsoi4vrdcdle": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/zpf_2f06de3f07.png",
|
|
556
556
|
"custom-custom-substrate-gosnetwork-native-gos": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/gos_a4d1a9cf7a.png",
|
|
557
557
|
"custom-custom-substrate-gosspectral-native-gost": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/gos_a4d1a9cf7a.png"
|
|
558
|
-
}
|
|
558
|
+
}
|
package/data/AssetRef.json
CHANGED
|
@@ -559,11 +559,11 @@
|
|
|
559
559
|
"destChain": "hydradx_rococo",
|
|
560
560
|
"path": "SWAP"
|
|
561
561
|
},
|
|
562
|
-
"hydradx_rococo-LOCAL-
|
|
562
|
+
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-NATIVE-HDX": {
|
|
563
563
|
"srcAsset": "hydradx_rococo-LOCAL-USDT",
|
|
564
|
-
"destAsset": "
|
|
564
|
+
"destAsset": "hydradx_rococo-NATIVE-HDX",
|
|
565
565
|
"srcChain": "hydradx_rococo",
|
|
566
|
-
"destChain": "
|
|
566
|
+
"destChain": "hydradx_rococo",
|
|
567
567
|
"path": "SWAP"
|
|
568
568
|
},
|
|
569
569
|
"hydradx_rococo-LOCAL-USDT___hydradx_rococo-LOCAL-DOT": {
|
package/data/ChainAsset.json
CHANGED
|
@@ -8073,7 +8073,9 @@
|
|
|
8073
8073
|
"priceId": null,
|
|
8074
8074
|
"minAmount": "1000000000000",
|
|
8075
8075
|
"assetType": "NATIVE",
|
|
8076
|
-
"metadata":
|
|
8076
|
+
"metadata": {
|
|
8077
|
+
"assetId": "0"
|
|
8078
|
+
},
|
|
8077
8079
|
"multiChainAsset": null,
|
|
8078
8080
|
"hasValue": false,
|
|
8079
8081
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-native-hdx.png"
|
|
@@ -8110,4 +8112,4 @@
|
|
|
8110
8112
|
"hasValue": false,
|
|
8111
8113
|
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_rococo-local-usdt.png"
|
|
8112
8114
|
}
|
|
8113
|
-
}
|
|
8115
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare enum COMMON_CHAIN_SLUGS {
|
|
|
19
19
|
BINANCE = "binance",
|
|
20
20
|
ASTAR_EVM = "astarEvm",
|
|
21
21
|
HYDRADX = "hydradx_main",
|
|
22
|
+
HYDRADX_TESTNET = "hydradx_rococo",
|
|
22
23
|
ETHEREUM_SEPOLIA = "sepolia_ethereum",
|
|
23
24
|
CHAINFLIP_POLKADOT = "chainflip_dot"
|
|
24
25
|
}
|
|
@@ -30,6 +31,9 @@ export declare enum COMMON_ASSETS {
|
|
|
30
31
|
PDOT = "chainflip_dot-NATIVE-pDOT",
|
|
31
32
|
HDX = "hydradx_main-NATIVE-HDX",
|
|
32
33
|
USDC_ETHEREUM = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
33
|
-
USDC_SEPOLIA = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"
|
|
34
|
+
USDC_SEPOLIA = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
35
|
+
HDX_TESTNET = "hydradx_rococo-NATIVE-HDX",
|
|
36
|
+
USDT_HYDRADX_TESTNET = "hydradx_rococo-LOCAL-USDT",
|
|
37
|
+
DOT_HYDRADX_TESTNET = "hydradx_rococo-LOCAL-DOT"
|
|
34
38
|
}
|
|
35
39
|
export declare const _DEFAULT_CHAINS: string[];
|
package/index.js
CHANGED
|
@@ -28,6 +28,7 @@ export let COMMON_CHAIN_SLUGS;
|
|
|
28
28
|
COMMON_CHAIN_SLUGS["BINANCE"] = "binance";
|
|
29
29
|
COMMON_CHAIN_SLUGS["ASTAR_EVM"] = "astarEvm";
|
|
30
30
|
COMMON_CHAIN_SLUGS["HYDRADX"] = "hydradx_main";
|
|
31
|
+
COMMON_CHAIN_SLUGS["HYDRADX_TESTNET"] = "hydradx_rococo";
|
|
31
32
|
COMMON_CHAIN_SLUGS["ETHEREUM_SEPOLIA"] = "sepolia_ethereum";
|
|
32
33
|
COMMON_CHAIN_SLUGS["CHAINFLIP_POLKADOT"] = "chainflip_dot";
|
|
33
34
|
})(COMMON_CHAIN_SLUGS || (COMMON_CHAIN_SLUGS = {}));
|
|
@@ -41,5 +42,8 @@ export let COMMON_ASSETS;
|
|
|
41
42
|
COMMON_ASSETS["HDX"] = "hydradx_main-NATIVE-HDX";
|
|
42
43
|
COMMON_ASSETS["USDC_ETHEREUM"] = "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
43
44
|
COMMON_ASSETS["USDC_SEPOLIA"] = "sepolia_ethereum-ERC20-USDC-0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
45
|
+
COMMON_ASSETS["HDX_TESTNET"] = "hydradx_rococo-NATIVE-HDX";
|
|
46
|
+
COMMON_ASSETS["USDT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-USDT";
|
|
47
|
+
COMMON_ASSETS["DOT_HYDRADX_TESTNET"] = "hydradx_rococo-LOCAL-DOT";
|
|
44
48
|
})(COMMON_ASSETS || (COMMON_ASSETS = {}));
|
|
45
49
|
export const _DEFAULT_CHAINS = [COMMON_CHAIN_SLUGS.POLKADOT, COMMON_CHAIN_SLUGS.KUSAMA, COMMON_CHAIN_SLUGS.ETHEREUM];
|
package/package.json
CHANGED
package/packageInfo.js
CHANGED
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@subwallet/chain-list',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '0.2.48-beta.
|
|
10
|
+
version: '0.2.48-beta.1'
|
|
11
11
|
};
|