@subwallet/chain-list 0.0.2 → 0.0.4

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.
@@ -30,6 +30,7 @@
30
30
  symbol: "DOT",
31
31
  existentialDeposit: "10000000000",
32
32
  decimals: 10,
33
+ hasNativeNft: false,
33
34
  supportStaking: true,
34
35
  supportSmartContract: null
35
36
  },
@@ -59,6 +60,7 @@
59
60
  symbol: "KSM",
60
61
  existentialDeposit: "333333333",
61
62
  decimals: 12,
63
+ hasNativeNft: true,
62
64
  supportStaking: true,
63
65
  supportSmartContract: null
64
66
  },
@@ -87,6 +89,7 @@
87
89
  symbol: "GLMR",
88
90
  existentialDeposit: "0",
89
91
  decimals: 18,
92
+ hasNativeNft: true,
90
93
  supportStaking: true,
91
94
  supportSmartContract: null
92
95
  },
@@ -127,6 +130,7 @@
127
130
  symbol: "ACA",
128
131
  existentialDeposit: "100000000000",
129
132
  decimals: 12,
133
+ hasNativeNft: true,
130
134
  supportStaking: false,
131
135
  supportSmartContract: null
132
136
  }
@@ -140,20 +144,21 @@
140
144
  },
141
145
  substrateInfo: {
142
146
  paraId: null,
143
- relayId: null,
147
+ relaySlug: null,
144
148
  genesisHash: "0x05d5279c52c484cc80396535a316add7d47b1c5b9e0398dd1f584149341460c5",
145
149
  addressPrefix: 42,
146
150
  crowdloanUrl: null,
147
151
  chainType: "RELAYCHAIN",
148
- supportStaking: true,
149
152
  blockExplorer: null,
150
153
  symbol: "TZERO",
151
154
  existentialDeposit: "500",
152
155
  decimals: 12,
156
+ hasNativeNft: false,
153
157
  supportSmartContract: [
154
158
  "PSP34",
155
159
  "PSP22"
156
- ]
160
+ ],
161
+ supportStaking: true
157
162
  },
158
163
  evmInfo: null
159
164
  };
@@ -200,7 +205,8 @@
200
205
  minAmount: "10000000000",
201
206
  assetType: "NATIVE",
202
207
  metadata: null,
203
- multiChainAsset: "DOT-Polkadot"
208
+ multiChainAsset: "DOT-Polkadot",
209
+ hasValue: true
204
210
  },
205
211
  "kusama-NATIVE-KSM": {
206
212
  originChain: "kusama",
@@ -212,7 +218,8 @@
212
218
  minAmount: "33333333",
213
219
  assetType: "NATIVE",
214
220
  metadata: null,
215
- multiChainAsset: "KSM-Kusama"
221
+ multiChainAsset: "KSM-Kusama",
222
+ hasValue: true
216
223
  },
217
224
  "moonbeam-NATIVE-GLMR": {
218
225
  originChain: "moonbeam",
@@ -224,7 +231,8 @@
224
231
  minAmount: "0",
225
232
  assetType: "NATIVE",
226
233
  metadata: null,
227
- multiChainAsset: "GLMR-Moonbeam"
234
+ multiChainAsset: "GLMR-Moonbeam",
235
+ hasValue: true
228
236
  },
229
237
  "acala-NATIVE-ACA": {
230
238
  originChain: "acala",
@@ -236,7 +244,8 @@
236
244
  minAmount: "100000000000",
237
245
  assetType: "NATIVE",
238
246
  metadata: null,
239
- multiChainAsset: "ACA-Acala"
247
+ multiChainAsset: "ACA-Acala",
248
+ hasValue: true
240
249
  },
241
250
  "acala-LOCAL-DOT": {
242
251
  originChain: "acala",
@@ -248,7 +257,8 @@
248
257
  minAmount: null,
249
258
  assetType: "LOCAL",
250
259
  metadata: null,
251
- multiChainAsset: "DOT-Polkadot"
260
+ multiChainAsset: "DOT-Polkadot",
261
+ hasValue: true
252
262
  },
