@swapkit/types 0.4.0 → 0.7.2
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 +12 -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 +40 -5
- package/dist/types/chains/evm.d.ts.map +1 -1
- package/dist/types/chains/index.d.ts +122 -7
- package/dist/types/chains/index.d.ts.map +1 -1
- package/dist/types/chains/others.d.ts +68 -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,6 +382,7 @@ 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";
|
|
@@ -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,45 @@ 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;
|
|
423
|
+
}) | ({
|
|
424
|
+
readonly baseDecimal: 8;
|
|
425
|
+
readonly blockTime: 1;
|
|
426
|
+
readonly chain: Chain.HyperCore;
|
|
427
|
+
readonly chainId: ChainId.HyperCore;
|
|
428
|
+
readonly coinType: 60;
|
|
429
|
+
readonly explorerUrl: "https://app.hyperliquid.xyz/explorer";
|
|
430
|
+
readonly name: "HyperCore";
|
|
431
|
+
readonly nativeCurrency: "HYPE";
|
|
432
|
+
readonly networkDerivationPath: [44, 60, 0, 0, 0];
|
|
433
|
+
readonly rpcUrls: ["https://api.hyperliquid.xyz"];
|
|
434
|
+
readonly type: "others";
|
|
435
|
+
} & {
|
|
436
|
+
chainIdHex: undefined;
|
|
368
437
|
}) | ({
|
|
369
438
|
readonly baseDecimal: 24;
|
|
370
439
|
readonly blockTime: 1;
|
|
371
440
|
readonly chain: Chain.Near;
|
|
372
441
|
readonly chainId: ChainId.Near;
|
|
442
|
+
readonly coinType: 397;
|
|
373
443
|
readonly explorerUrl: "https://nearblocks.io";
|
|
374
444
|
readonly name: "Near";
|
|
375
445
|
readonly nativeCurrency: "NEAR";
|
|
376
446
|
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"];
|
|
447
|
+
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
448
|
readonly type: "others";
|
|
379
449
|
} & {
|
|
380
450
|
chainIdHex: undefined;
|
|
@@ -383,6 +453,7 @@ export declare const AllChainConfigs: (({
|
|
|
383
453
|
readonly blockTime: 5;
|
|
384
454
|
readonly chain: Chain.Radix;
|
|
385
455
|
readonly chainId: ChainId.Radix;
|
|
456
|
+
readonly coinType: 1022;
|
|
386
457
|
readonly explorerUrl: "https://dashboard.radixdlt.com";
|
|
387
458
|
readonly name: "Radix";
|
|
388
459
|
readonly nativeCurrency: "XRD";
|
|
@@ -396,6 +467,7 @@ export declare const AllChainConfigs: (({
|
|
|
396
467
|
readonly blockTime: 5;
|
|
397
468
|
readonly chain: Chain.Ripple;
|
|
398
469
|
readonly chainId: ChainId.Ripple;
|
|
470
|
+
readonly coinType: 144;
|
|
399
471
|
readonly explorerUrl: "https://livenet.xrpl.org/";
|
|
400
472
|
readonly name: "Ripple";
|
|
401
473
|
readonly nativeCurrency: "XRP";
|
|
@@ -409,11 +481,12 @@ export declare const AllChainConfigs: (({
|
|
|
409
481
|
readonly blockTime: 0.4;
|
|
410
482
|
readonly chain: Chain.Solana;
|
|
411
483
|
readonly chainId: ChainId.Solana;
|
|
484
|
+
readonly coinType: 501;
|
|
412
485
|
readonly explorerUrl: "https://solscan.io";
|
|
413
486
|
readonly name: "Solana";
|
|
414
487
|
readonly nativeCurrency: "SOL";
|
|
415
488
|
readonly networkDerivationPath: [44, 501, 0, 0, 0];
|
|
416
|
-
readonly rpcUrls: ["https://solana-rpc.publicnode.com", "https://
|
|
489
|
+
readonly rpcUrls: ["https://solana-rpc.publicnode.com", "https://solana.drpc.org", "https://api.mainnet-beta.solana.com"];
|
|
417
490
|
readonly type: "others";
|
|
418
491
|
} & {
|
|
419
492
|
chainIdHex: undefined;
|
|
@@ -422,11 +495,12 @@ export declare const AllChainConfigs: (({
|
|
|
422
495
|
readonly blockTime: 5;
|
|
423
496
|
readonly chain: Chain.Ton;
|
|
424
497
|
readonly chainId: ChainId.Ton;
|
|
498
|
+
readonly coinType: 607;
|
|
425
499
|
readonly explorerUrl: "https://tonscan.org";
|
|
426
500
|
readonly name: "Ton";
|
|
427
501
|
readonly nativeCurrency: "TON";
|
|
428
502
|
readonly networkDerivationPath: [44, 607, 0, 0, 0];
|
|
429
|
-
readonly rpcUrls: [
|
|
503
|
+
readonly rpcUrls: [];
|
|
430
504
|
readonly type: "others";
|
|
431
505
|
} & {
|
|
432
506
|
chainIdHex: undefined;
|
|
@@ -436,6 +510,7 @@ export declare const AllChainConfigs: (({
|
|
|
436
510
|
readonly chain: Chain.Tron;
|
|
437
511
|
readonly chainId: ChainId.Tron;
|
|
438
512
|
readonly chainIdHex: "0x2b6653dc";
|
|
513
|
+
readonly coinType: 195;
|
|
439
514
|
readonly explorerUrl: "https://tronscan.org";
|
|
440
515
|
readonly name: "Tron";
|
|
441
516
|
readonly nativeCurrency: "TRX";
|
|
@@ -444,11 +519,26 @@ export declare const AllChainConfigs: (({
|
|
|
444
519
|
readonly type: "others";
|
|
445
520
|
} & {
|
|
446
521
|
chainIdHex: "0x2b6653dc";
|
|
522
|
+
}) | ({
|
|
523
|
+
readonly baseDecimal: 7;
|
|
524
|
+
readonly blockTime: 5;
|
|
525
|
+
readonly chain: Chain.Stellar;
|
|
526
|
+
readonly chainId: ChainId.Stellar;
|
|
527
|
+
readonly coinType: 148;
|
|
528
|
+
readonly explorerUrl: "https://stellar.expert";
|
|
529
|
+
readonly name: "Stellar";
|
|
530
|
+
readonly nativeCurrency: "XLM";
|
|
531
|
+
readonly networkDerivationPath: [44, 148, 0, 0, 0];
|
|
532
|
+
readonly rpcUrls: ["https://horizon.stellar.org", "https://horizon.stellar.lobstr.co"];
|
|
533
|
+
readonly type: "others";
|
|
534
|
+
} & {
|
|
535
|
+
chainIdHex: undefined;
|
|
447
536
|
}) | ({
|
|
448
537
|
readonly baseDecimal: 9;
|
|
449
538
|
readonly blockTime: 5;
|
|
450
539
|
readonly chain: Chain.Sui;
|
|
451
540
|
readonly chainId: ChainId.Sui;
|
|
541
|
+
readonly coinType: 784;
|
|
452
542
|
readonly explorerUrl: "https://suiscan.xyz";
|
|
453
543
|
readonly name: "Sui";
|
|
454
544
|
readonly nativeCurrency: "SUI";
|
|
@@ -462,6 +552,7 @@ export declare const AllChainConfigs: (({
|
|
|
462
552
|
readonly blockTime: 600;
|
|
463
553
|
readonly chain: Chain.Cardano;
|
|
464
554
|
readonly chainId: ChainId.Cardano;
|
|
555
|
+
readonly coinType: 1815;
|
|
465
556
|
readonly explorerUrl: "https://cexplorer.io";
|
|
466
557
|
readonly name: "Cardano";
|
|
467
558
|
readonly nativeCurrency: "ADA";
|
|
@@ -470,11 +561,26 @@ export declare const AllChainConfigs: (({
|
|
|
470
561
|
readonly type: "others";
|
|
471
562
|
} & {
|
|
472
563
|
chainIdHex: undefined;
|
|
564
|
+
}) | ({
|
|
565
|
+
readonly baseDecimal: 18;
|
|
566
|
+
readonly blockTime: 6;
|
|
567
|
+
readonly chain: Chain.Starknet;
|
|
568
|
+
readonly chainId: ChainId.Starknet;
|
|
569
|
+
readonly coinType: 9004;
|
|
570
|
+
readonly explorerUrl: "https://starkscan.co";
|
|
571
|
+
readonly name: "Starknet";
|
|
572
|
+
readonly nativeCurrency: "STRK";
|
|
573
|
+
readonly networkDerivationPath: [44, 9004, 0, 0, 0];
|
|
574
|
+
readonly rpcUrls: ["https://starknet-rpc.publicnode.com", "https://starknet.drpc.org", "https://rpc.starknet.lava.build"];
|
|
575
|
+
readonly type: "others";
|
|
576
|
+
} & {
|
|
577
|
+
chainIdHex: undefined;
|
|
473
578
|
}) | ({
|
|
474
579
|
readonly baseDecimal: 10;
|
|
475
580
|
readonly blockTime: 6;
|
|
476
581
|
readonly chain: Chain.Polkadot;
|
|
477
582
|
readonly chainId: ChainId.Polkadot;
|
|
583
|
+
readonly coinType: 354;
|
|
478
584
|
readonly explorerUrl: "https://polkadot.subscan.io";
|
|
479
585
|
readonly name: "Polkadot";
|
|
480
586
|
readonly nativeCurrency: "DOT";
|
|
@@ -488,6 +594,7 @@ export declare const AllChainConfigs: (({
|
|
|
488
594
|
readonly blockTime: 5;
|
|
489
595
|
readonly chain: Chain.Chainflip;
|
|
490
596
|
readonly chainId: ChainId.Chainflip;
|
|
597
|
+
readonly coinType: 2112;
|
|
491
598
|
readonly explorerUrl: "https://explorer.polkascan.io/polkadot";
|
|
492
599
|
readonly name: "Chainflip";
|
|
493
600
|
readonly nativeCurrency: "FLIP";
|
|
@@ -501,6 +608,7 @@ export declare const AllChainConfigs: (({
|
|
|
501
608
|
readonly blockTime: 600;
|
|
502
609
|
readonly chain: Chain.Bitcoin;
|
|
503
610
|
readonly chainId: ChainId.Bitcoin;
|
|
611
|
+
readonly coinType: 0;
|
|
504
612
|
readonly explorerUrl: "https://blockchair.com/bitcoin";
|
|
505
613
|
readonly name: "Bitcoin";
|
|
506
614
|
readonly nativeCurrency: "BTC";
|
|
@@ -514,6 +622,7 @@ export declare const AllChainConfigs: (({
|
|
|
514
622
|
readonly blockTime: 600;
|
|
515
623
|
readonly chain: Chain.BitcoinCash;
|
|
516
624
|
readonly chainId: ChainId.BitcoinCash;
|
|
625
|
+
readonly coinType: 145;
|
|
517
626
|
readonly explorerUrl: "https://www.blockchair.com/bitcoin-cash";
|
|
518
627
|
readonly name: "BitcoinCash";
|
|
519
628
|
readonly nativeCurrency: "BCH";
|
|
@@ -527,6 +636,7 @@ export declare const AllChainConfigs: (({
|
|
|
527
636
|
readonly blockTime: 150;
|
|
528
637
|
readonly chain: Chain.Litecoin;
|
|
529
638
|
readonly chainId: ChainId.Litecoin;
|
|
639
|
+
readonly coinType: 2;
|
|
530
640
|
readonly explorerUrl: "https://blockchair.com/litecoin";
|
|
531
641
|
readonly name: "Litecoin";
|
|
532
642
|
readonly nativeCurrency: "LTC";
|
|
@@ -540,6 +650,7 @@ export declare const AllChainConfigs: (({
|
|
|
540
650
|
readonly blockTime: 60;
|
|
541
651
|
readonly chain: Chain.Dogecoin;
|
|
542
652
|
readonly chainId: ChainId.Dogecoin;
|
|
653
|
+
readonly coinType: 3;
|
|
543
654
|
readonly explorerUrl: "https://blockchair.com/dogecoin";
|
|
544
655
|
readonly name: "Dogecoin";
|
|
545
656
|
readonly nativeCurrency: "DOGE";
|
|
@@ -553,6 +664,7 @@ export declare const AllChainConfigs: (({
|
|
|
553
664
|
readonly blockTime: 150;
|
|
554
665
|
readonly chain: Chain.Dash;
|
|
555
666
|
readonly chainId: ChainId.Dash;
|
|
667
|
+
readonly coinType: 5;
|
|
556
668
|
readonly explorerUrl: "https://blockchair.com/dash";
|
|
557
669
|
readonly name: "Dash";
|
|
558
670
|
readonly nativeCurrency: "DASH";
|
|
@@ -566,6 +678,7 @@ export declare const AllChainConfigs: (({
|
|
|
566
678
|
readonly blockTime: 75;
|
|
567
679
|
readonly chain: Chain.Zcash;
|
|
568
680
|
readonly chainId: ChainId.Zcash;
|
|
681
|
+
readonly coinType: 133;
|
|
569
682
|
readonly explorerUrl: "https://blockchair.com/zcash";
|
|
570
683
|
readonly name: "Zcash";
|
|
571
684
|
readonly nativeCurrency: "ZEC";
|
|
@@ -653,4 +766,6 @@ export declare const BaseDecimal: Record<Chain, number>;
|
|
|
653
766
|
* ```
|
|
654
767
|
*/
|
|
655
768
|
export declare const BlockTimes: Record<Chain, number>;
|
|
769
|
+
export declare function getCoinType(chain: Chain): number;
|
|
770
|
+
export declare function getChainByCoinType(coinType: number): Chain | undefined;
|
|
656
771
|
//# 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,35 @@ 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;
|
|
157
|
+
}, {
|
|
158
|
+
readonly baseDecimal: 8;
|
|
159
|
+
readonly blockTime: 1;
|
|
160
|
+
readonly chain: Chain.HyperCore;
|
|
161
|
+
readonly chainId: ChainId.HyperCore;
|
|
162
|
+
readonly coinType: 60;
|
|
163
|
+
readonly explorerUrl: "https://app.hyperliquid.xyz/explorer";
|
|
164
|
+
readonly name: "HyperCore";
|
|
165
|
+
readonly nativeCurrency: "HYPE";
|
|
166
|
+
readonly networkDerivationPath: [44, 60, 0, 0, 0];
|
|
167
|
+
readonly rpcUrls: ["https://api.hyperliquid.xyz"];
|
|
168
|
+
readonly type: "others";
|
|
169
|
+
} & {
|
|
170
|
+
chainIdHex: undefined;
|
|
107
171
|
}];
|
|
108
|
-
export declare const OtherChains: (Chain.Cardano | Chain.Near | Chain.Radix | Chain.Ripple | Chain.Solana | Chain.Sui | Chain.Ton | Chain.Tron)[];
|
|
172
|
+
export declare const OtherChains: (Chain.Aptos | Chain.Cardano | Chain.HyperCore | Chain.Near | Chain.Radix | Chain.Ripple | Chain.Solana | Chain.Stellar | Chain.Starknet | Chain.Sui | Chain.Ton | Chain.Tron)[];
|
|
109
173
|
export type OtherChain = (typeof OtherChains)[number];
|
|
110
174
|
//# 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;AAuL1C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiF,CAAC;AAChH,eAAO,MAAM,WAAW,kLAAkD,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"}
|