@swapkit/types 0.1.2 → 0.1.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.
@@ -1,4 +1,4 @@
1
- import { Chain, ChainId, StagenetChain } from "./_enums";
1
+ import { Chain, type ChainId, StagenetChain } from "./_enums";
2
2
  export * from "./_enums";
3
3
  export * from "./cosmos";
4
4
  export * from "./evm";
@@ -10,7 +10,7 @@ export declare const AllChainConfigs: (({
10
10
  readonly blockExplorerUrl: "https://www.mintscan.io/cosmos";
11
11
  readonly blockTime: 2;
12
12
  readonly chain: Chain.Cosmos;
13
- readonly chainId: ChainId.GAIA;
13
+ readonly chainId: ChainId.Cosmos;
14
14
  readonly explorerUrl: "https://www.mintscan.io/cosmos";
15
15
  readonly name: "Cosmos";
16
16
  readonly nativeCurrency: "ATOM";
@@ -23,7 +23,7 @@ export declare const AllChainConfigs: (({
23
23
  readonly blockExplorerUrl: "https://runescan.io";
24
24
  readonly blockTime: 6;
25
25
  readonly chain: Chain.THORChain;
26
- readonly chainId: ChainId.THOR;
26
+ readonly chainId: ChainId.THORChain;
27
27
  readonly explorerUrl: "https://runescan.io";
28
28
  readonly name: "THORChain";
29
29
  readonly nativeCurrency: "RUNE";
@@ -36,7 +36,7 @@ export declare const AllChainConfigs: (({
36
36
  readonly blockExplorerUrl: "https://www.mayascan.org";
37
37
  readonly blockTime: 6;
38
38
  readonly chain: Chain.Maya;
39
- readonly chainId: ChainId.MAYA;
39
+ readonly chainId: ChainId.Maya;
40
40
  readonly explorerUrl: "https://www.mayascan.org";
41
41
  readonly name: "Maya";
42
42
  readonly nativeCurrency: "CACAO";
@@ -49,7 +49,7 @@ export declare const AllChainConfigs: (({
49
49
  readonly blockExplorerUrl: "";
50
50
  readonly blockTime: 6;
51
51
  readonly chain: Chain.Harbor;
52
- readonly chainId: ChainId.HARBOR;
52
+ readonly chainId: ChainId.Harbor;
53
53
  readonly explorerUrl: "";
54
54
  readonly name: "Harbor";
55
55
  readonly nativeCurrency: "HRB";
@@ -62,7 +62,7 @@ export declare const AllChainConfigs: (({
62
62
  readonly blockExplorerUrl: "https://finder.kujira.network/kaiyo-1";
63
63
  readonly blockTime: 2.2;
64
64
  readonly chain: Chain.Kujira;
65
- readonly chainId: ChainId.KUJI;
65
+ readonly chainId: ChainId.Kujira;
66
66
  readonly explorerUrl: "https://finder.kujira.network/kaiyo-1";
67
67
  readonly name: "Kujira";
68
68
  readonly nativeCurrency: "KUJI";
@@ -75,7 +75,7 @@ export declare const AllChainConfigs: (({
75
75
  readonly blockExplorerUrl: "https://www.mintscan.io/noble";
76
76
  readonly blockTime: 1.3;
77
77
  readonly chain: Chain.Noble;
78
- readonly chainId: ChainId.NOBLE;
78
+ readonly chainId: ChainId.Noble;
79
79
  readonly explorerUrl: "https://www.mintscan.io/noble";
80
80
  readonly name: "Noble";
81
81
  readonly nativeCurrency: "USDC";
@@ -88,7 +88,7 @@ export declare const AllChainConfigs: (({
88
88
  readonly blockExplorerUrl: "https://etherscan.io";
89
89
  readonly blockTime: 12.5;
90
90
  readonly chain: Chain.Ethereum;
91
- readonly chainId: ChainId.ETH;
91
+ readonly chainId: ChainId.Ethereum;
92
92
  readonly chainIdHex: "0x1";
93
93
  readonly explorerUrl: "https://etherscan.io";
94
94
  readonly name: "Ethereum";
@@ -102,7 +102,7 @@ export declare const AllChainConfigs: (({
102
102
  readonly blockExplorerUrl: "https://bscscan.com";
103
103
  readonly blockTime: 3;
104
104
  readonly chain: Chain.BinanceSmartChain;
105
- readonly chainId: ChainId.BSC;
105
+ readonly chainId: ChainId.BinanceSmartChain;
106
106
  readonly chainIdHex: "0x38";
107
107
  readonly explorerUrl: "https://bscscan.com";
108
108
  readonly name: "BinanceSmartChain";
@@ -116,7 +116,7 @@ export declare const AllChainConfigs: (({
116
116
  readonly blockExplorerUrl: "https://snowtrace.io";
117
117
  readonly blockTime: 3;
118
118
  readonly chain: Chain.Avalanche;
119
- readonly chainId: ChainId.AVAX;
119
+ readonly chainId: ChainId.Avalanche;
120
120
  readonly chainIdHex: "0xa86a";
121
121
  readonly explorerUrl: "https://snowtrace.io";
122
122
  readonly name: "Avalanche";
@@ -130,7 +130,7 @@ export declare const AllChainConfigs: (({
130
130
  readonly blockExplorerUrl: "https://polygonscan.com";
131
131
  readonly blockTime: 2.1;
132
132
  readonly chain: Chain.Polygon;
133
- readonly chainId: ChainId.POL;
133
+ readonly chainId: ChainId.Polygon;
134
134
  readonly chainIdHex: "0x89";
135
135
  readonly explorerUrl: "https://polygonscan.com";
136
136
  readonly name: "Polygon";
@@ -144,7 +144,7 @@ export declare const AllChainConfigs: (({
144
144
  readonly blockExplorerUrl: "https://arbiscan.io";
145
145
  readonly blockTime: 0.3;
146
146
  readonly chain: Chain.Arbitrum;
147
- readonly chainId: ChainId.ARB;
147
+ readonly chainId: ChainId.Arbitrum;
148
148
  readonly chainIdHex: "0xa4b1";
149
149
  readonly explorerUrl: "https://arbiscan.io";
150
150
  readonly name: "Arbitrum";
@@ -158,7 +158,7 @@ export declare const AllChainConfigs: (({
158
158
  readonly blockExplorerUrl: "https://optimistic.etherscan.io";
159
159
  readonly blockTime: 2;
160
160
  readonly chain: Chain.Optimism;
161
- readonly chainId: ChainId.OP;
161
+ readonly chainId: ChainId.Optimism;
162
162
  readonly chainIdHex: "0xa";
163
163
  readonly explorerUrl: "https://optimistic.etherscan.io";
164
164
  readonly name: "Optimism";
@@ -172,7 +172,7 @@ export declare const AllChainConfigs: (({
172
172
  readonly blockExplorerUrl: "https://basescan.org";
173
173
  readonly blockTime: 2;
174
174
  readonly chain: Chain.Base;
175
- readonly chainId: ChainId.BASE;
175
+ readonly chainId: ChainId.Base;
176
176
  readonly chainIdHex: "0x2105";
177
177
  readonly explorerUrl: "https://basescan.org";
178
178
  readonly name: "Base";
@@ -186,7 +186,7 @@ export declare const AllChainConfigs: (({
186
186
  readonly blockExplorerUrl: "https://gnosisscan.io";
187
187
  readonly blockTime: 5.2;
188
188
  readonly chain: Chain.Gnosis;
189
- readonly chainId: ChainId.GNO;
189
+ readonly chainId: ChainId.Gnosis;
190
190
  readonly chainIdHex: "0x64";
191
191
  readonly explorerUrl: "https://gnosisscan.io";
192
192
  readonly name: "Gnosis";
@@ -200,7 +200,7 @@ export declare const AllChainConfigs: (({
200
200
  readonly blockExplorerUrl: "https://explorer.mainnet.aurora.dev";
201
201
  readonly blockTime: 1;
202
202
  readonly chain: Chain.Aurora;
203
- readonly chainId: ChainId.AURORA;
203
+ readonly chainId: ChainId.Aurora;
204
204
  readonly chainIdHex: "0x4e454152";
205
205
  readonly explorerUrl: "https://explorer.mainnet.aurora.dev";
206
206
  readonly name: "Aurora";
@@ -214,7 +214,7 @@ export declare const AllChainConfigs: (({
214
214
  readonly blockExplorerUrl: "https://berascan.com";
215
215
  readonly blockTime: 2;
216
216
  readonly chain: Chain.Berachain;
217
- readonly chainId: ChainId.BERA;
217
+ readonly chainId: ChainId.Berachain;
218
218
  readonly chainIdHex: "0x138de";
219
219
  readonly explorerUrl: "https://berascan.com";
220
220
  readonly name: "Berachain";
@@ -228,7 +228,7 @@ export declare const AllChainConfigs: (({
228
228
  readonly blockExplorerUrl: "https://nearblocks.io";
229
229
  readonly blockTime: 1;
230
230
  readonly chain: Chain.Near;
231
- readonly chainId: ChainId.NEAR;
231
+ readonly chainId: ChainId.Near;
232
232
  readonly explorerUrl: "https://nearblocks.io";
233
233
  readonly name: "Near";
234
234
  readonly nativeCurrency: "NEAR";
@@ -241,7 +241,7 @@ export declare const AllChainConfigs: (({
241
241
  readonly blockExplorerUrl: "https://dashboard.radixdlt.com";
242
242
  readonly blockTime: 5;
243
243
  readonly chain: Chain.Radix;
244
- readonly chainId: ChainId.XRD;
244
+ readonly chainId: ChainId.Radix;
245
245
  readonly explorerUrl: "https://dashboard.radixdlt.com";
246
246
  readonly name: "Radix";
247
247
  readonly nativeCurrency: "XRD";
@@ -254,7 +254,7 @@ export declare const AllChainConfigs: (({
254
254
  readonly blockExplorerUrl: "https://livenet.xrpl.org/";
255
255
  readonly blockTime: 5;
256
256
  readonly chain: Chain.Ripple;
257
- readonly chainId: ChainId.XRP;
257
+ readonly chainId: ChainId.Ripple;
258
258
  readonly explorerUrl: "https://livenet.xrpl.org/";
259
259
  readonly name: "Ripple";
260
260
  readonly nativeCurrency: "XRP";
@@ -267,7 +267,7 @@ export declare const AllChainConfigs: (({
267
267
  readonly blockExplorerUrl: "https://solscan.io";
268
268
  readonly blockTime: 0.4;
269
269
  readonly chain: Chain.Solana;
270
- readonly chainId: ChainId.SOL;
270
+ readonly chainId: ChainId.Solana;
271
271
  readonly explorerUrl: "https://solscan.io";
272
272
  readonly name: "Solana";
273
273
  readonly nativeCurrency: "SOL";
@@ -280,7 +280,7 @@ export declare const AllChainConfigs: (({
280
280
  readonly blockExplorerUrl: "https://tronscan.org";
281
281
  readonly blockTime: 3;
282
282
  readonly chain: Chain.Tron;
283
- readonly chainId: ChainId.TRON;
283
+ readonly chainId: ChainId.Tron;
284
284
  readonly chainIdHex: "0x2b6653dc";
285
285
  readonly explorerUrl: "https://tronscan.org";
286
286
  readonly name: "Tron";
@@ -294,7 +294,7 @@ export declare const AllChainConfigs: (({
294
294
  readonly blockExplorerUrl: "https://polkadot.subscan.io";
295
295
  readonly blockTime: 6;
296
296
  readonly chain: Chain.Polkadot;
297
- readonly chainId: ChainId.DOT;
297
+ readonly chainId: ChainId.Polkadot;
298
298
  readonly explorerUrl: "https://polkadot.subscan.io";
299
299
  readonly name: "Polkadot";
300
300
  readonly nativeCurrency: "DOT";
@@ -307,7 +307,7 @@ export declare const AllChainConfigs: (({
307
307
  readonly blockExplorerUrl: "https://explorer.polkascan.io/polkadot";
308
308
  readonly blockTime: 5;
309
309
  readonly chain: Chain.Chainflip;
310
- readonly chainId: ChainId.FLIP;
310
+ readonly chainId: ChainId.Chainflip;
311
311
  readonly explorerUrl: "https://explorer.polkascan.io/polkadot";
312
312
  readonly name: "Chainflip";
313
313
  readonly nativeCurrency: "FLIP";
@@ -320,7 +320,7 @@ export declare const AllChainConfigs: (({
320
320
  readonly blockExplorerUrl: "https://blockchair.com/bitcoin";
321
321
  readonly blockTime: 600;
322
322
  readonly chain: Chain.Bitcoin;
323
- readonly chainId: ChainId.BTC;
323
+ readonly chainId: ChainId.Bitcoin;
324
324
  readonly explorerUrl: "https://blockchair.com/bitcoin";
325
325
  readonly name: "Bitcoin";
326
326
  readonly nativeCurrency: "BTC";
@@ -333,7 +333,7 @@ export declare const AllChainConfigs: (({
333
333
  readonly blockExplorerUrl: "https://www.blockchair.com/bitcoin-cash";
334
334
  readonly blockTime: 600;
335
335
  readonly chain: Chain.BitcoinCash;
336
- readonly chainId: ChainId.BCH;
336
+ readonly chainId: ChainId.BitcoinCash;
337
337
  readonly explorerUrl: "https://www.blockchair.com/bitcoin-cash";
338
338
  readonly name: "BitcoinCash";
339
339
  readonly nativeCurrency: "BCH";
@@ -346,7 +346,7 @@ export declare const AllChainConfigs: (({
346
346
  readonly blockExplorerUrl: "https://blockchair.com/litecoin";
347
347
  readonly blockTime: 150;
348
348
  readonly chain: Chain.Litecoin;
349
- readonly chainId: ChainId.LTC;
349
+ readonly chainId: ChainId.Litecoin;
350
350
  readonly explorerUrl: "https://blockchair.com/litecoin";
351
351
  readonly name: "Litecoin";
352
352
  readonly nativeCurrency: "LTC";
@@ -357,9 +357,9 @@ export declare const AllChainConfigs: (({
357
357
  }) | ({
358
358
  readonly baseDecimal: 8;
359
359
  readonly blockExplorerUrl: "https://blockchair.com/dogecoin";
360
- readonly blockTime: 600;
360
+ readonly blockTime: 60;
361
361
  readonly chain: Chain.Dogecoin;
362
- readonly chainId: ChainId.DOGE;
362
+ readonly chainId: ChainId.Dogecoin;
363
363
  readonly explorerUrl: "https://blockchair.com/dogecoin";
364
364
  readonly name: "Dogecoin";
365
365
  readonly nativeCurrency: "DOGE";
@@ -372,7 +372,7 @@ export declare const AllChainConfigs: (({
372
372
  readonly blockExplorerUrl: "https://blockchair.com/dash";
373
373
  readonly blockTime: 150;
374
374
  readonly chain: Chain.Dash;
375
- readonly chainId: ChainId.DASH;
375
+ readonly chainId: ChainId.Dash;
376
376
  readonly explorerUrl: "https://blockchair.com/dash";
377
377
  readonly name: "Dash";
378
378
  readonly nativeCurrency: "DASH";
@@ -383,9 +383,9 @@ export declare const AllChainConfigs: (({
383
383
  }) | ({
384
384
  readonly baseDecimal: 8;
385
385
  readonly blockExplorerUrl: "https://blockchair.com/zcash";
386
- readonly blockTime: 150;
386
+ readonly blockTime: 75;
387
387
  readonly chain: Chain.Zcash;
388
- readonly chainId: ChainId.ZEC;
388
+ readonly chainId: ChainId.Zcash;
389
389
  readonly explorerUrl: "https://blockchair.com/zcash";
390
390
  readonly name: "Zcash";
391
391
  readonly nativeCurrency: "ZEC";
@@ -409,16 +409,20 @@ type ChainConfigMap = {
409
409
  };
410
410
  export declare function getChainConfig<T extends keyof ChainConfigMap>(chainOrChainId: T): ChainConfigMap[T];
411
411
  /**
412
- * @deprecated use getChainConfig instead
412
+ * Note: ChainToChainId will be discontinued in future versions.
413
+ * Please use getChainConfig instead.
413
414
  * @example
414
415
  * ```diff
415
416
  * -const chainId = ChainToChainId[Chain.Ethereum];
416
417
  * +const { chainId } = getChainConfig(Chain.Ethereum);
417
418
  * ```
418
419
  */
419
- export declare const ChainToChainId: typeof ChainId;
420
+ export declare const ChainToChainId: { readonly [K in Chain]: Extract<ChainConfig, {
421
+ chain: K;
422
+ }>["chainId"]; };
420
423
  /**
421
- * @deprecated use getChainConfig instead
424
+ * Note: ChainIdToChain will be discontinued in future versions.
425
+ * Please use getChainConfig instead.
422
426
  * @example
423
427
  * ```diff
424
428
  * -const chain = ChainIdToChain[ChainId.Ethereum];
@@ -429,7 +433,8 @@ export declare const ChainIdToChain: { readonly [K in ChainId]: Extract<ChainCon
429
433
  chainId: K;
430
434
  }>["chain"]; };
431
435
  /**
432
- * @deprecated use getChainConfig instead
436
+ * Note: BaseDecimal will be discontinued in future versions.
437
+ * Please use getChainConfig instead.
433
438
  * @example
434
439
  * ```diff
435
440
  * -const baseDecimal = BaseDecimal[Chain.Ethereum];
@@ -440,7 +445,8 @@ export declare const BaseDecimal: { readonly [K in Chain]: Extract<ChainConfig,
440
445
  chain: K;
441
446
  }>["baseDecimal"]; };
442
447
  /**
443
- * @deprecated use getChainConfig instead
448
+ * Note: BlockTimes will be discontinued in future versions.
449
+ * Please use getChainConfig instead.
444
450
  * @example
445
451
  * ```diff
446
452
  * -const blockTime = BlockTimes[Chain.Ethereum];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chains/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAOzD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAMoB,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;AACrD,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,SAAS,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AM,cAAc,EAEtB,EACH,QAAQ,EAAE,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC,WAAW,EAAE;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC,SAAS,CAAC,GACrE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,EAEtB,EACH,QAAQ,EAAE,CAAC,IAAI,OAAO,GAAG,OAAO,CAAC,WAAW,EAAE;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC,OAAO,CAAC,GACvE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAEnB,EACH,QAAQ,EAAE,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC,WAAW,EAAE;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC,aAAa,CAAC,GACzE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAElB,EACH,QAAQ,EAAE,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC,WAAW,EAAE;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC,WAAW,CAAC,GACvE,CAAC"}
@@ -4,7 +4,7 @@ export declare const OtherChainConfigs: readonly [{
4
4
  readonly blockExplorerUrl: "https://nearblocks.io";
5
5
  readonly blockTime: 1;
6
6
  readonly chain: Chain.Near;
7
- readonly chainId: ChainId.NEAR;
7
+ readonly chainId: ChainId.Near;
8
8
  readonly explorerUrl: "https://nearblocks.io";
9
9
  readonly name: "Near";
10
10
  readonly nativeCurrency: "NEAR";
@@ -17,7 +17,7 @@ export declare const OtherChainConfigs: readonly [{
17
17
  readonly blockExplorerUrl: "https://dashboard.radixdlt.com";
18
18
  readonly blockTime: 5;
19
19
  readonly chain: Chain.Radix;
20
- readonly chainId: ChainId.XRD;
20
+ readonly chainId: ChainId.Radix;
21
21
  readonly explorerUrl: "https://dashboard.radixdlt.com";
22
22
  readonly name: "Radix";
23
23
  readonly nativeCurrency: "XRD";
@@ -30,7 +30,7 @@ export declare const OtherChainConfigs: readonly [{
30
30
  readonly blockExplorerUrl: "https://livenet.xrpl.org/";
31
31
  readonly blockTime: 5;
32
32
  readonly chain: Chain.Ripple;
33
- readonly chainId: ChainId.XRP;
33
+ readonly chainId: ChainId.Ripple;
34
34
  readonly explorerUrl: "https://livenet.xrpl.org/";
35
35
  readonly name: "Ripple";
36
36
  readonly nativeCurrency: "XRP";
@@ -43,7 +43,7 @@ export declare const OtherChainConfigs: readonly [{
43
43
  readonly blockExplorerUrl: "https://solscan.io";
44
44
  readonly blockTime: 0.4;
45
45
  readonly chain: Chain.Solana;
46
- readonly chainId: ChainId.SOL;
46
+ readonly chainId: ChainId.Solana;
47
47
  readonly explorerUrl: "https://solscan.io";
48
48
  readonly name: "Solana";
49
49
  readonly nativeCurrency: "SOL";
@@ -56,7 +56,7 @@ export declare const OtherChainConfigs: readonly [{
56
56
  readonly blockExplorerUrl: "https://tronscan.org";
57
57
  readonly blockTime: 3;
58
58
  readonly chain: Chain.Tron;
59
- readonly chainId: ChainId.TRON;
59
+ readonly chainId: ChainId.Tron;
60
60
  readonly chainIdHex: "0x2b6653dc";
61
61
  readonly explorerUrl: "https://tronscan.org";
62
62
  readonly name: "Tron";
@@ -4,7 +4,7 @@ export declare const SubstrateChainConfigs: readonly [{
4
4
  readonly blockExplorerUrl: "https://polkadot.subscan.io";
5
5
  readonly blockTime: 6;
6
6
  readonly chain: Chain.Polkadot;
7
- readonly chainId: ChainId.DOT;
7
+ readonly chainId: ChainId.Polkadot;
8
8
  readonly explorerUrl: "https://polkadot.subscan.io";
9
9
  readonly name: "Polkadot";
10
10
  readonly nativeCurrency: "DOT";
@@ -17,7 +17,7 @@ export declare const SubstrateChainConfigs: readonly [{
17
17
  readonly blockExplorerUrl: "https://explorer.polkascan.io/polkadot";
18
18
  readonly blockTime: 5;
19
19
  readonly chain: Chain.Chainflip;
20
- readonly chainId: ChainId.FLIP;
20
+ readonly chainId: ChainId.Chainflip;
21
21
  readonly explorerUrl: "https://explorer.polkascan.io/polkadot";
22
22
  readonly name: "Chainflip";
23
23
  readonly nativeCurrency: "FLIP";
@@ -4,7 +4,7 @@ export declare const UTXOChainConfigs: readonly [{
4
4
  readonly blockExplorerUrl: "https://blockchair.com/bitcoin";
5
5
  readonly blockTime: 600;
6
6
  readonly chain: Chain.Bitcoin;
7
- readonly chainId: ChainId.BTC;
7
+ readonly chainId: ChainId.Bitcoin;
8
8
  readonly explorerUrl: "https://blockchair.com/bitcoin";
9
9
  readonly name: "Bitcoin";
10
10
  readonly nativeCurrency: "BTC";
@@ -17,7 +17,7 @@ export declare const UTXOChainConfigs: readonly [{
17
17
  readonly blockExplorerUrl: "https://www.blockchair.com/bitcoin-cash";
18
18
  readonly blockTime: 600;
19
19
  readonly chain: Chain.BitcoinCash;
20
- readonly chainId: ChainId.BCH;
20
+ readonly chainId: ChainId.BitcoinCash;
21
21
  readonly explorerUrl: "https://www.blockchair.com/bitcoin-cash";
22
22
  readonly name: "BitcoinCash";
23
23
  readonly nativeCurrency: "BCH";
@@ -30,7 +30,7 @@ export declare const UTXOChainConfigs: readonly [{
30
30
  readonly blockExplorerUrl: "https://blockchair.com/litecoin";
31
31
  readonly blockTime: 150;
32
32
  readonly chain: Chain.Litecoin;
33
- readonly chainId: ChainId.LTC;
33
+ readonly chainId: ChainId.Litecoin;
34
34
  readonly explorerUrl: "https://blockchair.com/litecoin";
35
35
  readonly name: "Litecoin";
36
36
  readonly nativeCurrency: "LTC";
@@ -41,9 +41,9 @@ export declare const UTXOChainConfigs: readonly [{
41
41
  }, {
42
42
  readonly baseDecimal: 8;
43
43
  readonly blockExplorerUrl: "https://blockchair.com/dogecoin";
44
- readonly blockTime: 600;
44
+ readonly blockTime: 60;
45
45
  readonly chain: Chain.Dogecoin;
46
- readonly chainId: ChainId.DOGE;
46
+ readonly chainId: ChainId.Dogecoin;
47
47
  readonly explorerUrl: "https://blockchair.com/dogecoin";
48
48
  readonly name: "Dogecoin";
49
49
  readonly nativeCurrency: "DOGE";
@@ -56,7 +56,7 @@ export declare const UTXOChainConfigs: readonly [{
56
56
  readonly blockExplorerUrl: "https://blockchair.com/dash";
57
57
  readonly blockTime: 150;
58
58
  readonly chain: Chain.Dash;
59
- readonly chainId: ChainId.DASH;
59
+ readonly chainId: ChainId.Dash;
60
60
  readonly explorerUrl: "https://blockchair.com/dash";
61
61
  readonly name: "Dash";
62
62
  readonly nativeCurrency: "DASH";
@@ -67,9 +67,9 @@ export declare const UTXOChainConfigs: readonly [{
67
67
  }, {
68
68
  readonly baseDecimal: 8;
69
69
  readonly blockExplorerUrl: "https://blockchair.com/zcash";
70
- readonly blockTime: 150;
70
+ readonly blockTime: 75;
71
71
  readonly chain: Chain.Zcash;
72
- readonly chainId: ChainId.ZEC;
72
+ readonly chainId: ChainId.Zcash;
73
73
  readonly explorerUrl: "https://blockchair.com/zcash";
74
74
  readonly name: "Zcash";
75
75
  readonly nativeCurrency: "ZEC";
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "type-check:go": "tsgo"
18
18
  },
19
19
  "type": "module",
20
- "version": "0.1.2"
20
+ "version": "0.1.4"
21
21
  }