253
263
  "alephZeroTest-NATIVE-TZERO": {
254
264
  originChain: "alephZeroTest",
@@ -260,7 +270,8 @@
260
270
  minAmount: "500",
261
271
  assetType: "NATIVE",
262
272
  metadata: null,
263
- multiChainAsset: null
273
+ multiChainAsset: null,
274
+ hasValue: false
264
275
  },
265
276
  "moonbeam-LOCAL-xcDOT": {
266
277
  originChain: "moonbeam",
@@ -275,7 +286,8 @@
275
286
  assetType: "ForeignAsset",
276
287
  assetId: "42259045809535163221576417993425387648"
277
288
  },
278
- multiChainAsset: "DOT-Polkadot"
289
+ multiChainAsset: "DOT-Polkadot",
290
+ hasValue: true
279
291
  },
280
292
  "moonbeam-LOCAL-xcACA": {
281
293
  originChain: "moonbeam",
@@ -290,7 +302,8 @@
290
302
  assetType: "ForeignAsset",
291
303
  assetId: "224821240862170613278369189818311486111"
292
304
  },
293
- multiChainAsset: "ACA-Acala"
305
+ multiChainAsset: "ACA-Acala",
306
+ hasValue: true
294
307
  },
295
308
  "alephZeroTest-PSP22-PANX-5CY8zDBjUDNwZBHdGbERtLLSZqY7dJYsm1KhY6tSorYvnSke": {
296
309
  originChain: "alephZeroTest",
@@ -304,7 +317,8 @@
304
317
  metadata: {
305
318
  contractAddress: "5CY8zDBjUDNwZBHdGbERtLLSZqY7dJYsm1KhY6tSorYvnSke"
306
319
  },
307
- multiChainAsset: null
320
+ multiChainAsset: null,
321
+ hasValue: false
308
322
  },
309
323
  "moonbeam-ERC721-MFBB-0x02a6dec99b2ca768d638fcd87a96f6069f91287c": {
310
324
  originChain: "moonbeam",
@@ -318,7 +332,21 @@
318
332
  metadata: {
319
333
  contractAddress: "0x02A6DeC99B2Ca768D638fcD87A96F6069F91287c"
320
334
  },
321
- multiChainAsset: null
335
+ multiChainAsset: null,
336
+ hasValue: true
337
+ },
338
+ "ethereum-NATIVE-ETH": {
339
+ originChain: "ethereum",
340
+ slug: "ethereum-NATIVE-ETH",
341
+ name: "Ethereum",
342
+ symbol: "ETH",
343
+ decimals: 18,
344
+ priceId: "ethereum",
345
+ minAmount: "0",
346
+ assetType: "NATIVE",
347
+ metadata: null,
348
+ multiChainAsset: "ETH-Ethereum",
349
+ hasValue: true
322
350
  }
323
351
  };
324
352
 
@@ -375,6 +403,13 @@
375
403
  name: "Tether",
376
404
  symbol: "USDT",
377
405
  priceId: "tether"
406
+ },
407
+ "ETH-Ethereum": {
408
+ slug: "ETH-Ethereum",
409
+ originChainAsset: null,
410
+ name: "Ethereum",
411
+ symbol: "ETH",
412
+ priceId: "ethereum"
378
413
  }
379
414
  };
380
415
 
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@subwallet/chain-list',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '0.0.2'
16
+ version: '0.0.4'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
@@ -9,7 +9,8 @@
9
9
  "minAmount": "10000000000",
10
10
  "assetType": "NATIVE",
11
11
  "metadata": null,
12
- "multiChainAsset": "DOT-Polkadot"
12
+ "multiChainAsset": "DOT-Polkadot",
13
+ "hasValue": true
13
14
  },
