@bitgo-beta/statics 10.0.1-alpha.25 → 10.0.1-alpha.251
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/.mocharc.js +1 -1
- package/CHANGELOG.md +2589 -0
- package/dist/src/account.d.ts +260 -4
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +441 -43
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +6 -3
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +6 -3
- package/dist/src/base.d.ts +1217 -28
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1270 -45
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +15 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +3017 -1295
- package/dist/src/constants.d.ts +2 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +5 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +2 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +38 -3
- package/dist/src/networks.d.ts +511 -4
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +712 -50
- package/dist/src/ofc.d.ts +240 -0
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +506 -14
- package/dist/src/tokenConfig.d.ts +60 -12
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +130 -7
- package/dist/src/utxo.d.ts +3 -1
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +76 -3
- package/dist/tsconfig.tsbuildinfo +1 -2737
- package/package.json +2 -2
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/networks.d.ts
CHANGED
|
@@ -12,6 +12,14 @@ export declare abstract class BaseNetwork {
|
|
|
12
12
|
export interface UtxoNetwork extends BaseNetwork {
|
|
13
13
|
utxolibName: string;
|
|
14
14
|
}
|
|
15
|
+
export interface LightningNetwork extends UtxoNetwork {
|
|
16
|
+
/**
|
|
17
|
+
* The public key of the Lightning service, used for deriving the shared Elliptic Curve Diffie-Hellman (ECDH) secret
|
|
18
|
+
* between the user's extended private key and the Lightning service. This key facilitates secure communication
|
|
19
|
+
* by enabling the creation of a shared secret for encryption and decryption of data.
|
|
20
|
+
*/
|
|
21
|
+
lightningServicePubKey: string;
|
|
22
|
+
}
|
|
15
23
|
export interface AdaNetwork extends BaseNetwork {
|
|
16
24
|
utxolibName: string;
|
|
17
25
|
poolDeposit: number;
|
|
@@ -40,20 +48,21 @@ export interface AvalancheNetwork extends BaseNetwork {
|
|
|
40
48
|
readonly minDelegationFee: string;
|
|
41
49
|
readonly avaxAssetID: string;
|
|
42
50
|
readonly txFee: string;
|
|
51
|
+
readonly maxImportFee: string;
|
|
43
52
|
}
|
|
44
53
|
export interface AccountNetwork extends BaseNetwork {
|
|
45
54
|
readonly accountExplorerUrl?: string;
|
|
55
|
+
readonly blockExplorerUrl?: string;
|
|
46
56
|
}
|
|
47
57
|
/**
|
|
48
58
|
* Specification name type of the chain. Used in setting up the registry
|
|
49
59
|
*/
|
|
50
|
-
export
|
|
60
|
+
export type PolkadotSpecNameType = 'kusama' | 'polkadot' | 'westend' | 'statemint' | 'statemine';
|
|
51
61
|
export interface DotNetwork extends AccountNetwork {
|
|
52
62
|
readonly specName: PolkadotSpecNameType;
|
|
53
63
|
readonly genesisHash: string;
|
|
54
64
|
readonly specVersion: number;
|
|
55
65
|
readonly chainName: string;
|
|
56
|
-
readonly metadataRpc: `0x${string}`;
|
|
57
66
|
readonly txVersion: number;
|
|
58
67
|
}
|
|
59
68
|
export interface EthereumNetwork extends AccountNetwork {
|
|
@@ -61,6 +70,8 @@ export interface EthereumNetwork extends AccountNetwork {
|
|
|
61
70
|
readonly batcherContractAddress?: string;
|
|
62
71
|
readonly forwarderFactoryAddress?: string;
|
|
63
72
|
readonly forwarderImplementationAddress?: string;
|
|
73
|
+
readonly nativeCoinOperationHashPrefix?: string;
|
|
74
|
+
readonly tokenOperationHashPrefix?: string;
|
|
64
75
|
}
|
|
65
76
|
export interface TronNetwork extends AccountNetwork {
|
|
66
77
|
maxFeeLimit: string;
|
|
@@ -110,6 +121,52 @@ declare class AdaTestnet extends Testnet implements AdaNetwork {
|
|
|
110
121
|
poolDeposit: number;
|
|
111
122
|
stakeKeyDeposit: number;
|
|
112
123
|
}
|
|
124
|
+
declare class Apt extends Mainnet implements AccountNetwork {
|
|
125
|
+
name: string;
|
|
126
|
+
family: CoinFamily;
|
|
127
|
+
explorerUrl: string;
|
|
128
|
+
}
|
|
129
|
+
declare class AptTestnet extends Testnet implements AccountNetwork {
|
|
130
|
+
name: string;
|
|
131
|
+
family: CoinFamily;
|
|
132
|
+
explorerUrl: string;
|
|
133
|
+
}
|
|
134
|
+
declare class Icp extends Mainnet implements AccountNetwork {
|
|
135
|
+
name: string;
|
|
136
|
+
family: CoinFamily;
|
|
137
|
+
explorerUrl: string;
|
|
138
|
+
}
|
|
139
|
+
declare class IcpTestnet extends Testnet implements AccountNetwork {
|
|
140
|
+
name: string;
|
|
141
|
+
family: CoinFamily;
|
|
142
|
+
explorerUrl: string;
|
|
143
|
+
}
|
|
144
|
+
declare class Arbitrum extends Mainnet implements EthereumNetwork {
|
|
145
|
+
name: string;
|
|
146
|
+
family: CoinFamily;
|
|
147
|
+
explorerUrl: string;
|
|
148
|
+
accountExplorerUrl: string;
|
|
149
|
+
chainId: number;
|
|
150
|
+
nativeCoinOperationHashPrefix: string;
|
|
151
|
+
tokenOperationHashPrefix: string;
|
|
152
|
+
forwarderFactoryAddress: string;
|
|
153
|
+
forwarderImplementationAddress: string;
|
|
154
|
+
walletFactoryAddress: string;
|
|
155
|
+
walletImplementationAddress: string;
|
|
156
|
+
}
|
|
157
|
+
declare class ArbitrumTestnet extends Testnet implements EthereumNetwork {
|
|
158
|
+
name: string;
|
|
159
|
+
family: CoinFamily;
|
|
160
|
+
explorerUrl: string;
|
|
161
|
+
accountExplorerUrl: string;
|
|
162
|
+
chainId: number;
|
|
163
|
+
nativeCoinOperationHashPrefix: string;
|
|
164
|
+
tokenOperationHashPrefix: string;
|
|
165
|
+
forwarderFactoryAddress: string;
|
|
166
|
+
forwarderImplementationAddress: string;
|
|
167
|
+
walletFactoryAddress: string;
|
|
168
|
+
walletImplementationAddress: string;
|
|
169
|
+
}
|
|
113
170
|
declare class AvalancheC extends Mainnet implements AccountNetwork {
|
|
114
171
|
name: string;
|
|
115
172
|
family: CoinFamily;
|
|
@@ -137,6 +194,7 @@ declare class AvalancheP extends Mainnet implements AvalancheNetwork {
|
|
|
137
194
|
alias: string;
|
|
138
195
|
vm: string;
|
|
139
196
|
txFee: string;
|
|
197
|
+
maxImportFee: string;
|
|
140
198
|
createSubnetTx: string;
|
|
141
199
|
createChainTx: string;
|
|
142
200
|
creationTxFee: string;
|
|
@@ -162,6 +220,7 @@ declare class AvalanchePTestnet extends Testnet implements AvalancheNetwork {
|
|
|
162
220
|
hrp: string;
|
|
163
221
|
vm: string;
|
|
164
222
|
txFee: string;
|
|
223
|
+
maxImportFee: string;
|
|
165
224
|
createSubnetTx: string;
|
|
166
225
|
createChainTx: string;
|
|
167
226
|
creationTxFee: string;
|
|
@@ -180,6 +239,9 @@ declare class BinanceSmartChain extends Mainnet implements EthereumNetwork {
|
|
|
180
239
|
explorerUrl: string;
|
|
181
240
|
accountExplorerUrl: string;
|
|
182
241
|
chainId: number;
|
|
242
|
+
nativeCoinOperationHashPrefix: string;
|
|
243
|
+
tokenOperationHashPrefix: string;
|
|
244
|
+
batcherContractAddress: string;
|
|
183
245
|
}
|
|
184
246
|
declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwork {
|
|
185
247
|
name: string;
|
|
@@ -187,6 +249,23 @@ declare class BinanceSmartChainTestnet extends Testnet implements EthereumNetwor
|
|
|
187
249
|
explorerUrl: string;
|
|
188
250
|
accountExplorerUrl: string;
|
|
189
251
|
chainId: number;
|
|
252
|
+
nativeCoinOperationHashPrefix: string;
|
|
253
|
+
tokenOperationHashPrefix: string;
|
|
254
|
+
batcherContractAddress: string;
|
|
255
|
+
}
|
|
256
|
+
declare class LightningBitcoin extends Mainnet implements LightningNetwork {
|
|
257
|
+
name: string;
|
|
258
|
+
family: CoinFamily;
|
|
259
|
+
utxolibName: string;
|
|
260
|
+
explorerUrl: string;
|
|
261
|
+
lightningServicePubKey: string;
|
|
262
|
+
}
|
|
263
|
+
declare class LightningBitcoinTestnet extends Testnet implements LightningNetwork {
|
|
264
|
+
name: string;
|
|
265
|
+
family: CoinFamily;
|
|
266
|
+
utxolibName: string;
|
|
267
|
+
explorerUrl: string;
|
|
268
|
+
lightningServicePubKey: string;
|
|
190
269
|
}
|
|
191
270
|
declare class Bitcoin extends Mainnet implements UtxoNetwork {
|
|
192
271
|
name: string;
|
|
@@ -200,6 +279,24 @@ declare class BitcoinTestnet extends Testnet implements UtxoNetwork {
|
|
|
200
279
|
utxolibName: string;
|
|
201
280
|
explorerUrl: string;
|
|
202
281
|
}
|
|
282
|
+
declare class BitcoinPublicSignet extends Testnet implements UtxoNetwork {
|
|
283
|
+
name: string;
|
|
284
|
+
family: CoinFamily;
|
|
285
|
+
utxolibName: string;
|
|
286
|
+
explorerUrl: string;
|
|
287
|
+
}
|
|
288
|
+
declare class BitcoinTestnet4 extends Testnet implements UtxoNetwork {
|
|
289
|
+
name: string;
|
|
290
|
+
family: CoinFamily;
|
|
291
|
+
utxolibName: string;
|
|
292
|
+
explorerUrl: string;
|
|
293
|
+
}
|
|
294
|
+
declare class BitcoinBitGoSignet extends Testnet implements UtxoNetwork {
|
|
295
|
+
name: string;
|
|
296
|
+
family: CoinFamily;
|
|
297
|
+
utxolibName: string;
|
|
298
|
+
explorerUrl: string;
|
|
299
|
+
}
|
|
203
300
|
declare class BitcoinCash extends Mainnet implements UtxoNetwork {
|
|
204
301
|
name: string;
|
|
205
302
|
family: CoinFamily;
|
|
@@ -280,7 +377,6 @@ declare class Polkadot extends Mainnet implements DotNetwork {
|
|
|
280
377
|
genesisHash: string;
|
|
281
378
|
specVersion: number;
|
|
282
379
|
chainName: string;
|
|
283
|
-
metadataRpc: `0x${string}`;
|
|
284
380
|
txVersion: number;
|
|
285
381
|
}
|
|
286
382
|
declare class PolkadotTestnet extends Testnet implements DotNetwork {
|
|
@@ -291,7 +387,6 @@ declare class PolkadotTestnet extends Testnet implements DotNetwork {
|
|
|
291
387
|
genesisHash: string;
|
|
292
388
|
specVersion: number;
|
|
293
389
|
chainName: string;
|
|
294
|
-
metadataRpc: `0x${string}`;
|
|
295
390
|
txVersion: number;
|
|
296
391
|
}
|
|
297
392
|
declare class Celo extends Mainnet implements EthereumNetwork {
|
|
@@ -300,6 +395,8 @@ declare class Celo extends Mainnet implements EthereumNetwork {
|
|
|
300
395
|
explorerUrl: string;
|
|
301
396
|
accountExplorerUrl: string;
|
|
302
397
|
chainId: number;
|
|
398
|
+
nativeCoinOperationHashPrefix: string;
|
|
399
|
+
tokenOperationHashPrefix: string;
|
|
303
400
|
}
|
|
304
401
|
declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
305
402
|
name: string;
|
|
@@ -307,6 +404,8 @@ declare class CeloTestnet extends Testnet implements EthereumNetwork {
|
|
|
307
404
|
explorerUrl: string;
|
|
308
405
|
accountExplorerUrl: string;
|
|
309
406
|
chainId: number;
|
|
407
|
+
nativeCoinOperationHashPrefix: string;
|
|
408
|
+
tokenOperationHashPrefix: string;
|
|
310
409
|
}
|
|
311
410
|
declare class Casper extends Mainnet implements AccountNetwork {
|
|
312
411
|
name: string;
|
|
@@ -325,10 +424,13 @@ declare class Ethereum extends Mainnet implements EthereumNetwork {
|
|
|
325
424
|
family: CoinFamily;
|
|
326
425
|
explorerUrl: string;
|
|
327
426
|
accountExplorerUrl: string;
|
|
427
|
+
blockExplorerUrl: string;
|
|
328
428
|
chainId: number;
|
|
329
429
|
batcherContractAddress: string;
|
|
330
430
|
forwarderFactoryAddress: string;
|
|
331
431
|
forwarderImplementationAddress: string;
|
|
432
|
+
nativeCoinOperationHashPrefix: string;
|
|
433
|
+
tokenOperationHashPrefix: string;
|
|
332
434
|
}
|
|
333
435
|
declare class Ethereum2 extends Mainnet implements AccountNetwork {
|
|
334
436
|
name: string;
|
|
@@ -345,6 +447,8 @@ declare class EthereumW extends Mainnet implements EthereumNetwork {
|
|
|
345
447
|
batcherContractAddress: string;
|
|
346
448
|
forwarderFactoryAddress: string;
|
|
347
449
|
forwarderImplementationAddress: string;
|
|
450
|
+
nativeCoinOperationHashPrefix: string;
|
|
451
|
+
tokenOperationHashPrefix: string;
|
|
348
452
|
}
|
|
349
453
|
declare class Pyrmont extends Testnet implements AccountNetwork {
|
|
350
454
|
name: string;
|
|
@@ -361,16 +465,34 @@ declare class Kovan extends Testnet implements EthereumNetwork {
|
|
|
361
465
|
batcherContractAddress: string;
|
|
362
466
|
forwarderFactoryAddress: string;
|
|
363
467
|
forwarderImplementationAddress: string;
|
|
468
|
+
nativeCoinOperationHashPrefix: string;
|
|
469
|
+
tokenOperationHashPrefix: string;
|
|
364
470
|
}
|
|
365
471
|
declare class Goerli extends Testnet implements EthereumNetwork {
|
|
366
472
|
name: string;
|
|
367
473
|
family: CoinFamily;
|
|
368
474
|
explorerUrl: string;
|
|
369
475
|
accountExplorerUrl: string;
|
|
476
|
+
blockExplorerUrl: string;
|
|
477
|
+
chainId: number;
|
|
478
|
+
batcherContractAddress: string;
|
|
479
|
+
forwarderFactoryAddress: string;
|
|
480
|
+
forwarderImplementationAddress: string;
|
|
481
|
+
nativeCoinOperationHashPrefix: string;
|
|
482
|
+
tokenOperationHashPrefix: string;
|
|
483
|
+
}
|
|
484
|
+
declare class Holesky extends Testnet implements EthereumNetwork {
|
|
485
|
+
name: string;
|
|
486
|
+
family: CoinFamily;
|
|
487
|
+
explorerUrl: string;
|
|
488
|
+
accountExplorerUrl: string;
|
|
489
|
+
blockExplorerUrl: string;
|
|
370
490
|
chainId: number;
|
|
371
491
|
batcherContractAddress: string;
|
|
372
492
|
forwarderFactoryAddress: string;
|
|
373
493
|
forwarderImplementationAddress: string;
|
|
494
|
+
nativeCoinOperationHashPrefix: string;
|
|
495
|
+
tokenOperationHashPrefix: string;
|
|
374
496
|
}
|
|
375
497
|
declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
376
498
|
name: string;
|
|
@@ -378,6 +500,8 @@ declare class EthereumClassic extends Mainnet implements EthereumNetwork {
|
|
|
378
500
|
explorerUrl: string;
|
|
379
501
|
accountExplorerUrl: string;
|
|
380
502
|
chainId: number;
|
|
503
|
+
nativeCoinOperationHashPrefix: string;
|
|
504
|
+
tokenOperationHashPrefix: string;
|
|
381
505
|
}
|
|
382
506
|
declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork {
|
|
383
507
|
name: string;
|
|
@@ -385,6 +509,8 @@ declare class EthereumClassicTestnet extends Testnet implements EthereumNetwork
|
|
|
385
509
|
explorerUrl: string;
|
|
386
510
|
accountExplorerUrl: string;
|
|
387
511
|
chainId: number;
|
|
512
|
+
nativeCoinOperationHashPrefix: string;
|
|
513
|
+
tokenOperationHashPrefix: string;
|
|
388
514
|
}
|
|
389
515
|
declare class Eos extends Mainnet implements AccountNetwork {
|
|
390
516
|
name: string;
|
|
@@ -434,6 +560,8 @@ declare class Rbtc extends Mainnet implements EthereumNetwork {
|
|
|
434
560
|
explorerUrl: string;
|
|
435
561
|
accountExplorerUrl: string;
|
|
436
562
|
chainId: number;
|
|
563
|
+
nativeCoinOperationHashPrefix: string;
|
|
564
|
+
tokenOperationHashPrefix: string;
|
|
437
565
|
}
|
|
438
566
|
declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
439
567
|
name: string;
|
|
@@ -441,6 +569,8 @@ declare class RbtcTestnet extends Testnet implements EthereumNetwork {
|
|
|
441
569
|
explorerUrl: string;
|
|
442
570
|
accountExplorerUrl: string;
|
|
443
571
|
chainId: number;
|
|
572
|
+
nativeCoinOperationHashPrefix: string;
|
|
573
|
+
tokenOperationHashPrefix: string;
|
|
444
574
|
}
|
|
445
575
|
declare class Stellar extends Mainnet implements AccountNetwork {
|
|
446
576
|
name: string;
|
|
@@ -482,6 +612,136 @@ declare class AtomTestnet extends Testnet implements AccountNetwork {
|
|
|
482
612
|
family: CoinFamily;
|
|
483
613
|
explorerUrl: string;
|
|
484
614
|
}
|
|
615
|
+
declare class Osmo extends Mainnet implements AccountNetwork {
|
|
616
|
+
name: string;
|
|
617
|
+
family: CoinFamily;
|
|
618
|
+
explorerUrl: string;
|
|
619
|
+
}
|
|
620
|
+
declare class OsmoTestnet extends Testnet implements AccountNetwork {
|
|
621
|
+
name: string;
|
|
622
|
+
family: CoinFamily;
|
|
623
|
+
explorerUrl: string;
|
|
624
|
+
}
|
|
625
|
+
declare class Tia extends Mainnet implements AccountNetwork {
|
|
626
|
+
name: string;
|
|
627
|
+
family: CoinFamily;
|
|
628
|
+
explorerUrl: string;
|
|
629
|
+
}
|
|
630
|
+
declare class TiaTestnet extends Testnet implements AccountNetwork {
|
|
631
|
+
name: string;
|
|
632
|
+
family: CoinFamily;
|
|
633
|
+
explorerUrl: string;
|
|
634
|
+
}
|
|
635
|
+
declare class Hash extends Mainnet implements AccountNetwork {
|
|
636
|
+
name: string;
|
|
637
|
+
family: CoinFamily;
|
|
638
|
+
explorerUrl: string;
|
|
639
|
+
}
|
|
640
|
+
declare class HashTestnet extends Testnet implements AccountNetwork {
|
|
641
|
+
name: string;
|
|
642
|
+
family: CoinFamily;
|
|
643
|
+
explorerUrl: string;
|
|
644
|
+
}
|
|
645
|
+
declare class Bld extends Mainnet implements AccountNetwork {
|
|
646
|
+
name: string;
|
|
647
|
+
family: CoinFamily;
|
|
648
|
+
explorerUrl: string;
|
|
649
|
+
}
|
|
650
|
+
declare class BldTestnet extends Testnet implements AccountNetwork {
|
|
651
|
+
name: string;
|
|
652
|
+
family: CoinFamily;
|
|
653
|
+
explorerUrl: string;
|
|
654
|
+
}
|
|
655
|
+
declare class Sei extends Mainnet implements AccountNetwork {
|
|
656
|
+
name: string;
|
|
657
|
+
family: CoinFamily;
|
|
658
|
+
explorerUrl: string;
|
|
659
|
+
}
|
|
660
|
+
declare class SeiTestnet extends Testnet implements AccountNetwork {
|
|
661
|
+
name: string;
|
|
662
|
+
family: CoinFamily;
|
|
663
|
+
explorerUrl: string;
|
|
664
|
+
}
|
|
665
|
+
declare class Zeta extends Mainnet implements AccountNetwork {
|
|
666
|
+
name: string;
|
|
667
|
+
family: CoinFamily;
|
|
668
|
+
explorerUrl: string;
|
|
669
|
+
}
|
|
670
|
+
declare class ZetaTestnet extends Testnet implements AccountNetwork {
|
|
671
|
+
name: string;
|
|
672
|
+
family: CoinFamily;
|
|
673
|
+
explorerUrl: string;
|
|
674
|
+
}
|
|
675
|
+
declare class Injective extends Mainnet implements AccountNetwork {
|
|
676
|
+
name: string;
|
|
677
|
+
family: CoinFamily;
|
|
678
|
+
explorerUrl: string;
|
|
679
|
+
}
|
|
680
|
+
declare class InjectiveTestnet extends Testnet implements AccountNetwork {
|
|
681
|
+
name: string;
|
|
682
|
+
family: CoinFamily;
|
|
683
|
+
explorerUrl: string;
|
|
684
|
+
}
|
|
685
|
+
declare class Kava extends Mainnet implements AccountNetwork {
|
|
686
|
+
name: string;
|
|
687
|
+
family: CoinFamily;
|
|
688
|
+
explorerUrl: string;
|
|
689
|
+
}
|
|
690
|
+
declare class KavaTestnet extends Testnet implements AccountNetwork {
|
|
691
|
+
name: string;
|
|
692
|
+
family: CoinFamily;
|
|
693
|
+
explorerUrl: string;
|
|
694
|
+
}
|
|
695
|
+
declare class Ton extends Mainnet implements AccountNetwork {
|
|
696
|
+
name: string;
|
|
697
|
+
family: CoinFamily;
|
|
698
|
+
explorerUrl: string;
|
|
699
|
+
}
|
|
700
|
+
declare class TonTestnet extends Testnet implements AccountNetwork {
|
|
701
|
+
name: string;
|
|
702
|
+
family: CoinFamily;
|
|
703
|
+
explorerUrl: string;
|
|
704
|
+
}
|
|
705
|
+
declare class Coreum extends Mainnet implements AccountNetwork {
|
|
706
|
+
name: string;
|
|
707
|
+
family: CoinFamily;
|
|
708
|
+
explorerUrl: string;
|
|
709
|
+
}
|
|
710
|
+
declare class CoreumTestnet extends Testnet implements AccountNetwork {
|
|
711
|
+
name: string;
|
|
712
|
+
family: CoinFamily;
|
|
713
|
+
explorerUrl: string;
|
|
714
|
+
}
|
|
715
|
+
declare class Rune extends Mainnet implements AccountNetwork {
|
|
716
|
+
name: string;
|
|
717
|
+
family: CoinFamily;
|
|
718
|
+
explorerUrl: string;
|
|
719
|
+
}
|
|
720
|
+
declare class RuneTestNet extends Testnet implements AccountNetwork {
|
|
721
|
+
name: string;
|
|
722
|
+
family: CoinFamily;
|
|
723
|
+
explorerUrl: string;
|
|
724
|
+
}
|
|
725
|
+
declare class Baby extends Mainnet implements AccountNetwork {
|
|
726
|
+
name: string;
|
|
727
|
+
family: CoinFamily;
|
|
728
|
+
explorerUrl: string;
|
|
729
|
+
}
|
|
730
|
+
declare class BabyTestnet extends Testnet implements AccountNetwork {
|
|
731
|
+
name: string;
|
|
732
|
+
family: CoinFamily;
|
|
733
|
+
explorerUrl: string;
|
|
734
|
+
}
|
|
735
|
+
declare class Islm extends Mainnet implements AccountNetwork {
|
|
736
|
+
name: string;
|
|
737
|
+
family: CoinFamily;
|
|
738
|
+
explorerUrl: string;
|
|
739
|
+
}
|
|
740
|
+
declare class IslmTestnet extends Testnet implements AccountNetwork {
|
|
741
|
+
name: string;
|
|
742
|
+
family: CoinFamily;
|
|
743
|
+
explorerUrl: string;
|
|
744
|
+
}
|
|
485
745
|
declare class Stx extends Mainnet implements StacksNetwork {
|
|
486
746
|
name: string;
|
|
487
747
|
family: CoinFamily;
|
|
@@ -516,9 +776,20 @@ declare class Fiat extends Mainnet implements BaseNetwork {
|
|
|
516
776
|
family: CoinFamily;
|
|
517
777
|
explorerUrl: undefined;
|
|
518
778
|
}
|
|
779
|
+
declare class Bittensor extends Mainnet implements AccountNetwork {
|
|
780
|
+
name: string;
|
|
781
|
+
family: CoinFamily;
|
|
782
|
+
explorerUrl: string;
|
|
783
|
+
}
|
|
784
|
+
declare class BittensorTestnet extends Testnet implements AccountNetwork {
|
|
785
|
+
name: string;
|
|
786
|
+
family: CoinFamily;
|
|
787
|
+
explorerUrl: string;
|
|
788
|
+
}
|
|
519
789
|
declare class Trx extends Mainnet implements TronNetwork {
|
|
520
790
|
name: string;
|
|
521
791
|
family: CoinFamily;
|
|
792
|
+
accountExplorerUrl: string;
|
|
522
793
|
explorerUrl: string;
|
|
523
794
|
maxFeeLimit: string;
|
|
524
795
|
contractCallFeeLimit: string;
|
|
@@ -526,6 +797,7 @@ declare class Trx extends Mainnet implements TronNetwork {
|
|
|
526
797
|
declare class TrxTestnet extends Testnet implements TronNetwork {
|
|
527
798
|
name: string;
|
|
528
799
|
family: CoinFamily;
|
|
800
|
+
accountExplorerUrl: string;
|
|
529
801
|
explorerUrl: string;
|
|
530
802
|
maxFeeLimit: string;
|
|
531
803
|
contractCallFeeLimit: string;
|
|
@@ -588,6 +860,9 @@ declare class Polygon extends Mainnet implements EthereumNetwork {
|
|
|
588
860
|
forwarderImplementationAddress: string;
|
|
589
861
|
walletFactoryAddress: string;
|
|
590
862
|
walletImplementationAddress: string;
|
|
863
|
+
batcherContractAddress: string;
|
|
864
|
+
nativeCoinOperationHashPrefix: string;
|
|
865
|
+
tokenOperationHashPrefix: string;
|
|
591
866
|
}
|
|
592
867
|
declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
593
868
|
name: string;
|
|
@@ -599,21 +874,205 @@ declare class PolygonTestnet extends Testnet implements EthereumNetwork {
|
|
|
599
874
|
forwarderImplementationAddress: string;
|
|
600
875
|
walletFactoryAddress: string;
|
|
601
876
|
walletImplementationAddress: string;
|
|
877
|
+
batcherContractAddress: string;
|
|
878
|
+
nativeCoinOperationHashPrefix: string;
|
|
879
|
+
tokenOperationHashPrefix: string;
|
|
880
|
+
}
|
|
881
|
+
declare class Optimism extends Mainnet implements EthereumNetwork {
|
|
882
|
+
name: string;
|
|
883
|
+
family: CoinFamily;
|
|
884
|
+
explorerUrl: string;
|
|
885
|
+
accountExplorerUrl: string;
|
|
886
|
+
chainId: number;
|
|
887
|
+
nativeCoinOperationHashPrefix: string;
|
|
888
|
+
tokenOperationHashPrefix: string;
|
|
889
|
+
forwarderFactoryAddress: string;
|
|
890
|
+
forwarderImplementationAddress: string;
|
|
891
|
+
walletFactoryAddress: string;
|
|
892
|
+
walletImplementationAddress: string;
|
|
893
|
+
}
|
|
894
|
+
declare class OptimismTestnet extends Testnet implements EthereumNetwork {
|
|
895
|
+
name: string;
|
|
896
|
+
family: CoinFamily;
|
|
897
|
+
explorerUrl: string;
|
|
898
|
+
accountExplorerUrl: string;
|
|
899
|
+
chainId: number;
|
|
900
|
+
nativeCoinOperationHashPrefix: string;
|
|
901
|
+
tokenOperationHashPrefix: string;
|
|
902
|
+
forwarderFactoryAddress: string;
|
|
903
|
+
forwarderImplementationAddress: string;
|
|
904
|
+
walletFactoryAddress: string;
|
|
905
|
+
walletImplementationAddress: string;
|
|
906
|
+
}
|
|
907
|
+
declare class ZkSync extends Mainnet implements EthereumNetwork {
|
|
908
|
+
name: string;
|
|
909
|
+
family: CoinFamily;
|
|
910
|
+
explorerUrl: string;
|
|
911
|
+
accountExplorerUrl: string;
|
|
912
|
+
chainId: number;
|
|
913
|
+
nativeCoinOperationHashPrefix: string;
|
|
914
|
+
tokenOperationHashPrefix: string;
|
|
915
|
+
}
|
|
916
|
+
declare class ZkSyncTestnet extends Testnet implements EthereumNetwork {
|
|
917
|
+
name: string;
|
|
918
|
+
family: CoinFamily;
|
|
919
|
+
explorerUrl: string;
|
|
920
|
+
accountExplorerUrl: string;
|
|
921
|
+
chainId: number;
|
|
922
|
+
nativeCoinOperationHashPrefix: string;
|
|
923
|
+
tokenOperationHashPrefix: string;
|
|
924
|
+
forwarderFactoryAddress: string;
|
|
925
|
+
forwarderImplementationAddress: string;
|
|
926
|
+
walletFactoryAddress: string;
|
|
927
|
+
walletImplementationAddress: string;
|
|
928
|
+
}
|
|
929
|
+
declare class Berachain extends Mainnet implements EthereumNetwork {
|
|
930
|
+
name: string;
|
|
931
|
+
family: CoinFamily;
|
|
932
|
+
explorerUrl: string;
|
|
933
|
+
accountExplorerUrl: string;
|
|
934
|
+
chainId: number;
|
|
935
|
+
nativeCoinOperationHashPrefix: string;
|
|
936
|
+
tokenOperationHashPrefix: string;
|
|
937
|
+
}
|
|
938
|
+
declare class BerachainTestnet extends Testnet implements EthereumNetwork {
|
|
939
|
+
name: string;
|
|
940
|
+
family: CoinFamily;
|
|
941
|
+
explorerUrl: string;
|
|
942
|
+
accountExplorerUrl: string;
|
|
943
|
+
chainId: number;
|
|
944
|
+
nativeCoinOperationHashPrefix: string;
|
|
945
|
+
tokenOperationHashPrefix: string;
|
|
946
|
+
forwarderFactoryAddress: string;
|
|
947
|
+
forwarderImplementationAddress: string;
|
|
948
|
+
walletFactoryAddress: string;
|
|
949
|
+
walletImplementationAddress: string;
|
|
950
|
+
batcherContractAddress: string;
|
|
951
|
+
}
|
|
952
|
+
declare class Oas extends Mainnet implements EthereumNetwork {
|
|
953
|
+
name: string;
|
|
954
|
+
family: CoinFamily;
|
|
955
|
+
explorerUrl: string;
|
|
956
|
+
accountExplorerUrl: string;
|
|
957
|
+
chainId: number;
|
|
958
|
+
nativeCoinOperationHashPrefix: string;
|
|
959
|
+
batcherContractAddress: string;
|
|
960
|
+
forwarderFactoryAddress: string;
|
|
961
|
+
forwarderImplementationAddress: string;
|
|
962
|
+
}
|
|
963
|
+
declare class OasTestnet extends Testnet implements EthereumNetwork {
|
|
964
|
+
name: string;
|
|
965
|
+
family: CoinFamily;
|
|
966
|
+
explorerUrl: string;
|
|
967
|
+
accountExplorerUrl: string;
|
|
968
|
+
chainId: number;
|
|
969
|
+
nativeCoinOperationHashPrefix: string;
|
|
970
|
+
batcherContractAddress: string;
|
|
971
|
+
forwarderFactoryAddress: string;
|
|
972
|
+
forwarderImplementationAddress: string;
|
|
973
|
+
}
|
|
974
|
+
declare class Coredao extends Mainnet implements EthereumNetwork {
|
|
975
|
+
name: string;
|
|
976
|
+
family: CoinFamily;
|
|
977
|
+
explorerUrl: string;
|
|
978
|
+
accountExplorerUrl: string;
|
|
979
|
+
chainId: number;
|
|
980
|
+
nativeCoinOperationHashPrefix: string;
|
|
981
|
+
batcherContractAddress: string;
|
|
982
|
+
forwarderFactoryAddress: string;
|
|
983
|
+
forwarderImplementationAddress: string;
|
|
984
|
+
}
|
|
985
|
+
declare class CoredaoTestnet extends Testnet implements EthereumNetwork {
|
|
986
|
+
name: string;
|
|
987
|
+
family: CoinFamily;
|
|
988
|
+
explorerUrl: string;
|
|
989
|
+
accountExplorerUrl: string;
|
|
990
|
+
chainId: number;
|
|
991
|
+
nativeCoinOperationHashPrefix: string;
|
|
992
|
+
batcherContractAddress: string;
|
|
993
|
+
forwarderFactoryAddress: string;
|
|
994
|
+
forwarderImplementationAddress: string;
|
|
995
|
+
}
|
|
996
|
+
declare class Flare extends Mainnet implements EthereumNetwork {
|
|
997
|
+
name: string;
|
|
998
|
+
family: CoinFamily;
|
|
999
|
+
explorerUrl: string;
|
|
1000
|
+
accountExplorerUrl: string;
|
|
1001
|
+
chainId: number;
|
|
1002
|
+
nativeCoinOperationHashPrefix: string;
|
|
1003
|
+
}
|
|
1004
|
+
declare class FlareTestnet extends Testnet implements EthereumNetwork {
|
|
1005
|
+
name: string;
|
|
1006
|
+
family: CoinFamily;
|
|
1007
|
+
explorerUrl: string;
|
|
1008
|
+
accountExplorerUrl: string;
|
|
1009
|
+
chainId: number;
|
|
1010
|
+
nativeCoinOperationHashPrefix: string;
|
|
1011
|
+
}
|
|
1012
|
+
declare class Songbird extends Mainnet implements EthereumNetwork {
|
|
1013
|
+
name: string;
|
|
1014
|
+
family: CoinFamily;
|
|
1015
|
+
explorerUrl: string;
|
|
1016
|
+
accountExplorerUrl: string;
|
|
1017
|
+
chainId: number;
|
|
1018
|
+
nativeCoinOperationHashPrefix: string;
|
|
1019
|
+
}
|
|
1020
|
+
declare class SongbirdTestnet extends Testnet implements EthereumNetwork {
|
|
1021
|
+
name: string;
|
|
1022
|
+
family: CoinFamily;
|
|
1023
|
+
explorerUrl: string;
|
|
1024
|
+
accountExplorerUrl: string;
|
|
1025
|
+
chainId: number;
|
|
1026
|
+
nativeCoinOperationHashPrefix: string;
|
|
1027
|
+
}
|
|
1028
|
+
declare class BaseChainTestnet extends Testnet implements EthereumNetwork {
|
|
1029
|
+
name: string;
|
|
1030
|
+
family: CoinFamily;
|
|
1031
|
+
explorerUrl: string;
|
|
1032
|
+
accountExplorerUrl: string;
|
|
1033
|
+
chainId: number;
|
|
1034
|
+
nativeCoinOperationHashPrefix: string;
|
|
1035
|
+
tokenOperationHashPrefix: string;
|
|
1036
|
+
forwarderFactoryAddress: string;
|
|
1037
|
+
forwarderImplementationAddress: string;
|
|
1038
|
+
walletFactoryAddress: string;
|
|
1039
|
+
walletImplementationAddress: string;
|
|
1040
|
+
}
|
|
1041
|
+
declare class BaseChain extends Mainnet implements EthereumNetwork {
|
|
1042
|
+
name: string;
|
|
1043
|
+
family: CoinFamily;
|
|
1044
|
+
explorerUrl: string;
|
|
1045
|
+
accountExplorerUrl: string;
|
|
1046
|
+
chainId: number;
|
|
1047
|
+
nativeCoinOperationHashPrefix: string;
|
|
1048
|
+
tokenOperationHashPrefix: string;
|
|
1049
|
+
forwarderFactoryAddress: string;
|
|
1050
|
+
forwarderImplementationAddress: string;
|
|
1051
|
+
walletFactoryAddress: string;
|
|
1052
|
+
walletImplementationAddress: string;
|
|
602
1053
|
}
|
|
603
1054
|
export declare const Networks: {
|
|
604
1055
|
main: {
|
|
605
1056
|
ada: Readonly<Ada>;
|
|
606
1057
|
algorand: Readonly<Algorand>;
|
|
1058
|
+
apt: Readonly<Apt>;
|
|
1059
|
+
arbitrum: Readonly<Arbitrum>;
|
|
607
1060
|
atom: Readonly<Atom>;
|
|
608
1061
|
avalancheC: Readonly<AvalancheC>;
|
|
609
1062
|
avalancheP: Readonly<AvalancheP>;
|
|
1063
|
+
baby: Readonly<Baby>;
|
|
1064
|
+
basechain: Readonly<BaseChain>;
|
|
610
1065
|
bitcoin: Readonly<Bitcoin>;
|
|
611
1066
|
bitcoinCash: Readonly<BitcoinCash>;
|
|
612
1067
|
bitcoinGold: Readonly<BitcoinGold>;
|
|
613
1068
|
bitcoinSV: Readonly<BitcoinSV>;
|
|
1069
|
+
bera: Readonly<Berachain>;
|
|
1070
|
+
bld: Readonly<Bld>;
|
|
614
1071
|
bsc: Readonly<BinanceSmartChain>;
|
|
615
1072
|
casper: Readonly<Casper>;
|
|
616
1073
|
celo: Readonly<Celo>;
|
|
1074
|
+
coredao: Readonly<Coredao>;
|
|
1075
|
+
coreum: Readonly<Coreum>;
|
|
617
1076
|
dash: Readonly<Dash>;
|
|
618
1077
|
dogecoin: Readonly<Dogecoin>;
|
|
619
1078
|
dot: Readonly<Polkadot>;
|
|
@@ -624,34 +1083,62 @@ export declare const Networks: {
|
|
|
624
1083
|
ethereumClassic: Readonly<EthereumClassic>;
|
|
625
1084
|
ethereumW: Readonly<EthereumW>;
|
|
626
1085
|
fiat: Readonly<Fiat>;
|
|
1086
|
+
flr: Readonly<Flare>;
|
|
1087
|
+
hash: Readonly<Hash>;
|
|
627
1088
|
hedera: Readonly<Hedera>;
|
|
1089
|
+
icp: Readonly<Icp>;
|
|
1090
|
+
injective: Readonly<Injective>;
|
|
1091
|
+
islm: Readonly<Islm>;
|
|
1092
|
+
kava: Readonly<Kava>;
|
|
1093
|
+
lnbtc: Readonly<LightningBitcoin>;
|
|
628
1094
|
litecoin: Readonly<Litecoin>;
|
|
629
1095
|
polygon: Readonly<Polygon>;
|
|
1096
|
+
oas: Readonly<Oas>;
|
|
630
1097
|
ofc: Readonly<Ofc>;
|
|
1098
|
+
optimism: Readonly<Optimism>;
|
|
1099
|
+
osmo: Readonly<Osmo>;
|
|
631
1100
|
rbtc: Readonly<Rbtc>;
|
|
1101
|
+
rune: Readonly<Rune>;
|
|
632
1102
|
stellar: Readonly<Stellar>;
|
|
1103
|
+
sei: Readonly<Sei>;
|
|
1104
|
+
sgb: Readonly<Songbird>;
|
|
633
1105
|
sol: Readonly<Sol>;
|
|
634
1106
|
sui: Readonly<Sui>;
|
|
635
1107
|
near: Readonly<Near>;
|
|
636
1108
|
stx: Readonly<Stx>;
|
|
637
1109
|
susd: Readonly<SUSD>;
|
|
1110
|
+
tao: Readonly<Bittensor>;
|
|
1111
|
+
tia: Readonly<Tia>;
|
|
1112
|
+
ton: Readonly<Ton>;
|
|
638
1113
|
trx: Readonly<Trx>;
|
|
639
1114
|
xrp: Readonly<Xrp>;
|
|
640
1115
|
xtz: Readonly<Xtz>;
|
|
641
1116
|
zCash: Readonly<ZCash>;
|
|
1117
|
+
zeta: Readonly<Zeta>;
|
|
1118
|
+
zkSync: Readonly<ZkSync>;
|
|
642
1119
|
};
|
|
643
1120
|
test: {
|
|
644
1121
|
ada: Readonly<AdaTestnet>;
|
|
645
1122
|
algorand: Readonly<AlgorandTestnet>;
|
|
1123
|
+
apt: Readonly<AptTestnet>;
|
|
1124
|
+
arbitrum: Readonly<ArbitrumTestnet>;
|
|
646
1125
|
atom: Readonly<AtomTestnet>;
|
|
647
1126
|
avalancheC: Readonly<AvalancheCTestnet>;
|
|
648
1127
|
avalancheP: Readonly<AvalanchePTestnet>;
|
|
1128
|
+
baby: Readonly<BabyTestnet>;
|
|
1129
|
+
basechain: Readonly<BaseChainTestnet>;
|
|
649
1130
|
bitcoin: Readonly<BitcoinTestnet>;
|
|
1131
|
+
bitcoinPublicSignet: Readonly<BitcoinPublicSignet>;
|
|
1132
|
+
bitcoinTestnet4: Readonly<BitcoinTestnet4>;
|
|
1133
|
+
bitcoinBitGoSignet: Readonly<BitcoinBitGoSignet>;
|
|
650
1134
|
bitcoinCash: Readonly<BitcoinCashTestnet>;
|
|
651
1135
|
bitcoinGold: Readonly<BitcoinGoldTestnet>;
|
|
652
1136
|
bitcoinSV: Readonly<BitcoinSVTestnet>;
|
|
1137
|
+
bera: Readonly<BerachainTestnet>;
|
|
1138
|
+
bld: Readonly<BldTestnet>;
|
|
653
1139
|
bsc: Readonly<BinanceSmartChainTestnet>;
|
|
654
1140
|
casper: Readonly<CasperTestnet>;
|
|
1141
|
+
coredao: Readonly<CoredaoTestnet>;
|
|
655
1142
|
celo: Readonly<CeloTestnet>;
|
|
656
1143
|
dash: Readonly<DashTestnet>;
|
|
657
1144
|
dogecoin: Readonly<DogecoinTestnet>;
|
|
@@ -659,25 +1146,45 @@ export declare const Networks: {
|
|
|
659
1146
|
eCash: Readonly<ECashTestnet>;
|
|
660
1147
|
eos: Readonly<EosTestnet>;
|
|
661
1148
|
fiat: Readonly<FiatTestnet>;
|
|
1149
|
+
flr: Readonly<FlareTestnet>;
|
|
662
1150
|
pyrmont: Readonly<Pyrmont>;
|
|
663
1151
|
ethereumClassicTestnet: Readonly<EthereumClassicTestnet>;
|
|
1152
|
+
hash: Readonly<HashTestnet>;
|
|
664
1153
|
hedera: Readonly<HederaTestnet>;
|
|
1154
|
+
icp: Readonly<IcpTestnet>;
|
|
1155
|
+
injective: Readonly<InjectiveTestnet>;
|
|
1156
|
+
islm: Readonly<IslmTestnet>;
|
|
1157
|
+
kava: Readonly<KavaTestnet>;
|
|
665
1158
|
kovan: Readonly<Kovan>;
|
|
666
1159
|
goerli: Readonly<Goerli>;
|
|
1160
|
+
holesky: Readonly<Holesky>;
|
|
1161
|
+
lnbtc: Readonly<LightningBitcoinTestnet>;
|
|
667
1162
|
litecoin: Readonly<LitecoinTestnet>;
|
|
668
1163
|
polygon: Readonly<PolygonTestnet>;
|
|
1164
|
+
oas: Readonly<OasTestnet>;
|
|
669
1165
|
ofc: Readonly<OfcTestnet>;
|
|
1166
|
+
optimism: Readonly<OptimismTestnet>;
|
|
1167
|
+
osmo: Readonly<OsmoTestnet>;
|
|
670
1168
|
rbtc: Readonly<RbtcTestnet>;
|
|
1169
|
+
rune: Readonly<RuneTestNet>;
|
|
1170
|
+
sgb: Readonly<SongbirdTestnet>;
|
|
671
1171
|
stellar: Readonly<StellarTestnet>;
|
|
1172
|
+
sei: Readonly<SeiTestnet>;
|
|
672
1173
|
sol: Readonly<SolTestnet>;
|
|
673
1174
|
sui: Readonly<SuiTestnet>;
|
|
674
1175
|
near: Readonly<NearTestnet>;
|
|
675
1176
|
stx: Readonly<StxTestnet>;
|
|
676
1177
|
susd: Readonly<SUSDTestnet>;
|
|
1178
|
+
coreum: Readonly<CoreumTestnet>;
|
|
1179
|
+
tao: Readonly<BittensorTestnet>;
|
|
1180
|
+
tia: Readonly<TiaTestnet>;
|
|
1181
|
+
ton: Readonly<TonTestnet>;
|
|
677
1182
|
trx: Readonly<TrxTestnet>;
|
|
678
1183
|
xrp: Readonly<XrpTestnet>;
|
|
679
1184
|
xtz: Readonly<XtzTestnet>;
|
|
680
1185
|
zCash: Readonly<ZCashTestnet>;
|
|
1186
|
+
zeta: Readonly<ZetaTestnet>;
|
|
1187
|
+
zkSync: Readonly<ZkSyncTestnet>;
|
|
681
1188
|
};
|
|
682
1189
|
};
|
|
683
1190
|
export {};
|