@swapkit/types 0.3.0 → 0.7.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/dist/LICENSE +246 -0
- package/dist/index.cjs +1 -4
- package/dist/index.js +1 -4
- package/dist/types/chains/_createChain.d.ts +1 -0
- package/dist/types/chains/_createChain.d.ts.map +1 -1
- package/dist/types/chains/_enums.d.ts +10 -2
- package/dist/types/chains/_enums.d.ts.map +1 -1
- package/dist/types/chains/cosmos.d.ts +18 -0
- package/dist/types/chains/cosmos.d.ts.map +1 -1
- package/dist/types/chains/evm.d.ts +41 -6
- package/dist/types/chains/evm.d.ts.map +1 -1
- package/dist/types/chains/index.d.ts +109 -8
- package/dist/types/chains/index.d.ts.map +1 -1
- package/dist/types/chains/others.d.ts +54 -4
- package/dist/types/chains/others.d.ts.map +1 -1
- package/dist/types/chains/substrate.d.ts +2 -0
- package/dist/types/chains/substrate.d.ts.map +1 -1
- package/dist/types/chains/utxo.d.ts +6 -0
- package/dist/types/chains/utxo.d.ts.map +1 -1
- package/package.json +6 -10
- package/dist/index.cjs.map +0 -17
- package/dist/index.js.map +0 -17
- package/src/chains/_createChain.ts +0 -22
- package/src/chains/_enums.ts +0 -105
- package/src/chains/cosmos.ts +0 -159
- package/src/chains/evm.ts +0 -346
- package/src/chains/index.ts +0 -149
- package/src/chains/others.ts +0 -130
- package/src/chains/substrate.ts +0 -51
- package/src/chains/utxo.ts +0 -93
- package/src/index.ts +0 -1
|
@@ -10,6 +10,7 @@ export declare const AllChainConfigs: (({
|
|
|
10
10
|
readonly blockTime: 2;
|
|
11
11
|
readonly chain: Chain.Cosmos;
|
|
12
12
|
readonly chainId: ChainId.Cosmos;
|
|
13
|
+
readonly coinType: 118;
|
|
13
14
|
readonly explorerUrl: "https://www.mintscan.io/cosmos";
|
|
14
15
|
readonly name: "Cosmos";
|
|
15
16
|
readonly nativeCurrency: "ATOM";
|
|
@@ -23,6 +24,7 @@ export declare const AllChainConfigs: (({
|
|
|
23
24
|
readonly blockTime: 6;
|
|
24
25
|
readonly chain: Chain.THORChain;
|
|
25
26
|
readonly chainId: ChainId.THORChain;
|
|
27
|
+
readonly coinType: 931;
|
|
26
28
|
readonly explorerUrl: "https://runescan.io";
|
|
27
29
|
readonly name: "THORChain";
|
|
28
30
|
readonly nativeCurrency: "RUNE";
|
|
@@ -37,6 +39,7 @@ export declare const AllChainConfigs: (({
|
|
|
37
39
|
readonly blockTime: 6;
|
|
38
40
|
readonly chain: Chain.Maya;
|
|
39
41
|
readonly chainId: ChainId.Maya;
|
|
42
|
+
readonly coinType: 931;
|
|
40
43
|
readonly explorerUrl: "https://www.mayascan.org";
|
|
41
44
|
readonly name: "Maya";
|
|
42
45
|
readonly nativeCurrency: "CACAO";
|
|
@@ -51,6 +54,7 @@ export declare const AllChainConfigs: (({
|
|
|
51
54
|
readonly blockTime: 6;
|
|
52
55
|
readonly chain: Chain.Harbor;
|
|
53
56
|
readonly chainId: ChainId.Harbor;
|
|
57
|
+
readonly coinType: 931;
|
|
54
58
|
readonly explorerUrl: "";
|
|
55
59
|
readonly name: "Harbor";
|
|
56
60
|
readonly nativeCurrency: "HRB";
|
|
@@ -64,6 +68,7 @@ export declare const AllChainConfigs: (({
|
|
|
64
68
|
readonly blockTime: 2.2;
|
|
65
69
|
readonly chain: Chain.Kujira;
|
|
66
70
|
readonly chainId: ChainId.Kujira;
|
|
71
|
+
readonly coinType: 118;
|
|
67
72
|
readonly explorerUrl: "https://finder.kujira.network/kaiyo-1";
|
|
68
73
|
readonly name: "Kujira";
|
|
69
74
|
readonly nativeCurrency: "KUJI";
|
|
@@ -77,6 +82,7 @@ export declare const AllChainConfigs: (({
|
|
|
77
82
|
readonly blockTime: 1.3;
|
|
78
83
|
readonly chain: Chain.Noble;
|
|
79
84
|
readonly chainId: ChainId.Noble;
|
|
85
|
+
readonly coinType: 118;
|
|
80
86
|
readonly explorerUrl: "https://www.mintscan.io/noble";
|
|
81
87
|
readonly name: "Noble";
|
|
82
88
|
readonly nativeCurrency: "USDC";
|
|
@@ -91,6 +97,7 @@ export declare const AllChainConfigs: (({
|
|
|
91
97
|
readonly chain: Chain.Ethereum;
|
|
92
98
|
readonly chainId: ChainId.Ethereum;
|
|
93
99
|
readonly chainIdHex: "0x1";
|
|
100
|
+
readonly coinType: 60;
|
|
94
101
|
readonly explorerUrl: "https://etherscan.io";
|
|
95
102
|
readonly name: "Ethereum";
|
|
96
103
|
readonly nativeCurrency: "ETH";
|
|
@@ -105,6 +112,7 @@ export declare const AllChainConfigs: (({
|
|
|
105
112
|
readonly chain: Chain.BinanceSmartChain;
|
|
106
113
|
readonly chainId: ChainId.BinanceSmartChain;
|
|
107
114
|
readonly chainIdHex: "0x38";
|
|
115
|
+
readonly coinType: 60;
|
|
108
116
|
readonly explorerUrl: "https://bscscan.com";
|
|
109
117
|
readonly name: "BinanceSmartChain";
|
|
110
118
|
readonly nativeCurrency: "BNB";
|
|
@@ -119,11 +127,12 @@ export declare const AllChainConfigs: (({
|
|
|
119
127
|
readonly chain: Chain.Avalanche;
|
|
120
128
|
readonly chainId: ChainId.Avalanche;
|
|
121
129
|
readonly chainIdHex: "0xa86a";
|
|
130
|
+
readonly coinType: 60;
|
|
122
131
|
readonly explorerUrl: "https://snowtrace.io";
|
|
123
132
|
readonly name: "Avalanche";
|
|
124
133
|
readonly nativeCurrency: "AVAX";
|
|
125
134
|
readonly networkDerivationPath: [number, number, number, number, number];
|
|
126
|
-
readonly rpcUrls: ["https://api.avax.network/ext/bc/C/rpc", "https://
|
|
135
|
+
readonly rpcUrls: ["https://api.avax.network/ext/bc/C/rpc", "https://avalanche-c-chain-rpc.publicnode.com"];
|
|
127
136
|
readonly type: "evm";
|
|
128
137
|
} & {
|
|
129
138
|
chainIdHex: "0xa86a";
|
|
@@ -133,6 +142,7 @@ export declare const AllChainConfigs: (({
|
|
|
133
142
|
readonly chain: Chain.Polygon;
|
|
134
143
|
readonly chainId: ChainId.Polygon;
|
|
135
144
|
readonly chainIdHex: "0x89";
|
|
145
|
+
readonly coinType: 60;
|
|
136
146
|
readonly explorerUrl: "https://polygonscan.com";
|
|
137
147
|
readonly name: "Polygon";
|
|
138
148
|
readonly nativeCurrency: "POL";
|
|
@@ -141,12 +151,28 @@ export declare const AllChainConfigs: (({
|
|
|
141
151
|
readonly type: "evm";
|
|
142
152
|
} & {
|
|
143
153
|
chainIdHex: "0x89";
|
|
154
|
+
}) | ({
|
|
155
|
+
readonly baseDecimal: 18;
|
|
156
|
+
readonly blockTime: 1;
|
|
157
|
+
readonly chain: Chain.Adi;
|
|
158
|
+
readonly chainId: ChainId.Adi;
|
|
159
|
+
readonly chainIdHex: "0x9024";
|
|
160
|
+
readonly coinType: 60;
|
|
161
|
+
readonly explorerUrl: "https://explorer.adifoundation.ai";
|
|
162
|
+
readonly name: "ADI Chain";
|
|
163
|
+
readonly nativeCurrency: "ADI";
|
|
164
|
+
readonly networkDerivationPath: [number, number, number, number, number];
|
|
165
|
+
readonly rpcUrls: ["https://rpc.adifoundation.ai"];
|
|
166
|
+
readonly type: "evm";
|
|
167
|
+
} & {
|
|
168
|
+
chainIdHex: "0x9024";
|
|
144
169
|
}) | ({
|
|
145
170
|
readonly baseDecimal: 18;
|
|
146
171
|
readonly blockTime: 0.3;
|
|
147
172
|
readonly chain: Chain.Arbitrum;
|
|
148
173
|
readonly chainId: ChainId.Arbitrum;
|
|
149
174
|
readonly chainIdHex: "0xa4b1";
|
|
175
|
+
readonly coinType: 60;
|
|
150
176
|
readonly explorerUrl: "https://arbiscan.io";
|
|
151
177
|
readonly name: "Arbitrum";
|
|
152
178
|
readonly nativeCurrency: "ETH";
|
|
@@ -161,6 +187,7 @@ export declare const AllChainConfigs: (({
|
|
|
161
187
|
readonly chain: Chain.Optimism;
|
|
162
188
|
readonly chainId: ChainId.Optimism;
|
|
163
189
|
readonly chainIdHex: "0xa";
|
|
190
|
+
readonly coinType: 60;
|
|
164
191
|
readonly explorerUrl: "https://optimistic.etherscan.io";
|
|
165
192
|
readonly name: "Optimism";
|
|
166
193
|
readonly nativeCurrency: "ETH";
|
|
@@ -175,6 +202,7 @@ export declare const AllChainConfigs: (({
|
|
|
175
202
|
readonly chain: Chain.Base;
|
|
176
203
|
readonly chainId: ChainId.Base;
|
|
177
204
|
readonly chainIdHex: "0x2105";
|
|
205
|
+
readonly coinType: 60;
|
|
178
206
|
readonly explorerUrl: "https://basescan.org";
|
|
179
207
|
readonly name: "Base";
|
|
180
208
|
readonly nativeCurrency: "ETH";
|
|
@@ -189,6 +217,7 @@ export declare const AllChainConfigs: (({
|
|
|
189
217
|
readonly chain: Chain.Gnosis;
|
|
190
218
|
readonly chainId: ChainId.Gnosis;
|
|
191
219
|
readonly chainIdHex: "0x64";
|
|
220
|
+
readonly coinType: 60;
|
|
192
221
|
readonly explorerUrl: "https://gnosisscan.io";
|
|
193
222
|
readonly name: "Gnosis";
|
|
194
223
|
readonly nativeCurrency: "xDAI";
|
|
@@ -203,6 +232,7 @@ export declare const AllChainConfigs: (({
|
|
|
203
232
|
readonly chain: Chain.Aurora;
|
|
204
233
|
readonly chainId: ChainId.Aurora;
|
|
205
234
|
readonly chainIdHex: "0x4e454152";
|
|
235
|
+
readonly coinType: 60;
|
|
206
236
|
readonly explorerUrl: "https://explorer.mainnet.aurora.dev";
|
|
207
237
|
readonly name: "Aurora";
|
|
208
238
|
readonly nativeCurrency: "ETH";
|
|
@@ -217,6 +247,7 @@ export declare const AllChainConfigs: (({
|
|
|
217
247
|
readonly chain: Chain.Berachain;
|
|
218
248
|
readonly chainId: ChainId.Berachain;
|
|
219
249
|
readonly chainIdHex: "0x138de";
|
|
250
|
+
readonly coinType: 60;
|
|
220
251
|
readonly explorerUrl: "https://berascan.com";
|
|
221
252
|
readonly name: "Berachain";
|
|
222
253
|
readonly nativeCurrency: "BERA";
|
|
@@ -231,6 +262,7 @@ export declare const AllChainConfigs: (({
|
|
|
231
262
|
readonly chain: Chain.Hyperevm;
|
|
232
263
|
readonly chainId: ChainId.Hyperevm;
|
|
233
264
|
readonly chainIdHex: "0x3e7";
|
|
265
|
+
readonly coinType: 60;
|
|
234
266
|
readonly explorerUrl: "https://app.hyperliquid.xyz/explorer";
|
|
235
267
|
readonly name: "Hyperliquid";
|
|
236
268
|
readonly nativeCurrency: "HYPE";
|
|
@@ -245,6 +277,7 @@ export declare const AllChainConfigs: (({
|
|
|
245
277
|
readonly chain: Chain.Unichain;
|
|
246
278
|
readonly chainId: ChainId.Unichain;
|
|
247
279
|
readonly chainIdHex: "0x82";
|
|
280
|
+
readonly coinType: 60;
|
|
248
281
|
readonly explorerUrl: "https://unichain.blockscout.com";
|
|
249
282
|
readonly name: "Unichain";
|
|
250
283
|
readonly nativeCurrency: "ETH";
|
|
@@ -259,6 +292,7 @@ export declare const AllChainConfigs: (({
|
|
|
259
292
|
readonly chain: Chain.Corn;
|
|
260
293
|
readonly chainId: ChainId.Corn;
|
|
261
294
|
readonly chainIdHex: "0x1406f40";
|
|
295
|
+
readonly coinType: 60;
|
|
262
296
|
readonly explorerUrl: "https://cornscan.io";
|
|
263
297
|
readonly name: "Corn";
|
|
264
298
|
readonly nativeCurrency: "BTCN";
|
|
@@ -273,11 +307,12 @@ export declare const AllChainConfigs: (({
|
|
|
273
307
|
readonly chain: Chain.Core;
|
|
274
308
|
readonly chainId: ChainId.Core;
|
|
275
309
|
readonly chainIdHex: "0x45c";
|
|
310
|
+
readonly coinType: 60;
|
|
276
311
|
readonly explorerUrl: "https://corescan.io";
|
|
277
312
|
readonly name: "Core";
|
|
278
313
|
readonly nativeCurrency: "CORE";
|
|
279
314
|
readonly networkDerivationPath: [number, number, number, number, number];
|
|
280
|
-
readonly rpcUrls: ["https://
|
|
315
|
+
readonly rpcUrls: ["https://rpc.coredao.org", "https://1rpc.io/core"];
|
|
281
316
|
readonly type: "evm";
|
|
282
317
|
} & {
|
|
283
318
|
chainIdHex: "0x45c";
|
|
@@ -287,11 +322,12 @@ export declare const AllChainConfigs: (({
|
|
|
287
322
|
readonly chain: Chain.Botanix;
|
|
288
323
|
readonly chainId: ChainId.Botanix;
|
|
289
324
|
readonly chainIdHex: "0xe35";
|
|
325
|
+
readonly coinType: 60;
|
|
290
326
|
readonly explorerUrl: "https://botanixscan.io";
|
|
291
327
|
readonly name: "Botanix";
|
|
292
328
|
readonly nativeCurrency: "BTC";
|
|
293
329
|
readonly networkDerivationPath: [number, number, number, number, number];
|
|
294
|
-
readonly rpcUrls: ["https://
|
|
330
|
+
readonly rpcUrls: ["https://rpc.botanixlabs.dev", "https://botanix.drpc.org"];
|
|
295
331
|
readonly type: "evm";
|
|
296
332
|
} & {
|
|
297
333
|
chainIdHex: "0xe35";
|
|
@@ -301,6 +337,7 @@ export declare const AllChainConfigs: (({
|
|
|
301
337
|
readonly chain: Chain.Cronos;
|
|
302
338
|
readonly chainId: ChainId.Cronos;
|
|
303
339
|
readonly chainIdHex: "0x19";
|
|
340
|
+
readonly coinType: 60;
|
|
304
341
|
readonly explorerUrl: "https://croscan.io";
|
|
305
342
|
readonly name: "Cronos";
|
|
306
343
|
readonly nativeCurrency: "CRO";
|
|
@@ -315,6 +352,7 @@ export declare const AllChainConfigs: (({
|
|
|
315
352
|
readonly chain: Chain.XLayer;
|
|
316
353
|
readonly chainId: ChainId.XLayer;
|
|
317
354
|
readonly chainIdHex: "0xc4";
|
|
355
|
+
readonly coinType: 60;
|
|
318
356
|
readonly explorerUrl: "https://www.oklink.com/x-layer";
|
|
319
357
|
readonly name: "X Layer";
|
|
320
358
|
readonly nativeCurrency: "OKB";
|
|
@@ -329,11 +367,12 @@ export declare const AllChainConfigs: (({
|
|
|
329
367
|
readonly chain: Chain.Sonic;
|
|
330
368
|
readonly chainId: ChainId.Sonic;
|
|
331
369
|
readonly chainIdHex: "0x92";
|
|
370
|
+
readonly coinType: 60;
|
|
332
371
|
readonly explorerUrl: "https://sonicscan.io";
|
|
333
372
|
readonly name: "Sonic";
|
|
334
373
|
readonly nativeCurrency: "S";
|
|
335
374
|
readonly networkDerivationPath: [number, number, number, number, number];
|
|
336
|
-
readonly rpcUrls: ["https://rpc.sonic.
|
|
375
|
+
readonly rpcUrls: ["https://rpc.soniclabs.com", "https://sonic.drpc.org"];
|
|
337
376
|
readonly type: "evm";
|
|
338
377
|
} & {
|
|
339
378
|
chainIdHex: "0x92";
|
|
@@ -343,11 +382,12 @@ export declare const AllChainConfigs: (({
|
|
|
343
382
|
readonly chain: Chain.Monad;
|
|
344
383
|
readonly chainId: ChainId.Monad;
|
|
345
384
|
readonly chainIdHex: "0x8f";
|
|
385
|
+
readonly coinType: 60;
|
|
346
386
|
readonly explorerUrl: "https://monvision.io";
|
|
347
387
|
readonly name: "Monad";
|
|
348
388
|
readonly nativeCurrency: "MON";
|
|
349
389
|
readonly networkDerivationPath: [number, number, number, number, number];
|
|
350
|
-
readonly rpcUrls: [];
|
|
390
|
+
readonly rpcUrls: ["https://rpc.monad.xyz/", "https://rpc3.monad.xyz/", "https://rpc-mainnet.monadinfra.com/"];
|
|
351
391
|
readonly type: "evm";
|
|
352
392
|
} & {
|
|
353
393
|
chainIdHex: "0x8f";
|
|
@@ -357,6 +397,7 @@ export declare const AllChainConfigs: (({
|
|
|
357
397
|
readonly chain: Chain.MegaETH;
|
|
358
398
|
readonly chainId: ChainId.MegaETH;
|
|
359
399
|
readonly chainIdHex: "0x10e6";
|
|
400
|
+
readonly coinType: 60;
|
|
360
401
|
readonly explorerUrl: "";
|
|
361
402
|
readonly name: "MegaETH";
|
|
362
403
|
readonly nativeCurrency: "ETH";
|
|
@@ -365,16 +406,31 @@ export declare const AllChainConfigs: (({
|
|
|
365
406
|
readonly type: "evm";
|
|
366
407
|
} & {
|
|
367
408
|
chainIdHex: "0x10e6";
|
|
409
|
+
}) | ({
|
|
410
|
+
readonly baseDecimal: 8;
|
|
411
|
+
readonly blockTime: 1;
|
|
412
|
+
readonly chain: Chain.Aptos;
|
|
413
|
+
readonly chainId: ChainId.Aptos;
|
|
414
|
+
readonly coinType: 637;
|
|
415
|
+
readonly explorerUrl: "https://explorer.aptoslabs.com";
|
|
416
|
+
readonly name: "Aptos";
|
|
417
|
+
readonly nativeCurrency: "APT";
|
|
418
|
+
readonly networkDerivationPath: [44, 637, 0, 0, 0];
|
|
419
|
+
readonly rpcUrls: ["https://api.mainnet.aptoslabs.com/v1"];
|
|
420
|
+
readonly type: "others";
|
|
421
|
+
} & {
|
|
422
|
+
chainIdHex: undefined;
|
|
368
423
|
}) | ({
|
|
369
424
|
readonly baseDecimal: 24;
|
|
370
425
|
readonly blockTime: 1;
|
|
371
426
|
readonly chain: Chain.Near;
|
|
372
427
|
readonly chainId: ChainId.Near;
|
|
428
|
+
readonly coinType: 397;
|
|
373
429
|
readonly explorerUrl: "https://nearblocks.io";
|
|
374
430
|
readonly name: "Near";
|
|
375
431
|
readonly nativeCurrency: "NEAR";
|
|
376
432
|
readonly networkDerivationPath: [44, 397, 0, 0, 0];
|
|
377
|
-
readonly rpcUrls: ["https://rpc.mainnet.near.org", "https://1rpc.io/near", "https://near.lava.build", "https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"];
|
|
433
|
+
readonly rpcUrls: ["https://rpc.mainnet.near.org", "https://free.rpc.fastnear.com", "https://1rpc.io/near", "https://near.lava.build", "https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"];
|
|
378
434
|
readonly type: "others";
|
|
379
435
|
} & {
|
|
380
436
|
chainIdHex: undefined;
|
|
@@ -383,6 +439,7 @@ export declare const AllChainConfigs: (({
|
|
|
383
439
|
readonly blockTime: 5;
|
|
384
440
|
readonly chain: Chain.Radix;
|
|
385
441
|
readonly chainId: ChainId.Radix;
|
|
442
|
+
readonly coinType: 1022;
|
|
386
443
|
readonly explorerUrl: "https://dashboard.radixdlt.com";
|
|
387
444
|
readonly name: "Radix";
|
|
388
445
|
readonly nativeCurrency: "XRD";
|
|
@@ -396,6 +453,7 @@ export declare const AllChainConfigs: (({
|
|
|
396
453
|
readonly blockTime: 5;
|
|
397
454
|
readonly chain: Chain.Ripple;
|
|
398
455
|
readonly chainId: ChainId.Ripple;
|
|
456
|
+
readonly coinType: 144;
|
|
399
457
|
readonly explorerUrl: "https://livenet.xrpl.org/";
|
|
400
458
|
readonly name: "Ripple";
|
|
401
459
|
readonly nativeCurrency: "XRP";
|
|
@@ -409,11 +467,12 @@ export declare const AllChainConfigs: (({
|
|
|
409
467
|
readonly blockTime: 0.4;
|
|
410
468
|
readonly chain: Chain.Solana;
|
|
411
469
|
readonly chainId: ChainId.Solana;
|
|
470
|
+
readonly coinType: 501;
|
|
412
471
|
readonly explorerUrl: "https://solscan.io";
|
|
413
472
|
readonly name: "Solana";
|
|
414
473
|
readonly nativeCurrency: "SOL";
|
|
415
474
|
readonly networkDerivationPath: [44, 501, 0, 0, 0];
|
|
416
|
-
readonly rpcUrls: ["https://solana-rpc.publicnode.com", "https://
|
|
475
|
+
readonly rpcUrls: ["https://solana-rpc.publicnode.com", "https://solana.drpc.org", "https://api.mainnet-beta.solana.com"];
|
|
417
476
|
readonly type: "others";
|
|
418
477
|
} & {
|
|
419
478
|
chainIdHex: undefined;
|
|
@@ -422,11 +481,12 @@ export declare const AllChainConfigs: (({
|
|
|
422
481
|
readonly blockTime: 5;
|
|
423
482
|
readonly chain: Chain.Ton;
|
|
424
483
|
readonly chainId: ChainId.Ton;
|
|
484
|
+
readonly coinType: 607;
|
|
425
485
|
readonly explorerUrl: "https://tonscan.org";
|
|
426
486
|
readonly name: "Ton";
|
|
427
487
|
readonly nativeCurrency: "TON";
|
|
428
488
|
readonly networkDerivationPath: [44, 607, 0, 0, 0];
|
|
429
|
-
readonly rpcUrls: [
|
|
489
|
+
readonly rpcUrls: [];
|
|
430
490
|
readonly type: "others";
|
|
431
491
|
} & {
|
|
432
492
|
chainIdHex: undefined;
|
|
@@ -436,6 +496,7 @@ export declare const AllChainConfigs: (({
|
|
|
436
496
|
readonly chain: Chain.Tron;
|
|
437
497
|
readonly chainId: ChainId.Tron;
|
|
438
498
|
readonly chainIdHex: "0x2b6653dc";
|
|
499
|
+
readonly coinType: 195;
|
|
439
500
|
readonly explorerUrl: "https://tronscan.org";
|
|
440
501
|
readonly name: "Tron";
|
|
441
502
|
readonly nativeCurrency: "TRX";
|
|
@@ -444,11 +505,26 @@ export declare const AllChainConfigs: (({
|
|
|
444
505
|
readonly type: "others";
|
|
445
506
|
} & {
|
|
446
507
|
chainIdHex: "0x2b6653dc";
|
|
508
|
+
}) | ({
|
|
509
|
+
readonly baseDecimal: 7;
|
|
510
|
+
readonly blockTime: 5;
|
|
511
|
+
readonly chain: Chain.Stellar;
|
|
512
|
+
readonly chainId: ChainId.Stellar;
|
|
513
|
+
readonly coinType: 148;
|
|
514
|
+
readonly explorerUrl: "https://stellar.expert";
|
|
515
|
+
readonly name: "Stellar";
|
|
516
|
+
readonly nativeCurrency: "XLM";
|
|
517
|
+
readonly networkDerivationPath: [44, 148, 0, 0, 0];
|
|
518
|
+
readonly rpcUrls: ["https://horizon.stellar.org", "https://horizon.stellar.lobstr.co"];
|
|
519
|
+
readonly type: "others";
|
|
520
|
+
} & {
|
|
521
|
+
chainIdHex: undefined;
|
|
447
522
|
}) | ({
|
|
448
523
|
readonly baseDecimal: 9;
|
|
449
524
|
readonly blockTime: 5;
|
|
450
525
|
readonly chain: Chain.Sui;
|
|
451
526
|
readonly chainId: ChainId.Sui;
|
|
527
|
+
readonly coinType: 784;
|
|
452
528
|
readonly explorerUrl: "https://suiscan.xyz";
|
|
453
529
|
readonly name: "Sui";
|
|
454
530
|
readonly nativeCurrency: "SUI";
|
|
@@ -462,6 +538,7 @@ export declare const AllChainConfigs: (({
|
|
|
462
538
|
readonly blockTime: 600;
|
|
463
539
|
readonly chain: Chain.Cardano;
|
|
464
540
|
readonly chainId: ChainId.Cardano;
|
|
541
|
+
readonly coinType: 1815;
|
|
465
542
|
readonly explorerUrl: "https://cexplorer.io";
|
|
466
543
|
readonly name: "Cardano";
|
|
467
544
|
readonly nativeCurrency: "ADA";
|
|
@@ -470,11 +547,26 @@ export declare const AllChainConfigs: (({
|
|
|
470
547
|
readonly type: "others";
|
|
471
548
|
} & {
|
|
472
549
|
chainIdHex: undefined;
|
|
550
|
+
}) | ({
|
|
551
|
+
readonly baseDecimal: 18;
|
|
552
|
+
readonly blockTime: 6;
|
|
553
|
+
readonly chain: Chain.Starknet;
|
|
554
|
+
readonly chainId: ChainId.Starknet;
|
|
555
|
+
readonly coinType: 9004;
|
|
556
|
+
readonly explorerUrl: "https://starkscan.co";
|
|
557
|
+
readonly name: "Starknet";
|
|
558
|
+
readonly nativeCurrency: "STRK";
|
|
559
|
+
readonly networkDerivationPath: [44, 9004, 0, 0, 0];
|
|
560
|
+
readonly rpcUrls: ["https://starknet-rpc.publicnode.com", "https://starknet.drpc.org", "https://rpc.starknet.lava.build"];
|
|
561
|
+
readonly type: "others";
|
|
562
|
+
} & {
|
|
563
|
+
chainIdHex: undefined;
|
|
473
564
|
}) | ({
|
|
474
565
|
readonly baseDecimal: 10;
|
|
475
566
|
readonly blockTime: 6;
|
|
476
567
|
readonly chain: Chain.Polkadot;
|
|
477
568
|
readonly chainId: ChainId.Polkadot;
|
|
569
|
+
readonly coinType: 354;
|
|
478
570
|
readonly explorerUrl: "https://polkadot.subscan.io";
|
|
479
571
|
readonly name: "Polkadot";
|
|
480
572
|
readonly nativeCurrency: "DOT";
|
|
@@ -488,6 +580,7 @@ export declare const AllChainConfigs: (({
|
|
|
488
580
|
readonly blockTime: 5;
|
|
489
581
|
readonly chain: Chain.Chainflip;
|
|
490
582
|
readonly chainId: ChainId.Chainflip;
|
|
583
|
+
readonly coinType: 2112;
|
|
491
584
|
readonly explorerUrl: "https://explorer.polkascan.io/polkadot";
|
|
492
585
|
readonly name: "Chainflip";
|
|
493
586
|
readonly nativeCurrency: "FLIP";
|
|
@@ -501,6 +594,7 @@ export declare const AllChainConfigs: (({
|
|
|
501
594
|
readonly blockTime: 600;
|
|
502
595
|
readonly chain: Chain.Bitcoin;
|
|
503
596
|
readonly chainId: ChainId.Bitcoin;
|
|
597
|
+
readonly coinType: 0;
|
|
504
598
|
readonly explorerUrl: "https://blockchair.com/bitcoin";
|
|
505
599
|
readonly name: "Bitcoin";
|
|
506
600
|
readonly nativeCurrency: "BTC";
|
|
@@ -514,6 +608,7 @@ export declare const AllChainConfigs: (({
|
|
|
514
608
|
readonly blockTime: 600;
|
|
515
609
|
readonly chain: Chain.BitcoinCash;
|
|
516
610
|
readonly chainId: ChainId.BitcoinCash;
|
|
611
|
+
readonly coinType: 145;
|
|
517
612
|
readonly explorerUrl: "https://www.blockchair.com/bitcoin-cash";
|
|
518
613
|
readonly name: "BitcoinCash";
|
|
519
614
|
readonly nativeCurrency: "BCH";
|
|
@@ -527,6 +622,7 @@ export declare const AllChainConfigs: (({
|
|
|
527
622
|
readonly blockTime: 150;
|
|
528
623
|
readonly chain: Chain.Litecoin;
|
|
529
624
|
readonly chainId: ChainId.Litecoin;
|
|
625
|
+
readonly coinType: 2;
|
|
530
626
|
readonly explorerUrl: "https://blockchair.com/litecoin";
|
|
531
627
|
readonly name: "Litecoin";
|
|
532
628
|
readonly nativeCurrency: "LTC";
|
|
@@ -540,6 +636,7 @@ export declare const AllChainConfigs: (({
|
|
|
540
636
|
readonly blockTime: 60;
|
|
541
637
|
readonly chain: Chain.Dogecoin;
|
|
542
638
|
readonly chainId: ChainId.Dogecoin;
|
|
639
|
+
readonly coinType: 3;
|
|
543
640
|
readonly explorerUrl: "https://blockchair.com/dogecoin";
|
|
544
641
|
readonly name: "Dogecoin";
|
|
545
642
|
readonly nativeCurrency: "DOGE";
|
|
@@ -553,6 +650,7 @@ export declare const AllChainConfigs: (({
|
|
|
553
650
|
readonly blockTime: 150;
|
|
554
651
|
readonly chain: Chain.Dash;
|
|
555
652
|
readonly chainId: ChainId.Dash;
|
|
653
|
+
readonly coinType: 5;
|
|
556
654
|
readonly explorerUrl: "https://blockchair.com/dash";
|
|
557
655
|
readonly name: "Dash";
|
|
558
656
|
readonly nativeCurrency: "DASH";
|
|
@@ -566,6 +664,7 @@ export declare const AllChainConfigs: (({
|
|
|
566
664
|
readonly blockTime: 75;
|
|
567
665
|
readonly chain: Chain.Zcash;
|
|
568
666
|
readonly chainId: ChainId.Zcash;
|
|
667
|
+
readonly coinType: 133;
|
|
569
668
|
readonly explorerUrl: "https://blockchair.com/zcash";
|
|
570
669
|
readonly name: "Zcash";
|
|
571
670
|
readonly nativeCurrency: "ZEC";
|
|
@@ -653,4 +752,6 @@ export declare const BaseDecimal: Record<Chain, number>;
|
|
|
653
752
|
* ```
|
|
654
753
|
*/
|
|
655
754
|
export declare const BlockTimes: Record<Chain, number>;
|
|
755
|
+
export declare function getCoinType(chain: Chain): number;
|
|
756
|
+
export declare function getChainByCoinType(coinType: number): Chain | undefined;
|
|
656
757
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chains/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAO9D,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AAEvB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chains/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,14 +1,29 @@
|
|
|
1
1
|
import { Chain, ChainId } from "./_enums";
|
|
2
2
|
export declare const OtherChainConfigs: readonly [{
|
|
3
|
+
readonly baseDecimal: 8;
|
|
4
|
+
readonly blockTime: 1;
|
|
5
|
+
readonly chain: Chain.Aptos;
|
|
6
|
+
readonly chainId: ChainId.Aptos;
|
|
7
|
+
readonly coinType: 637;
|
|
8
|
+
readonly explorerUrl: "https://explorer.aptoslabs.com";
|
|
9
|
+
readonly name: "Aptos";
|
|
10
|
+
readonly nativeCurrency: "APT";
|
|
11
|
+
readonly networkDerivationPath: [44, 637, 0, 0, 0];
|
|
12
|
+
readonly rpcUrls: ["https://api.mainnet.aptoslabs.com/v1"];
|
|
13
|
+
readonly type: "others";
|
|
14
|
+
} & {
|
|
15
|
+
chainIdHex: undefined;
|
|
16
|
+
}, {
|
|
3
17
|
readonly baseDecimal: 24;
|
|
4
18
|
readonly blockTime: 1;
|
|
5
19
|
readonly chain: Chain.Near;
|
|
6
20
|
readonly chainId: ChainId.Near;
|
|
21
|
+
readonly coinType: 397;
|
|
7
22
|
readonly explorerUrl: "https://nearblocks.io";
|
|
8
23
|
readonly name: "Near";
|
|
9
24
|
readonly nativeCurrency: "NEAR";
|
|
10
25
|
readonly networkDerivationPath: [44, 397, 0, 0, 0];
|
|
11
|
-
readonly rpcUrls: ["https://rpc.mainnet.near.org", "https://1rpc.io/near", "https://near.lava.build", "https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"];
|
|
26
|
+
readonly rpcUrls: ["https://rpc.mainnet.near.org", "https://free.rpc.fastnear.com", "https://1rpc.io/near", "https://near.lava.build", "https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"];
|
|
12
27
|
readonly type: "others";
|
|
13
28
|
} & {
|
|
14
29
|
chainIdHex: undefined;
|
|
@@ -17,6 +32,7 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
17
32
|
readonly blockTime: 5;
|
|
18
33
|
readonly chain: Chain.Radix;
|
|
19
34
|
readonly chainId: ChainId.Radix;
|
|
35
|
+
readonly coinType: 1022;
|
|
20
36
|
readonly explorerUrl: "https://dashboard.radixdlt.com";
|
|
21
37
|
readonly name: "Radix";
|
|
22
38
|
readonly nativeCurrency: "XRD";
|
|
@@ -30,6 +46,7 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
30
46
|
readonly blockTime: 5;
|
|
31
47
|
readonly chain: Chain.Ripple;
|
|
32
48
|
readonly chainId: ChainId.Ripple;
|
|
49
|
+
readonly coinType: 144;
|
|
33
50
|
readonly explorerUrl: "https://livenet.xrpl.org/";
|
|
34
51
|
readonly name: "Ripple";
|
|
35
52
|
readonly nativeCurrency: "XRP";
|
|
@@ -43,11 +60,26 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
43
60
|
readonly blockTime: 0.4;
|
|
44
61
|
readonly chain: Chain.Solana;
|
|
45
62
|
readonly chainId: ChainId.Solana;
|
|
63
|
+
readonly coinType: 501;
|
|
46
64
|
readonly explorerUrl: "https://solscan.io";
|
|
47
65
|
readonly name: "Solana";
|
|
48
66
|
readonly nativeCurrency: "SOL";
|
|
49
67
|
readonly networkDerivationPath: [44, 501, 0, 0, 0];
|
|
50
|
-
readonly rpcUrls: ["https://solana-rpc.publicnode.com", "https://
|
|
68
|
+
readonly rpcUrls: ["https://solana-rpc.publicnode.com", "https://solana.drpc.org", "https://api.mainnet-beta.solana.com"];
|
|
69
|
+
readonly type: "others";
|
|
70
|
+
} & {
|
|
71
|
+
chainIdHex: undefined;
|
|
72
|
+
}, {
|
|
73
|
+
readonly baseDecimal: 7;
|
|
74
|
+
readonly blockTime: 5;
|
|
75
|
+
readonly chain: Chain.Stellar;
|
|
76
|
+
readonly chainId: ChainId.Stellar;
|
|
77
|
+
readonly coinType: 148;
|
|
78
|
+
readonly explorerUrl: "https://stellar.expert";
|
|
79
|
+
readonly name: "Stellar";
|
|
80
|
+
readonly nativeCurrency: "XLM";
|
|
81
|
+
readonly networkDerivationPath: [44, 148, 0, 0, 0];
|
|
82
|
+
readonly rpcUrls: ["https://horizon.stellar.org", "https://horizon.stellar.lobstr.co"];
|
|
51
83
|
readonly type: "others";
|
|
52
84
|
} & {
|
|
53
85
|
chainIdHex: undefined;
|
|
@@ -56,11 +88,12 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
56
88
|
readonly blockTime: 5;
|
|
57
89
|
readonly chain: Chain.Ton;
|
|
58
90
|
readonly chainId: ChainId.Ton;
|
|
91
|
+
readonly coinType: 607;
|
|
59
92
|
readonly explorerUrl: "https://tonscan.org";
|
|
60
93
|
readonly name: "Ton";
|
|
61
94
|
readonly nativeCurrency: "TON";
|
|
62
95
|
readonly networkDerivationPath: [44, 607, 0, 0, 0];
|
|
63
|
-
readonly rpcUrls: [
|
|
96
|
+
readonly rpcUrls: [];
|
|
64
97
|
readonly type: "others";
|
|
65
98
|
} & {
|
|
66
99
|
chainIdHex: undefined;
|
|
@@ -70,6 +103,7 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
70
103
|
readonly chain: Chain.Tron;
|
|
71
104
|
readonly chainId: ChainId.Tron;
|
|
72
105
|
readonly chainIdHex: "0x2b6653dc";
|
|
106
|
+
readonly coinType: 195;
|
|
73
107
|
readonly explorerUrl: "https://tronscan.org";
|
|
74
108
|
readonly name: "Tron";
|
|
75
109
|
readonly nativeCurrency: "TRX";
|
|
@@ -83,6 +117,7 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
83
117
|
readonly blockTime: 5;
|
|
84
118
|
readonly chain: Chain.Sui;
|
|
85
119
|
readonly chainId: ChainId.Sui;
|
|
120
|
+
readonly coinType: 784;
|
|
86
121
|
readonly explorerUrl: "https://suiscan.xyz";
|
|
87
122
|
readonly name: "Sui";
|
|
88
123
|
readonly nativeCurrency: "SUI";
|
|
@@ -96,6 +131,7 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
96
131
|
readonly blockTime: 600;
|
|
97
132
|
readonly chain: Chain.Cardano;
|
|
98
133
|
readonly chainId: ChainId.Cardano;
|
|
134
|
+
readonly coinType: 1815;
|
|
99
135
|
readonly explorerUrl: "https://cexplorer.io";
|
|
100
136
|
readonly name: "Cardano";
|
|
101
137
|
readonly nativeCurrency: "ADA";
|
|
@@ -104,7 +140,21 @@ export declare const OtherChainConfigs: readonly [{
|
|
|
104
140
|
readonly type: "others";
|
|
105
141
|
} & {
|
|
106
142
|
chainIdHex: undefined;
|
|
143
|
+
}, {
|
|
144
|
+
readonly baseDecimal: 18;
|
|
145
|
+
readonly blockTime: 6;
|
|
146
|
+
readonly chain: Chain.Starknet;
|
|
147
|
+
readonly chainId: ChainId.Starknet;
|
|
148
|
+
readonly coinType: 9004;
|
|
149
|
+
readonly explorerUrl: "https://starkscan.co";
|
|
150
|
+
readonly name: "Starknet";
|
|
151
|
+
readonly nativeCurrency: "STRK";
|
|
152
|
+
readonly networkDerivationPath: [44, 9004, 0, 0, 0];
|
|
153
|
+
readonly rpcUrls: ["https://starknet-rpc.publicnode.com", "https://starknet.drpc.org", "https://rpc.starknet.lava.build"];
|
|
154
|
+
readonly type: "others";
|
|
155
|
+
} & {
|
|
156
|
+
chainIdHex: undefined;
|
|
107
157
|
}];
|
|
108
|
-
export declare const OtherChains: (Chain.Cardano | Chain.Near | Chain.Radix | Chain.Ripple | Chain.Solana | Chain.Sui | Chain.Ton | Chain.Tron)[];
|
|
158
|
+
export declare const OtherChains: (Chain.Aptos | Chain.Cardano | Chain.Near | Chain.Radix | Chain.Ripple | Chain.Solana | Chain.Stellar | Chain.Starknet | Chain.Sui | Chain.Ton | Chain.Tron)[];
|
|
109
159
|
export type OtherChain = (typeof OtherChains)[number];
|
|
110
160
|
//# sourceMappingURL=others.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"others.d.ts","sourceRoot":"","sources":["../../../src/chains/others.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"others.d.ts","sourceRoot":"","sources":["../../../src/chains/others.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAyK1C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsE,CAAC;AACrG,eAAO,MAAM,WAAW,gKAAkD,CAAC;AAC3E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -4,6 +4,7 @@ export declare const SubstrateChainConfigs: readonly [{
|
|
|
4
4
|
readonly blockTime: 6;
|
|
5
5
|
readonly chain: Chain.Polkadot;
|
|
6
6
|
readonly chainId: ChainId.Polkadot;
|
|
7
|
+
readonly coinType: 354;
|
|
7
8
|
readonly explorerUrl: "https://polkadot.subscan.io";
|
|
8
9
|
readonly name: "Polkadot";
|
|
9
10
|
readonly nativeCurrency: "DOT";
|
|
@@ -17,6 +18,7 @@ export declare const SubstrateChainConfigs: readonly [{
|
|
|
17
18
|
readonly blockTime: 5;
|
|
18
19
|
readonly chain: Chain.Chainflip;
|
|
19
20
|
readonly chainId: ChainId.Chainflip;
|
|
21
|
+
readonly coinType: 2112;
|
|
20
22
|
readonly explorerUrl: "https://explorer.polkascan.io/polkadot";
|
|
21
23
|
readonly name: "Chainflip";
|
|
22
24
|
readonly nativeCurrency: "FLIP";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"substrate.d.ts","sourceRoot":"","sources":["../../../src/chains/substrate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"substrate.d.ts","sourceRoot":"","sources":["../../../src/chains/substrate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAiD1C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuB,CAAC;AAC1D,eAAO,MAAM,eAAe,4CAA6C,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -4,6 +4,7 @@ export declare const UTXOChainConfigs: readonly [{
|
|
|
4
4
|
readonly blockTime: 600;
|
|
5
5
|
readonly chain: Chain.Bitcoin;
|
|
6
6
|
readonly chainId: ChainId.Bitcoin;
|
|
7
|
+
readonly coinType: 0;
|
|
7
8
|
readonly explorerUrl: "https://blockchair.com/bitcoin";
|
|
8
9
|
readonly name: "Bitcoin";
|
|
9
10
|
readonly nativeCurrency: "BTC";
|
|
@@ -17,6 +18,7 @@ export declare const UTXOChainConfigs: readonly [{
|
|
|
17
18
|
readonly blockTime: 600;
|
|
18
19
|
readonly chain: Chain.BitcoinCash;
|
|
19
20
|
readonly chainId: ChainId.BitcoinCash;
|
|
21
|
+
readonly coinType: 145;
|
|
20
22
|
readonly explorerUrl: "https://www.blockchair.com/bitcoin-cash";
|
|
21
23
|
readonly name: "BitcoinCash";
|
|
22
24
|
readonly nativeCurrency: "BCH";
|
|
@@ -30,6 +32,7 @@ export declare const UTXOChainConfigs: readonly [{
|
|
|
30
32
|
readonly blockTime: 150;
|
|
31
33
|
readonly chain: Chain.Litecoin;
|
|
32
34
|
readonly chainId: ChainId.Litecoin;
|
|
35
|
+
readonly coinType: 2;
|
|
33
36
|
readonly explorerUrl: "https://blockchair.com/litecoin";
|
|
34
37
|
readonly name: "Litecoin";
|
|
35
38
|
readonly nativeCurrency: "LTC";
|
|
@@ -43,6 +46,7 @@ export declare const UTXOChainConfigs: readonly [{
|
|
|
43
46
|
readonly blockTime: 60;
|
|
44
47
|
readonly chain: Chain.Dogecoin;
|
|
45
48
|
readonly chainId: ChainId.Dogecoin;
|
|
49
|
+
readonly coinType: 3;
|
|
46
50
|
readonly explorerUrl: "https://blockchair.com/dogecoin";
|
|
47
51
|
readonly name: "Dogecoin";
|
|
48
52
|
readonly nativeCurrency: "DOGE";
|
|
@@ -56,6 +60,7 @@ export declare const UTXOChainConfigs: readonly [{
|
|
|
56
60
|
readonly blockTime: 150;
|
|
57
61
|
readonly chain: Chain.Dash;
|
|
58
62
|
readonly chainId: ChainId.Dash;
|
|
63
|
+
readonly coinType: 5;
|
|
59
64
|
readonly explorerUrl: "https://blockchair.com/dash";
|
|
60
65
|
readonly name: "Dash";
|
|
61
66
|
readonly nativeCurrency: "DASH";
|
|
@@ -69,6 +74,7 @@ export declare const UTXOChainConfigs: readonly [{
|
|
|
69
74
|
readonly blockTime: 75;
|
|
70
75
|
readonly chain: Chain.Zcash;
|
|
71
76
|
readonly chainId: ChainId.Zcash;
|
|
77
|
+
readonly coinType: 133;
|
|
72
78
|
readonly explorerUrl: "https://blockchair.com/zcash";
|
|
73
79
|
readonly name: "Zcash";
|
|
74
80
|
readonly nativeCurrency: "ZEC";
|