14
15
  "kusama-NATIVE-KSM": {
15
16
  "originChain": "kusama",
@@ -21,7 +22,8 @@
21
22
  "minAmount": "33333333",
22
23
  "assetType": "NATIVE",
23
24
  "metadata": null,
24
- "multiChainAsset": "KSM-Kusama"
25
+ "multiChainAsset": "KSM-Kusama",
26
+ "hasValue": true
25
27
  },
26
28
  "moonbeam-NATIVE-GLMR": {
27
29
  "originChain": "moonbeam",
@@ -33,7 +35,8 @@
33
35
  "minAmount": "0",
34
36
  "assetType": "NATIVE",
35
37
  "metadata": null,
36
- "multiChainAsset": "GLMR-Moonbeam"
38
+ "multiChainAsset": "GLMR-Moonbeam",
39
+ "hasValue": true
37
40
  },
38
41
  "acala-NATIVE-ACA": {
39
42
  "originChain": "acala",
@@ -45,7 +48,8 @@
45
48
  "minAmount": "100000000000",
46
49
  "assetType": "NATIVE",
47
50
  "metadata": null,
48
- "multiChainAsset": "ACA-Acala"
51
+ "multiChainAsset": "ACA-Acala",
52
+ "hasValue": true
49
53
  },
50
54
  "acala-LOCAL-DOT": {
51
55
  "originChain": "acala",
@@ -57,7 +61,8 @@
57
61
  "minAmount": null,
58
62
  "assetType": "LOCAL",
59
63
  "metadata": null,
60
- "multiChainAsset": "DOT-Polkadot"
64
+ "multiChainAsset": "DOT-Polkadot",
65
+ "hasValue": true
61
66
  },
62
67
  "alephZeroTest-NATIVE-TZERO": {
63
68
  "originChain": "alephZeroTest",
@@ -69,7 +74,8 @@
69
74
  "minAmount": "500",
70
75
  "assetType": "NATIVE",
71
76
  "metadata": null,
72
- "multiChainAsset": null
77
+ "multiChainAsset": null,
78
+ "hasValue": false
73
79
  },
74
80
  "moonbeam-LOCAL-xcDOT": {
75
81
  "originChain": "moonbeam",
@@ -84,7 +90,8 @@
84
90
  "assetType": "ForeignAsset",
85
91
  "assetId": "42259045809535163221576417993425387648"
86
92
  },
87
- "multiChainAsset": "DOT-Polkadot"
93
+ "multiChainAsset": "DOT-Polkadot",
94
+ "hasValue": true
88
95
  },
89
96
  "moonbeam-LOCAL-xcACA": {
90
97
  "originChain": "moonbeam",
@@ -99,7 +106,8 @@
99
106
  "assetType": "ForeignAsset",
100
107
  "assetId": "224821240862170613278369189818311486111"
101
108
  },
102
- "multiChainAsset": "ACA-Acala"
109
+ "multiChainAsset": "ACA-Acala",
110
+ "hasValue": true
103
111
  },
104
112
  "alephZeroTest-PSP22-PANX-5CY8zDBjUDNwZBHdGbERtLLSZqY7dJYsm1KhY6tSorYvnSke": {
105
113
  "originChain": "alephZeroTest",
@@ -113,7 +121,8 @@
113
121
  "metadata": {
114
122
  "contractAddress": "5CY8zDBjUDNwZBHdGbERtLLSZqY7dJYsm1KhY6tSorYvnSke"
115
123
  },
116
- "multiChainAsset": null
124
+ "multiChainAsset": null,
125
+ "hasValue": false
117
126
  },
118
127
  "moonbeam-ERC721-MFBB-0x02a6dec99b2ca768d638fcd87a96f6069f91287c": {
119
128
  "originChain": "moonbeam",
@@ -127,6 +136,20 @@
127
136
  "metadata": {
128
137
  "contractAddress": "0x02A6DeC99B2Ca768D638fcD87A96F6069F91287c"
129
138
  },
130
- "multiChainAsset": null
139
+ "multiChainAsset": null,
140
+ "hasValue": true
141
+ },
142
+ "ethereum-NATIVE-ETH": {
143
+ "originChain": "ethereum",
144
+ "slug": "ethereum-NATIVE-ETH",
145
+ "name": "Ethereum",
146
+ "symbol": "ETH",
147
+ "decimals": 18,
148
+ "priceId": "ethereum",
149
+ "minAmount": "0",
150
+ "assetType": "NATIVE",
151
+ "metadata": null,
152
+ "multiChainAsset": "ETH-Ethereum",
153
+ "hasValue": true
131
154
  }
132
155
  }
@@ -25,6 +25,7 @@
25
25
  "existentialDeposit": "10000000000",
26
26
  "decimals": 10,
27
27
 
28
+ "hasNativeNft": false,
28
29
  "supportStaking": true,
29
30
  "supportSmartContract": null
30
31
  },
@@ -56,6 +57,7 @@
56
57
  "existentialDeposit": "333333333",
57
58
  "decimals": 12,
58
59
 
60
+ "hasNativeNft": true,
59
61
  "supportStaking": true,
60
62
  "supportSmartContract": null
61
63
  },
@@ -86,6 +88,7 @@
86
88
  "existentialDeposit": "0",
87
89
  "decimals": 18,
88
90
 
91
+ "hasNativeNft": true,
89
92
  "supportStaking": true,
90
93
  "supportSmartContract": null
91
94
  },
@@ -127,6 +130,7 @@
127
130
  "existentialDeposit": "100000000000",
128
131
  "decimals": 12,
129
132
 
133
+ "hasNativeNft": true,
130
134
  "supportStaking": false,
131
135
  "supportSmartContract": null
132
136
  }
@@ -140,19 +144,21 @@
140
144
  },
141
145
  "substrateInfo": {
142
146
  "paraId": null,
143
- "relayId": null,
147
+ "relaySlug": null,
144
148
  "genesisHash": "0x05d5279c52c484cc80396535a316add7d47b1c5b9e0398dd1f584149341460c5",
145
149
  "addressPrefix": 42,
146
150
  "crowdloanUrl": null,
147
151
  "chainType": "RELAYCHAIN",
148
- "supportStaking": true,
152
+
149
153
  "blockExplorer": null,
150
154
 
151
155
  "symbol": "TZERO",
152
156
  "existentialDeposit": "500",
153
157
  "decimals": 12,
154
158
 
155
- "supportSmartContract": ["PSP34", "PSP22"]
159
+ "hasNativeNft": false,
160
+ "supportSmartContract": ["PSP34", "PSP22"],
161
+ "supportStaking": true
156
162
  },
157
163
  "evmInfo": null
158
164
  },
@@ -33,5 +33,12 @@
33
33
  "name": "Tether",
34
34
  "symbol": "USDT",
35
35
  "priceId": "tether"
36
+ },
37
+ "ETH-Ethereum": {
38
+ "slug": "ETH-Ethereum",
39
+ "originChainAsset": null,
40
+ "name": "Ethereum",
41
+ "symbol": "ETH",
42
+ "priceId": "ethereum"
36
43
  }
37
44
  }
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "0.0.2",
23
+ "version": "0.0.4",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
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.0.2'
10
+ version: '0.0.4'
11
11
  };
package/types.d.ts CHANGED
@@ -48,6 +48,7 @@ export interface _ChainAsset {
48
48
  assetType: _AssetType;
49
49
  metadata: Record<any, any> | null;
50
50
  multiChainAsset: string | null;
51
+ hasValue: boolean;
51
52
  }
52
53
  export interface _EvmInfo {
53
54
  evmChainId: number;
@@ -69,7 +70,7 @@ export interface _SubstrateInfo {
69
70
  existentialDeposit: string;
70
71
  decimals: number;
71
72
  symbol: string;
72
- supportNft: boolean;
73
+ hasNativeNft: boolean;
73
74
  supportStaking: boolean;
74
75
  supportSmartContract: _AssetType[] | null;
75
76
  }