@revoke.cash/chains 21.0.0 → 23.0.0
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/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/src/chains.js +206 -22
- package/dist/src/enums.d.ts +20 -4
- package/dist/src/enums.js +20 -4
- package/dist/src/index.d.ts +24 -9
- package/dist/src/index.js +10 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { getChain, getChainById, getChainByName, allChains, Chain, ChainId, ChainName, NativeCurrency, Explorer, Parent } from './src';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ChainName = exports.ChainId = exports.
|
|
3
|
+
exports.ChainName = exports.ChainId = exports.allChains = exports.getChainByName = exports.getChainById = exports.getChain = void 0;
|
|
7
4
|
var src_1 = require("./src");
|
|
8
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "getChain", { enumerable: true, get: function () { return src_1.getChain; } });
|
|
6
|
+
Object.defineProperty(exports, "getChainById", { enumerable: true, get: function () { return src_1.getChainById; } });
|
|
7
|
+
Object.defineProperty(exports, "getChainByName", { enumerable: true, get: function () { return src_1.getChainByName; } });
|
|
8
|
+
Object.defineProperty(exports, "allChains", { enumerable: true, get: function () { return src_1.allChains; } });
|
|
9
9
|
Object.defineProperty(exports, "ChainId", { enumerable: true, get: function () { return src_1.ChainId; } });
|
|
10
10
|
Object.defineProperty(exports, "ChainName", { enumerable: true, get: function () { return src_1.ChainName; } });
|
package/dist/src/chains.js
CHANGED
|
@@ -2489,7 +2489,15 @@ exports.chains = {
|
|
|
2489
2489
|
shortName: 'fuse',
|
|
2490
2490
|
chainId: 122,
|
|
2491
2491
|
networkId: 122,
|
|
2492
|
-
icon: 'fuse'
|
|
2492
|
+
icon: 'fuse',
|
|
2493
|
+
explorers: [
|
|
2494
|
+
{
|
|
2495
|
+
name: 'blockscout',
|
|
2496
|
+
url: 'https://explorer.fuse.io',
|
|
2497
|
+
icon: 'blockscout',
|
|
2498
|
+
standard: 'EIP3091'
|
|
2499
|
+
}
|
|
2500
|
+
]
|
|
2493
2501
|
},
|
|
2494
2502
|
123: {
|
|
2495
2503
|
name: 'Fuse Sparknet',
|
|
@@ -3197,12 +3205,12 @@ exports.chains = {
|
|
|
3197
3205
|
]
|
|
3198
3206
|
},
|
|
3199
3207
|
195: {
|
|
3200
|
-
name: '
|
|
3201
|
-
chain: '
|
|
3202
|
-
rpc: ['https://
|
|
3208
|
+
name: 'Xgon Testnet',
|
|
3209
|
+
chain: 'xgon',
|
|
3210
|
+
rpc: ['https://testrpc.xgon.io'],
|
|
3203
3211
|
faucets: ['https://www.oklink.com/okbc-test'],
|
|
3204
3212
|
nativeCurrency: {
|
|
3205
|
-
name: '
|
|
3213
|
+
name: 'Xgon Global Utility Token in testnet',
|
|
3206
3214
|
symbol: 'OKB',
|
|
3207
3215
|
decimals: 18
|
|
3208
3216
|
},
|
|
@@ -3221,17 +3229,17 @@ exports.chains = {
|
|
|
3221
3229
|
status: 'active'
|
|
3222
3230
|
},
|
|
3223
3231
|
196: {
|
|
3224
|
-
name: '
|
|
3225
|
-
chain: '
|
|
3232
|
+
name: 'Xgon Mainnet',
|
|
3233
|
+
chain: 'xgon',
|
|
3226
3234
|
rpc: [],
|
|
3227
3235
|
faucets: [],
|
|
3228
3236
|
nativeCurrency: {
|
|
3229
|
-
name: '
|
|
3237
|
+
name: 'Xgon Global Utility Token',
|
|
3230
3238
|
symbol: 'OKB',
|
|
3231
3239
|
decimals: 18
|
|
3232
3240
|
},
|
|
3233
3241
|
features: [],
|
|
3234
|
-
infoURL: 'https://www.
|
|
3242
|
+
infoURL: 'https://www.okx.com/okbc/docs/dev/quick-start/introduction/introduction-to-okbchain',
|
|
3235
3243
|
shortName: 'okb',
|
|
3236
3244
|
chainId: 196,
|
|
3237
3245
|
networkId: 196,
|
|
@@ -3361,10 +3369,29 @@ exports.chains = {
|
|
|
3361
3369
|
}
|
|
3362
3370
|
]
|
|
3363
3371
|
},
|
|
3372
|
+
206: {
|
|
3373
|
+
name: 'VinuChain Testnet',
|
|
3374
|
+
chain: 'VinuChain Testnet',
|
|
3375
|
+
rpc: ['https://vinufoundation-rpc.com'],
|
|
3376
|
+
faucets: [],
|
|
3377
|
+
nativeCurrency: { name: 'VinuChain', symbol: 'VС', decimals: 18 },
|
|
3378
|
+
infoURL: 'https://vitainu.org',
|
|
3379
|
+
shortName: 'VCTEST',
|
|
3380
|
+
chainId: 206,
|
|
3381
|
+
networkId: 206,
|
|
3382
|
+
icon: 'vitainu-testnet',
|
|
3383
|
+
explorers: [
|
|
3384
|
+
{
|
|
3385
|
+
name: 'VinuScan Testnet',
|
|
3386
|
+
url: 'https://testnet.vinuscan.com',
|
|
3387
|
+
icon: 'vinuscan-testnet',
|
|
3388
|
+
standard: 'none'
|
|
3389
|
+
}
|
|
3390
|
+
]
|
|
3391
|
+
},
|
|
3364
3392
|
207: {
|
|
3365
3393
|
name: 'VinuChain Network',
|
|
3366
3394
|
chain: 'VinuChain',
|
|
3367
|
-
icon: 'vitainu',
|
|
3368
3395
|
rpc: ['https://vinuchain-rpc.com'],
|
|
3369
3396
|
faucets: [],
|
|
3370
3397
|
nativeCurrency: { name: 'VinuChain', symbol: 'VС', decimals: 18 },
|
|
@@ -3372,6 +3399,7 @@ exports.chains = {
|
|
|
3372
3399
|
shortName: 'VC',
|
|
3373
3400
|
chainId: 207,
|
|
3374
3401
|
networkId: 207,
|
|
3402
|
+
icon: 'vitainu',
|
|
3375
3403
|
explorers: [
|
|
3376
3404
|
{
|
|
3377
3405
|
name: 'VinuScan',
|
|
@@ -3518,7 +3546,7 @@ exports.chains = {
|
|
|
3518
3546
|
225: {
|
|
3519
3547
|
name: 'LACHAIN Mainnet',
|
|
3520
3548
|
chain: 'LA',
|
|
3521
|
-
icon: 'lachain',
|
|
3549
|
+
icon: 'lachain-io',
|
|
3522
3550
|
rpc: ['https://rpc-mainnet.lachain.io'],
|
|
3523
3551
|
faucets: [],
|
|
3524
3552
|
nativeCurrency: { name: 'LA', symbol: 'LA', decimals: 18 },
|
|
@@ -3537,7 +3565,7 @@ exports.chains = {
|
|
|
3537
3565
|
226: {
|
|
3538
3566
|
name: 'LACHAIN Testnet',
|
|
3539
3567
|
chain: 'TLA',
|
|
3540
|
-
icon: 'lachain',
|
|
3568
|
+
icon: 'lachain-io',
|
|
3541
3569
|
rpc: ['https://rpc-testnet.lachain.io'],
|
|
3542
3570
|
faucets: [],
|
|
3543
3571
|
nativeCurrency: { name: 'TLA', symbol: 'TLA', decimals: 18 },
|
|
@@ -3825,7 +3853,7 @@ exports.chains = {
|
|
|
3825
3853
|
274: {
|
|
3826
3854
|
name: 'LaChain',
|
|
3827
3855
|
chain: 'LaChain',
|
|
3828
|
-
icon: '
|
|
3856
|
+
icon: 'lachain-network',
|
|
3829
3857
|
rpc: [
|
|
3830
3858
|
'https://rpc1.mainnet.lachain.network',
|
|
3831
3859
|
'https://rpc2.mainnet.lachain.network',
|
|
@@ -4515,6 +4543,30 @@ exports.chains = {
|
|
|
4515
4543
|
chainId: 385,
|
|
4516
4544
|
networkId: 385
|
|
4517
4545
|
},
|
|
4546
|
+
399: {
|
|
4547
|
+
name: 'Nativ3 Mainnet',
|
|
4548
|
+
chainId: 399,
|
|
4549
|
+
shortName: 'N3',
|
|
4550
|
+
chain: 'Nativ3',
|
|
4551
|
+
icon: 'nativ3',
|
|
4552
|
+
networkId: 399,
|
|
4553
|
+
nativeCurrency: { name: 'USNT', symbol: 'USNT', decimals: 18 },
|
|
4554
|
+
rpc: ['https://rpc.nativ3.network', 'wss://ws.nativ3.network'],
|
|
4555
|
+
faucets: [],
|
|
4556
|
+
explorers: [
|
|
4557
|
+
{
|
|
4558
|
+
name: 'N3scan',
|
|
4559
|
+
url: 'https://scan.nativ3.network',
|
|
4560
|
+
standard: 'EIP3091'
|
|
4561
|
+
}
|
|
4562
|
+
],
|
|
4563
|
+
infoURL: 'https://nativ3.network',
|
|
4564
|
+
parent: {
|
|
4565
|
+
type: 'L2',
|
|
4566
|
+
chain: 'eip155-42161',
|
|
4567
|
+
bridges: [{ url: 'https://bridge.nativ3.network' }]
|
|
4568
|
+
}
|
|
4569
|
+
},
|
|
4518
4570
|
400: {
|
|
4519
4571
|
name: 'HyperonChain TestNet',
|
|
4520
4572
|
chain: 'HPN',
|
|
@@ -4596,7 +4648,7 @@ exports.chains = {
|
|
|
4596
4648
|
418: {
|
|
4597
4649
|
name: 'LaTestnet',
|
|
4598
4650
|
chain: 'LaTestnet',
|
|
4599
|
-
icon: '
|
|
4651
|
+
icon: 'lachain-network',
|
|
4600
4652
|
rpc: [
|
|
4601
4653
|
'https://rpc.testnet.lachain.network',
|
|
4602
4654
|
'https://lachain-testnet.rpc-nodes.cedalio.dev'
|
|
@@ -9730,11 +9782,9 @@ exports.chains = {
|
|
|
9730
9782
|
chain: 'KAVA',
|
|
9731
9783
|
rpc: [
|
|
9732
9784
|
'https://evm.kava.io',
|
|
9733
|
-
'https://evm2.kava.io',
|
|
9734
9785
|
'https://kava-rpc.gateway.pokt.network',
|
|
9735
9786
|
'https://kava-evm.rpc.thirdweb.com',
|
|
9736
9787
|
'wss://wevm.kava.io',
|
|
9737
|
-
'wss://wevm2.kava.io',
|
|
9738
9788
|
'https://kava-evm.publicnode.com',
|
|
9739
9789
|
'wss://kava-evm.publicnode.com'
|
|
9740
9790
|
],
|
|
@@ -11286,10 +11336,13 @@ exports.chains = {
|
|
|
11286
11336
|
4337: {
|
|
11287
11337
|
name: 'Beam',
|
|
11288
11338
|
chain: 'BEAM',
|
|
11289
|
-
rpc: [
|
|
11339
|
+
rpc: [
|
|
11340
|
+
'https://subnets.avax.network/beam/mainnet/rpc',
|
|
11341
|
+
'wss://subnets.avax.network/beam/mainnet/ws'
|
|
11342
|
+
],
|
|
11290
11343
|
features: [{ name: 'EIP1559' }],
|
|
11291
|
-
faucets: [],
|
|
11292
|
-
nativeCurrency: { name: '
|
|
11344
|
+
faucets: ['https://faucet.onbeam.com'],
|
|
11345
|
+
nativeCurrency: { name: 'Beam', symbol: 'BEAM', decimals: 18 },
|
|
11293
11346
|
infoURL: 'https://www.onbeam.com',
|
|
11294
11347
|
shortName: 'beam',
|
|
11295
11348
|
icon: 'beam',
|
|
@@ -11560,6 +11613,24 @@ exports.chains = {
|
|
|
11560
11613
|
}
|
|
11561
11614
|
]
|
|
11562
11615
|
},
|
|
11616
|
+
5003: {
|
|
11617
|
+
name: 'Mantle Sepolia Testnet',
|
|
11618
|
+
chain: 'ETH',
|
|
11619
|
+
rpc: ['https://rpc.sepolia.mantle.xyz'],
|
|
11620
|
+
faucets: ['https://faucet.sepolia.mantle.xyz'],
|
|
11621
|
+
nativeCurrency: { name: 'Sepolia Mantle', symbol: 'MNT', decimals: 18 },
|
|
11622
|
+
infoURL: 'https://mantle.xyz',
|
|
11623
|
+
shortName: 'mnt-sep',
|
|
11624
|
+
chainId: 5003,
|
|
11625
|
+
networkId: 5003,
|
|
11626
|
+
explorers: [
|
|
11627
|
+
{
|
|
11628
|
+
name: 'blockscout',
|
|
11629
|
+
url: 'https://explorer.sepolia.mantle.xyz',
|
|
11630
|
+
standard: 'EIP3091'
|
|
11631
|
+
}
|
|
11632
|
+
]
|
|
11633
|
+
},
|
|
11563
11634
|
5005: {
|
|
11564
11635
|
name: 'Treasurenet Testnet',
|
|
11565
11636
|
chain: 'Treasurenet Testnet',
|
|
@@ -14661,10 +14732,16 @@ exports.chains = {
|
|
|
14661
14732
|
13337: {
|
|
14662
14733
|
name: 'Beam Testnet',
|
|
14663
14734
|
chain: 'BEAM',
|
|
14664
|
-
rpc: [
|
|
14735
|
+
rpc: [
|
|
14736
|
+
'https://subnets.avax.network/beam/testnet/rpc',
|
|
14737
|
+
'wss://subnets.avax.network/beam/testnet/ws'
|
|
14738
|
+
],
|
|
14665
14739
|
features: [{ name: 'EIP1559' }],
|
|
14666
|
-
faucets: [
|
|
14667
|
-
|
|
14740
|
+
faucets: [
|
|
14741
|
+
'https://faucet.avax.network/?subnet=beam',
|
|
14742
|
+
'https://faucet.onbeam.com'
|
|
14743
|
+
],
|
|
14744
|
+
nativeCurrency: { name: 'Beam', symbol: 'BEAM', decimals: 18 },
|
|
14668
14745
|
infoURL: 'https://www.onbeam.com',
|
|
14669
14746
|
shortName: 'beam-testnet',
|
|
14670
14747
|
icon: 'beam',
|
|
@@ -15558,6 +15635,26 @@ exports.chains = {
|
|
|
15558
15635
|
}
|
|
15559
15636
|
]
|
|
15560
15637
|
},
|
|
15638
|
+
29548: {
|
|
15639
|
+
name: 'MCH Verse Mainnet',
|
|
15640
|
+
chain: 'MCH Verse',
|
|
15641
|
+
icon: 'mch_verse',
|
|
15642
|
+
rpc: ['https://rpc.oasys.mycryptoheroes.net'],
|
|
15643
|
+
faucets: [],
|
|
15644
|
+
nativeCurrency: { name: 'OAS', symbol: 'OAS', decimals: 18 },
|
|
15645
|
+
infoURL: 'https://www.mycryptoheroes.net/verse',
|
|
15646
|
+
shortName: 'MCHV',
|
|
15647
|
+
chainId: 29548,
|
|
15648
|
+
networkId: 29548,
|
|
15649
|
+
explorers: [
|
|
15650
|
+
{
|
|
15651
|
+
name: 'MCH Verse Explorer',
|
|
15652
|
+
url: 'https://explorer.oasys.mycryptoheroes.net',
|
|
15653
|
+
standard: 'EIP3091'
|
|
15654
|
+
}
|
|
15655
|
+
],
|
|
15656
|
+
parent: { type: 'L2', chain: 'eip155-248' }
|
|
15657
|
+
},
|
|
15561
15658
|
30067: {
|
|
15562
15659
|
name: 'Piece testnet',
|
|
15563
15660
|
chain: 'PieceNetwork',
|
|
@@ -16508,6 +16605,27 @@ exports.chains = {
|
|
|
16508
16605
|
}
|
|
16509
16606
|
]
|
|
16510
16607
|
},
|
|
16608
|
+
52014: {
|
|
16609
|
+
name: 'Electroneum Mainnet',
|
|
16610
|
+
chain: 'Electroneum',
|
|
16611
|
+
rpc: ['https://api.electroneum.com'],
|
|
16612
|
+
faucets: [],
|
|
16613
|
+
nativeCurrency: { name: 'Electroneum', symbol: 'ETN', decimals: 18 },
|
|
16614
|
+
features: [{ name: 'EIP155' }, { name: 'EIP1559' }],
|
|
16615
|
+
infoURL: 'https://electroneum.com',
|
|
16616
|
+
shortName: 'etn-mainnet',
|
|
16617
|
+
chainId: 52014,
|
|
16618
|
+
networkId: 52014,
|
|
16619
|
+
icon: 'electroneum',
|
|
16620
|
+
explorers: [
|
|
16621
|
+
{
|
|
16622
|
+
name: 'blockscout',
|
|
16623
|
+
url: 'https://blockexplorer.electroneum.com',
|
|
16624
|
+
icon: 'electroneum',
|
|
16625
|
+
standard: 'EIP3091'
|
|
16626
|
+
}
|
|
16627
|
+
]
|
|
16628
|
+
},
|
|
16511
16629
|
53935: {
|
|
16512
16630
|
name: 'DFK Chain',
|
|
16513
16631
|
chain: 'DFK',
|
|
@@ -19188,6 +19306,30 @@ exports.chains = {
|
|
|
19188
19306
|
}
|
|
19189
19307
|
]
|
|
19190
19308
|
},
|
|
19309
|
+
333333: {
|
|
19310
|
+
name: 'Nativ3 Testnet',
|
|
19311
|
+
chainId: 333333,
|
|
19312
|
+
shortName: 'N3-Test',
|
|
19313
|
+
chain: 'N3-Test',
|
|
19314
|
+
icon: 'nativ3',
|
|
19315
|
+
networkId: 333333,
|
|
19316
|
+
nativeCurrency: { name: 'USNT', symbol: 'USNT', decimals: 18 },
|
|
19317
|
+
rpc: ['https://rpctest.nativ3.network', 'wss://wstest.nativ3.network'],
|
|
19318
|
+
faucets: [],
|
|
19319
|
+
explorers: [
|
|
19320
|
+
{
|
|
19321
|
+
name: 'Nativ3 Test Explorer',
|
|
19322
|
+
url: 'https://scantest.nativ3.network',
|
|
19323
|
+
standard: 'EIP3091'
|
|
19324
|
+
}
|
|
19325
|
+
],
|
|
19326
|
+
infoURL: 'https://nativ3.network',
|
|
19327
|
+
parent: {
|
|
19328
|
+
type: 'L2',
|
|
19329
|
+
chain: 'eip155-421613',
|
|
19330
|
+
bridges: [{ url: 'https://bridgetest.nativ3.network' }]
|
|
19331
|
+
}
|
|
19332
|
+
},
|
|
19191
19333
|
333666: {
|
|
19192
19334
|
name: 'Oone Chain Testnet',
|
|
19193
19335
|
chain: 'OONE Testnet',
|
|
@@ -20517,6 +20659,27 @@ exports.chains = {
|
|
|
20517
20659
|
}
|
|
20518
20660
|
]
|
|
20519
20661
|
},
|
|
20662
|
+
5201420: {
|
|
20663
|
+
name: 'Electroneum Testnet',
|
|
20664
|
+
chain: 'Electroneum',
|
|
20665
|
+
rpc: ['https://api.electroneum.com'],
|
|
20666
|
+
faucets: [],
|
|
20667
|
+
nativeCurrency: { name: 'Electroneum', symbol: 'ETN', decimals: 18 },
|
|
20668
|
+
features: [{ name: 'EIP155' }, { name: 'EIP1559' }],
|
|
20669
|
+
infoURL: 'https://electroneum.com',
|
|
20670
|
+
shortName: 'etn-testnet',
|
|
20671
|
+
chainId: 5201420,
|
|
20672
|
+
networkId: 5201420,
|
|
20673
|
+
icon: 'electroneum',
|
|
20674
|
+
explorers: [
|
|
20675
|
+
{
|
|
20676
|
+
name: 'blockscout',
|
|
20677
|
+
url: 'https://blockexplorer.thesecurityteam.rocks',
|
|
20678
|
+
icon: 'electroneum',
|
|
20679
|
+
standard: 'EIP3091'
|
|
20680
|
+
}
|
|
20681
|
+
]
|
|
20682
|
+
},
|
|
20520
20683
|
5555555: {
|
|
20521
20684
|
name: 'Imversed Mainnet',
|
|
20522
20685
|
chain: 'Imversed',
|
|
@@ -21131,6 +21294,25 @@ exports.chains = {
|
|
|
21131
21294
|
}
|
|
21132
21295
|
]
|
|
21133
21296
|
},
|
|
21297
|
+
68840142: {
|
|
21298
|
+
name: 'Frame Testnet',
|
|
21299
|
+
chain: 'ETH',
|
|
21300
|
+
rpc: ['https://rpc.testnet.frame.xyz/http'],
|
|
21301
|
+
faucets: ['https://faucet.triangleplatform.com/frame/testnet'],
|
|
21302
|
+
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
|
|
21303
|
+
icon: 'frameTestnet',
|
|
21304
|
+
infoURL: 'https://www.frame.xyz/',
|
|
21305
|
+
shortName: 'frametest',
|
|
21306
|
+
chainId: 68840142,
|
|
21307
|
+
networkId: 68840142,
|
|
21308
|
+
explorers: [
|
|
21309
|
+
{
|
|
21310
|
+
name: 'Frame Testnet Explorer',
|
|
21311
|
+
url: 'https://explorer.testnet.frame.xyz',
|
|
21312
|
+
standard: 'EIP3091'
|
|
21313
|
+
}
|
|
21314
|
+
]
|
|
21315
|
+
},
|
|
21134
21316
|
88888888: {
|
|
21135
21317
|
name: 'T.E.A.M Blockchain',
|
|
21136
21318
|
chain: 'TEAM',
|
|
@@ -21684,6 +21866,7 @@ exports.chains = {
|
|
|
21684
21866
|
shortName: 'hmy-s2',
|
|
21685
21867
|
chainId: 1666600002,
|
|
21686
21868
|
networkId: 1666600002,
|
|
21869
|
+
status: 'deprecated',
|
|
21687
21870
|
explorers: [
|
|
21688
21871
|
{
|
|
21689
21872
|
name: 'Harmony Block Explorer',
|
|
@@ -21703,6 +21886,7 @@ exports.chains = {
|
|
|
21703
21886
|
shortName: 'hmy-s3',
|
|
21704
21887
|
chainId: 1666600003,
|
|
21705
21888
|
networkId: 1666600003,
|
|
21889
|
+
status: 'deprecated',
|
|
21706
21890
|
explorers: [
|
|
21707
21891
|
{
|
|
21708
21892
|
name: 'Harmony Block Explorer',
|
package/dist/src/enums.d.ts
CHANGED
|
@@ -159,14 +159,15 @@ export declare enum ChainName {
|
|
|
159
159
|
BMCMainnet = "BMC Mainnet",
|
|
160
160
|
BMCTestnet = "BMC Testnet",
|
|
161
161
|
CryptoEmergency = "Crypto Emergency",
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
XgonTestnet = "Xgon Testnet",
|
|
163
|
+
XgonMainnet = "Xgon Mainnet",
|
|
164
164
|
NeutrinosTestNet = "Neutrinos TestNet",
|
|
165
165
|
BitchainMainnet = "Bitchain Mainnet",
|
|
166
166
|
BitTorrentChainMainnet = "BitTorrent Chain Mainnet",
|
|
167
167
|
ArbitrumonxDai = "Arbitrum on xDai",
|
|
168
168
|
MOACtestnet = "MOAC testnet",
|
|
169
169
|
OpBNBMainnet = "opBNB Mainnet",
|
|
170
|
+
VinuChainTestnet = "VinuChain Testnet",
|
|
170
171
|
VinuChainNetwork = "VinuChain Network",
|
|
171
172
|
StructxMainnet = "Structx Mainnet",
|
|
172
173
|
Bitnet = "Bitnet",
|
|
@@ -221,6 +222,7 @@ export declare enum ChainName {
|
|
|
221
222
|
PulseChain = "PulseChain",
|
|
222
223
|
ConstaTestnet = "Consta Testnet",
|
|
223
224
|
Lisinski = "Lisinski",
|
|
225
|
+
Nativ3Mainnet = "Nativ3 Mainnet",
|
|
224
226
|
HyperonChainTestNet = "HyperonChain TestNet",
|
|
225
227
|
OzoneChainTestnet = "Ozone Chain Testnet",
|
|
226
228
|
PepeChainMainnet = "Pepe Chain Mainnet",
|
|
@@ -580,6 +582,7 @@ export declare enum ChainName {
|
|
|
580
582
|
Mantle = "Mantle",
|
|
581
583
|
MantleTestnet = "Mantle Testnet",
|
|
582
584
|
TreasurenetMainnetAlpha = "Treasurenet Mainnet Alpha",
|
|
585
|
+
MantleSepoliaTestnet = "Mantle Sepolia Testnet",
|
|
583
586
|
TreasurenetTestnet = "Treasurenet Testnet",
|
|
584
587
|
Bahamut = "Bahamut",
|
|
585
588
|
TLChainNetworkMainnet = "TLChain Network Mainnet",
|
|
@@ -780,6 +783,7 @@ export declare enum ChainName {
|
|
|
780
783
|
HertzNetworkMainnet = "Hertz Network Mainnet",
|
|
781
784
|
OasisChainMainnet = "OasisChain Mainnet",
|
|
782
785
|
'OptimismBedrock(GoerliAlphaTestnet)' = "Optimism Bedrock (Goerli Alpha Testnet)",
|
|
786
|
+
MCHVerseMainnet = "MCH Verse Mainnet",
|
|
783
787
|
Piecetestnet = "Piece testnet",
|
|
784
788
|
CeriumTestnet = "Cerium Testnet",
|
|
785
789
|
EthersocialNetwork = "Ethersocial Network",
|
|
@@ -827,6 +831,7 @@ export declare enum ChainName {
|
|
|
827
831
|
GTONTestnet = "GTON Testnet",
|
|
828
832
|
LumozTestnetAlpha = "Lumoz Testnet Alpha",
|
|
829
833
|
SardisMainnet = "Sardis Mainnet",
|
|
834
|
+
ElectroneumMainnet = "Electroneum Mainnet",
|
|
830
835
|
DFKChain = "DFK Chain",
|
|
831
836
|
HaqqChainTestnet = "Haqq Chain Testnet",
|
|
832
837
|
ToronetTestnet = "Toronet Testnet",
|
|
@@ -962,6 +967,7 @@ export declare enum ChainName {
|
|
|
962
967
|
'Filecoin-Calibrationtestnet' = "Filecoin - Calibration testnet",
|
|
963
968
|
TTcoinSmartChainMainnet = "TTcoin Smart Chain Mainnet",
|
|
964
969
|
AvesTestnet = "Aves Testnet",
|
|
970
|
+
Nativ3Testnet = "Nativ3 Testnet",
|
|
965
971
|
OoneChainTestnet = "Oone Chain Testnet",
|
|
966
972
|
OoneChainDevnet = "Oone Chain Devnet",
|
|
967
973
|
PolisTestnet = "Polis Testnet",
|
|
@@ -1027,6 +1033,7 @@ export declare enum ChainName {
|
|
|
1027
1033
|
AltLayerZeroGasNetwork = "AltLayer Zero Gas Network",
|
|
1028
1034
|
WorldsCaldera = "Worlds Caldera",
|
|
1029
1035
|
MXCWannseezkEVMTestnet = "MXC Wannsee zkEVM Testnet",
|
|
1036
|
+
ElectroneumTestnet = "Electroneum Testnet",
|
|
1030
1037
|
ImversedMainnet = "Imversed Mainnet",
|
|
1031
1038
|
ImversedTestnet = "Imversed Testnet",
|
|
1032
1039
|
SaakuruMainnet = "Saakuru Mainnet",
|
|
@@ -1059,6 +1066,7 @@ export declare enum ChainName {
|
|
|
1059
1066
|
Aquachain = "Aquachain",
|
|
1060
1067
|
'AutonityBakerloo(Thames)Testnet' = "Autonity Bakerloo (Thames) Testnet",
|
|
1061
1068
|
'AutonityPiccadilly(Thames)Testnet' = "Autonity Piccadilly (Thames) Testnet",
|
|
1069
|
+
FrameTestnet = "Frame Testnet",
|
|
1062
1070
|
'T.E.A.MBlockchain' = "T.E.A.M Blockchain",
|
|
1063
1071
|
JoysDigitalTestNet = "Joys Digital TestNet",
|
|
1064
1072
|
GatherMainnetNetwork = "Gather Mainnet Network",
|
|
@@ -1268,14 +1276,15 @@ export declare enum ChainId {
|
|
|
1268
1276
|
BMCMainnet = 188,
|
|
1269
1277
|
BMCTestnet = 189,
|
|
1270
1278
|
CryptoEmergency = 193,
|
|
1271
|
-
|
|
1272
|
-
|
|
1279
|
+
XgonTestnet = 195,
|
|
1280
|
+
XgonMainnet = 196,
|
|
1273
1281
|
NeutrinosTestNet = 197,
|
|
1274
1282
|
BitchainMainnet = 198,
|
|
1275
1283
|
BitTorrentChainMainnet = 199,
|
|
1276
1284
|
ArbitrumonxDai = 200,
|
|
1277
1285
|
MOACtestnet = 201,
|
|
1278
1286
|
OpBNBMainnet = 204,
|
|
1287
|
+
VinuChainTestnet = 206,
|
|
1279
1288
|
VinuChainNetwork = 207,
|
|
1280
1289
|
StructxMainnet = 208,
|
|
1281
1290
|
Bitnet = 210,
|
|
@@ -1330,6 +1339,7 @@ export declare enum ChainId {
|
|
|
1330
1339
|
PulseChain = 369,
|
|
1331
1340
|
ConstaTestnet = 371,
|
|
1332
1341
|
Lisinski = 385,
|
|
1342
|
+
Nativ3Mainnet = 399,
|
|
1333
1343
|
HyperonChainTestNet = 400,
|
|
1334
1344
|
OzoneChainTestnet = 401,
|
|
1335
1345
|
PepeChainMainnet = 411,
|
|
@@ -1689,6 +1699,7 @@ export declare enum ChainId {
|
|
|
1689
1699
|
Mantle = 5000,
|
|
1690
1700
|
MantleTestnet = 5001,
|
|
1691
1701
|
TreasurenetMainnetAlpha = 5002,
|
|
1702
|
+
MantleSepoliaTestnet = 5003,
|
|
1692
1703
|
TreasurenetTestnet = 5005,
|
|
1693
1704
|
Bahamut = 5165,
|
|
1694
1705
|
TLChainNetworkMainnet = 5177,
|
|
@@ -1889,6 +1900,7 @@ export declare enum ChainId {
|
|
|
1889
1900
|
HertzNetworkMainnet = 26600,
|
|
1890
1901
|
OasisChainMainnet = 26863,
|
|
1891
1902
|
'OptimismBedrock(GoerliAlphaTestnet)' = 28528,
|
|
1903
|
+
MCHVerseMainnet = 29548,
|
|
1892
1904
|
Piecetestnet = 30067,
|
|
1893
1905
|
CeriumTestnet = 30103,
|
|
1894
1906
|
EthersocialNetwork = 31102,
|
|
@@ -1936,6 +1948,7 @@ export declare enum ChainId {
|
|
|
1936
1948
|
GTONTestnet = 50021,
|
|
1937
1949
|
LumozTestnetAlpha = 51178,
|
|
1938
1950
|
SardisMainnet = 51712,
|
|
1951
|
+
ElectroneumMainnet = 52014,
|
|
1939
1952
|
DFKChain = 53935,
|
|
1940
1953
|
HaqqChainTestnet = 54211,
|
|
1941
1954
|
ToronetTestnet = 54321,
|
|
@@ -2071,6 +2084,7 @@ export declare enum ChainId {
|
|
|
2071
2084
|
'Filecoin-Calibrationtestnet' = 314159,
|
|
2072
2085
|
TTcoinSmartChainMainnet = 330844,
|
|
2073
2086
|
AvesTestnet = 333331,
|
|
2087
|
+
Nativ3Testnet = 333333,
|
|
2074
2088
|
OoneChainTestnet = 333666,
|
|
2075
2089
|
OoneChainDevnet = 333777,
|
|
2076
2090
|
PolisTestnet = 333888,
|
|
@@ -2136,6 +2150,7 @@ export declare enum ChainId {
|
|
|
2136
2150
|
AltLayerZeroGasNetwork = 4000003,
|
|
2137
2151
|
WorldsCaldera = 4281033,
|
|
2138
2152
|
MXCWannseezkEVMTestnet = 5167003,
|
|
2153
|
+
ElectroneumTestnet = 5201420,
|
|
2139
2154
|
ImversedMainnet = 5555555,
|
|
2140
2155
|
ImversedTestnet = 5555558,
|
|
2141
2156
|
SaakuruMainnet = 7225878,
|
|
@@ -2168,6 +2183,7 @@ export declare enum ChainId {
|
|
|
2168
2183
|
Aquachain = 61717561,
|
|
2169
2184
|
'AutonityBakerloo(Thames)Testnet' = 65010000,
|
|
2170
2185
|
'AutonityPiccadilly(Thames)Testnet' = 65100000,
|
|
2186
|
+
FrameTestnet = 68840142,
|
|
2171
2187
|
'T.E.A.MBlockchain' = 88888888,
|
|
2172
2188
|
JoysDigitalTestNet = 99415706,
|
|
2173
2189
|
GatherMainnetNetwork = 192837465,
|
package/dist/src/enums.js
CHANGED
|
@@ -163,14 +163,15 @@ var ChainName;
|
|
|
163
163
|
ChainName["BMCMainnet"] = "BMC Mainnet";
|
|
164
164
|
ChainName["BMCTestnet"] = "BMC Testnet";
|
|
165
165
|
ChainName["CryptoEmergency"] = "Crypto Emergency";
|
|
166
|
-
ChainName["
|
|
167
|
-
ChainName["
|
|
166
|
+
ChainName["XgonTestnet"] = "Xgon Testnet";
|
|
167
|
+
ChainName["XgonMainnet"] = "Xgon Mainnet";
|
|
168
168
|
ChainName["NeutrinosTestNet"] = "Neutrinos TestNet";
|
|
169
169
|
ChainName["BitchainMainnet"] = "Bitchain Mainnet";
|
|
170
170
|
ChainName["BitTorrentChainMainnet"] = "BitTorrent Chain Mainnet";
|
|
171
171
|
ChainName["ArbitrumonxDai"] = "Arbitrum on xDai";
|
|
172
172
|
ChainName["MOACtestnet"] = "MOAC testnet";
|
|
173
173
|
ChainName["OpBNBMainnet"] = "opBNB Mainnet";
|
|
174
|
+
ChainName["VinuChainTestnet"] = "VinuChain Testnet";
|
|
174
175
|
ChainName["VinuChainNetwork"] = "VinuChain Network";
|
|
175
176
|
ChainName["StructxMainnet"] = "Structx Mainnet";
|
|
176
177
|
ChainName["Bitnet"] = "Bitnet";
|
|
@@ -225,6 +226,7 @@ var ChainName;
|
|
|
225
226
|
ChainName["PulseChain"] = "PulseChain";
|
|
226
227
|
ChainName["ConstaTestnet"] = "Consta Testnet";
|
|
227
228
|
ChainName["Lisinski"] = "Lisinski";
|
|
229
|
+
ChainName["Nativ3Mainnet"] = "Nativ3 Mainnet";
|
|
228
230
|
ChainName["HyperonChainTestNet"] = "HyperonChain TestNet";
|
|
229
231
|
ChainName["OzoneChainTestnet"] = "Ozone Chain Testnet";
|
|
230
232
|
ChainName["PepeChainMainnet"] = "Pepe Chain Mainnet";
|
|
@@ -584,6 +586,7 @@ var ChainName;
|
|
|
584
586
|
ChainName["Mantle"] = "Mantle";
|
|
585
587
|
ChainName["MantleTestnet"] = "Mantle Testnet";
|
|
586
588
|
ChainName["TreasurenetMainnetAlpha"] = "Treasurenet Mainnet Alpha";
|
|
589
|
+
ChainName["MantleSepoliaTestnet"] = "Mantle Sepolia Testnet";
|
|
587
590
|
ChainName["TreasurenetTestnet"] = "Treasurenet Testnet";
|
|
588
591
|
ChainName["Bahamut"] = "Bahamut";
|
|
589
592
|
ChainName["TLChainNetworkMainnet"] = "TLChain Network Mainnet";
|
|
@@ -784,6 +787,7 @@ var ChainName;
|
|
|
784
787
|
ChainName["HertzNetworkMainnet"] = "Hertz Network Mainnet";
|
|
785
788
|
ChainName["OasisChainMainnet"] = "OasisChain Mainnet";
|
|
786
789
|
ChainName["OptimismBedrock(GoerliAlphaTestnet)"] = "Optimism Bedrock (Goerli Alpha Testnet)";
|
|
790
|
+
ChainName["MCHVerseMainnet"] = "MCH Verse Mainnet";
|
|
787
791
|
ChainName["Piecetestnet"] = "Piece testnet";
|
|
788
792
|
ChainName["CeriumTestnet"] = "Cerium Testnet";
|
|
789
793
|
ChainName["EthersocialNetwork"] = "Ethersocial Network";
|
|
@@ -831,6 +835,7 @@ var ChainName;
|
|
|
831
835
|
ChainName["GTONTestnet"] = "GTON Testnet";
|
|
832
836
|
ChainName["LumozTestnetAlpha"] = "Lumoz Testnet Alpha";
|
|
833
837
|
ChainName["SardisMainnet"] = "Sardis Mainnet";
|
|
838
|
+
ChainName["ElectroneumMainnet"] = "Electroneum Mainnet";
|
|
834
839
|
ChainName["DFKChain"] = "DFK Chain";
|
|
835
840
|
ChainName["HaqqChainTestnet"] = "Haqq Chain Testnet";
|
|
836
841
|
ChainName["ToronetTestnet"] = "Toronet Testnet";
|
|
@@ -966,6 +971,7 @@ var ChainName;
|
|
|
966
971
|
ChainName["Filecoin-Calibrationtestnet"] = "Filecoin - Calibration testnet";
|
|
967
972
|
ChainName["TTcoinSmartChainMainnet"] = "TTcoin Smart Chain Mainnet";
|
|
968
973
|
ChainName["AvesTestnet"] = "Aves Testnet";
|
|
974
|
+
ChainName["Nativ3Testnet"] = "Nativ3 Testnet";
|
|
969
975
|
ChainName["OoneChainTestnet"] = "Oone Chain Testnet";
|
|
970
976
|
ChainName["OoneChainDevnet"] = "Oone Chain Devnet";
|
|
971
977
|
ChainName["PolisTestnet"] = "Polis Testnet";
|
|
@@ -1031,6 +1037,7 @@ var ChainName;
|
|
|
1031
1037
|
ChainName["AltLayerZeroGasNetwork"] = "AltLayer Zero Gas Network";
|
|
1032
1038
|
ChainName["WorldsCaldera"] = "Worlds Caldera";
|
|
1033
1039
|
ChainName["MXCWannseezkEVMTestnet"] = "MXC Wannsee zkEVM Testnet";
|
|
1040
|
+
ChainName["ElectroneumTestnet"] = "Electroneum Testnet";
|
|
1034
1041
|
ChainName["ImversedMainnet"] = "Imversed Mainnet";
|
|
1035
1042
|
ChainName["ImversedTestnet"] = "Imversed Testnet";
|
|
1036
1043
|
ChainName["SaakuruMainnet"] = "Saakuru Mainnet";
|
|
@@ -1063,6 +1070,7 @@ var ChainName;
|
|
|
1063
1070
|
ChainName["Aquachain"] = "Aquachain";
|
|
1064
1071
|
ChainName["AutonityBakerloo(Thames)Testnet"] = "Autonity Bakerloo (Thames) Testnet";
|
|
1065
1072
|
ChainName["AutonityPiccadilly(Thames)Testnet"] = "Autonity Piccadilly (Thames) Testnet";
|
|
1073
|
+
ChainName["FrameTestnet"] = "Frame Testnet";
|
|
1066
1074
|
ChainName["T.E.A.MBlockchain"] = "T.E.A.M Blockchain";
|
|
1067
1075
|
ChainName["JoysDigitalTestNet"] = "Joys Digital TestNet";
|
|
1068
1076
|
ChainName["GatherMainnetNetwork"] = "Gather Mainnet Network";
|
|
@@ -1273,14 +1281,15 @@ var ChainId;
|
|
|
1273
1281
|
ChainId[ChainId["BMCMainnet"] = 188] = "BMCMainnet";
|
|
1274
1282
|
ChainId[ChainId["BMCTestnet"] = 189] = "BMCTestnet";
|
|
1275
1283
|
ChainId[ChainId["CryptoEmergency"] = 193] = "CryptoEmergency";
|
|
1276
|
-
ChainId[ChainId["
|
|
1277
|
-
ChainId[ChainId["
|
|
1284
|
+
ChainId[ChainId["XgonTestnet"] = 195] = "XgonTestnet";
|
|
1285
|
+
ChainId[ChainId["XgonMainnet"] = 196] = "XgonMainnet";
|
|
1278
1286
|
ChainId[ChainId["NeutrinosTestNet"] = 197] = "NeutrinosTestNet";
|
|
1279
1287
|
ChainId[ChainId["BitchainMainnet"] = 198] = "BitchainMainnet";
|
|
1280
1288
|
ChainId[ChainId["BitTorrentChainMainnet"] = 199] = "BitTorrentChainMainnet";
|
|
1281
1289
|
ChainId[ChainId["ArbitrumonxDai"] = 200] = "ArbitrumonxDai";
|
|
1282
1290
|
ChainId[ChainId["MOACtestnet"] = 201] = "MOACtestnet";
|
|
1283
1291
|
ChainId[ChainId["OpBNBMainnet"] = 204] = "OpBNBMainnet";
|
|
1292
|
+
ChainId[ChainId["VinuChainTestnet"] = 206] = "VinuChainTestnet";
|
|
1284
1293
|
ChainId[ChainId["VinuChainNetwork"] = 207] = "VinuChainNetwork";
|
|
1285
1294
|
ChainId[ChainId["StructxMainnet"] = 208] = "StructxMainnet";
|
|
1286
1295
|
ChainId[ChainId["Bitnet"] = 210] = "Bitnet";
|
|
@@ -1335,6 +1344,7 @@ var ChainId;
|
|
|
1335
1344
|
ChainId[ChainId["PulseChain"] = 369] = "PulseChain";
|
|
1336
1345
|
ChainId[ChainId["ConstaTestnet"] = 371] = "ConstaTestnet";
|
|
1337
1346
|
ChainId[ChainId["Lisinski"] = 385] = "Lisinski";
|
|
1347
|
+
ChainId[ChainId["Nativ3Mainnet"] = 399] = "Nativ3Mainnet";
|
|
1338
1348
|
ChainId[ChainId["HyperonChainTestNet"] = 400] = "HyperonChainTestNet";
|
|
1339
1349
|
ChainId[ChainId["OzoneChainTestnet"] = 401] = "OzoneChainTestnet";
|
|
1340
1350
|
ChainId[ChainId["PepeChainMainnet"] = 411] = "PepeChainMainnet";
|
|
@@ -1694,6 +1704,7 @@ var ChainId;
|
|
|
1694
1704
|
ChainId[ChainId["Mantle"] = 5000] = "Mantle";
|
|
1695
1705
|
ChainId[ChainId["MantleTestnet"] = 5001] = "MantleTestnet";
|
|
1696
1706
|
ChainId[ChainId["TreasurenetMainnetAlpha"] = 5002] = "TreasurenetMainnetAlpha";
|
|
1707
|
+
ChainId[ChainId["MantleSepoliaTestnet"] = 5003] = "MantleSepoliaTestnet";
|
|
1697
1708
|
ChainId[ChainId["TreasurenetTestnet"] = 5005] = "TreasurenetTestnet";
|
|
1698
1709
|
ChainId[ChainId["Bahamut"] = 5165] = "Bahamut";
|
|
1699
1710
|
ChainId[ChainId["TLChainNetworkMainnet"] = 5177] = "TLChainNetworkMainnet";
|
|
@@ -1894,6 +1905,7 @@ var ChainId;
|
|
|
1894
1905
|
ChainId[ChainId["HertzNetworkMainnet"] = 26600] = "HertzNetworkMainnet";
|
|
1895
1906
|
ChainId[ChainId["OasisChainMainnet"] = 26863] = "OasisChainMainnet";
|
|
1896
1907
|
ChainId[ChainId["OptimismBedrock(GoerliAlphaTestnet)"] = 28528] = "OptimismBedrock(GoerliAlphaTestnet)";
|
|
1908
|
+
ChainId[ChainId["MCHVerseMainnet"] = 29548] = "MCHVerseMainnet";
|
|
1897
1909
|
ChainId[ChainId["Piecetestnet"] = 30067] = "Piecetestnet";
|
|
1898
1910
|
ChainId[ChainId["CeriumTestnet"] = 30103] = "CeriumTestnet";
|
|
1899
1911
|
ChainId[ChainId["EthersocialNetwork"] = 31102] = "EthersocialNetwork";
|
|
@@ -1941,6 +1953,7 @@ var ChainId;
|
|
|
1941
1953
|
ChainId[ChainId["GTONTestnet"] = 50021] = "GTONTestnet";
|
|
1942
1954
|
ChainId[ChainId["LumozTestnetAlpha"] = 51178] = "LumozTestnetAlpha";
|
|
1943
1955
|
ChainId[ChainId["SardisMainnet"] = 51712] = "SardisMainnet";
|
|
1956
|
+
ChainId[ChainId["ElectroneumMainnet"] = 52014] = "ElectroneumMainnet";
|
|
1944
1957
|
ChainId[ChainId["DFKChain"] = 53935] = "DFKChain";
|
|
1945
1958
|
ChainId[ChainId["HaqqChainTestnet"] = 54211] = "HaqqChainTestnet";
|
|
1946
1959
|
ChainId[ChainId["ToronetTestnet"] = 54321] = "ToronetTestnet";
|
|
@@ -2076,6 +2089,7 @@ var ChainId;
|
|
|
2076
2089
|
ChainId[ChainId["Filecoin-Calibrationtestnet"] = 314159] = "Filecoin-Calibrationtestnet";
|
|
2077
2090
|
ChainId[ChainId["TTcoinSmartChainMainnet"] = 330844] = "TTcoinSmartChainMainnet";
|
|
2078
2091
|
ChainId[ChainId["AvesTestnet"] = 333331] = "AvesTestnet";
|
|
2092
|
+
ChainId[ChainId["Nativ3Testnet"] = 333333] = "Nativ3Testnet";
|
|
2079
2093
|
ChainId[ChainId["OoneChainTestnet"] = 333666] = "OoneChainTestnet";
|
|
2080
2094
|
ChainId[ChainId["OoneChainDevnet"] = 333777] = "OoneChainDevnet";
|
|
2081
2095
|
ChainId[ChainId["PolisTestnet"] = 333888] = "PolisTestnet";
|
|
@@ -2141,6 +2155,7 @@ var ChainId;
|
|
|
2141
2155
|
ChainId[ChainId["AltLayerZeroGasNetwork"] = 4000003] = "AltLayerZeroGasNetwork";
|
|
2142
2156
|
ChainId[ChainId["WorldsCaldera"] = 4281033] = "WorldsCaldera";
|
|
2143
2157
|
ChainId[ChainId["MXCWannseezkEVMTestnet"] = 5167003] = "MXCWannseezkEVMTestnet";
|
|
2158
|
+
ChainId[ChainId["ElectroneumTestnet"] = 5201420] = "ElectroneumTestnet";
|
|
2144
2159
|
ChainId[ChainId["ImversedMainnet"] = 5555555] = "ImversedMainnet";
|
|
2145
2160
|
ChainId[ChainId["ImversedTestnet"] = 5555558] = "ImversedTestnet";
|
|
2146
2161
|
ChainId[ChainId["SaakuruMainnet"] = 7225878] = "SaakuruMainnet";
|
|
@@ -2173,6 +2188,7 @@ var ChainId;
|
|
|
2173
2188
|
ChainId[ChainId["Aquachain"] = 61717561] = "Aquachain";
|
|
2174
2189
|
ChainId[ChainId["AutonityBakerloo(Thames)Testnet"] = 65010000] = "AutonityBakerloo(Thames)Testnet";
|
|
2175
2190
|
ChainId[ChainId["AutonityPiccadilly(Thames)Testnet"] = 65100000] = "AutonityPiccadilly(Thames)Testnet";
|
|
2191
|
+
ChainId[ChainId["FrameTestnet"] = 68840142] = "FrameTestnet";
|
|
2176
2192
|
ChainId[ChainId["T.E.A.MBlockchain"] = 88888888] = "T.E.A.MBlockchain";
|
|
2177
2193
|
ChainId[ChainId["JoysDigitalTestNet"] = 99415706] = "JoysDigitalTestNet";
|
|
2178
2194
|
ChainId[ChainId["GatherMainnetNetwork"] = 192837465] = "GatherMainnetNetwork";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
import { Chain, Chains } from './types';
|
|
2
|
-
import { chains } from './chains';
|
|
3
2
|
export { NativeCurrency, Explorer, Parent } from './types';
|
|
4
3
|
export { ChainName, ChainId } from './enums';
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
export { Chain, Chains };
|
|
5
|
+
/**
|
|
6
|
+
* Get a chain by its `id`.
|
|
7
|
+
* @param id - The `id` of the chain
|
|
8
|
+
* @returns The `Chain` object associated with the chain `id`
|
|
9
|
+
*/
|
|
10
|
+
export declare const getChainById: (id: number) => Chain | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Get a chain by its `name`.
|
|
13
|
+
* @param name - The `name` of the chain
|
|
14
|
+
* @returns The `Chain` object associated with the chain `name`
|
|
15
|
+
*/
|
|
16
|
+
export declare const getChainByName: (name: string) => Chain | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Get a chain by its `id` or by its `name`.
|
|
19
|
+
* @param idOrName - The name or id of the chain
|
|
20
|
+
* @returns The `Chain` object associated with the `id` or `name`
|
|
21
|
+
*/
|
|
22
|
+
export declare const getChain: (idOrName: string | number) => Chain | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the entire `chains` object
|
|
25
|
+
* @returns An object containing all chains
|
|
26
|
+
*/
|
|
27
|
+
export declare const allChains: () => Chains;
|
package/dist/src/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.allChains = exports.getChain = exports.getChainByName = exports.getChainById = exports.ChainId = exports.ChainName = void 0;
|
|
4
4
|
var chains_1 = require("./chains");
|
|
5
|
-
Object.defineProperty(exports, "chains", { enumerable: true, get: function () { return chains_1.chains; } });
|
|
6
5
|
var enums_1 = require("./enums");
|
|
7
6
|
Object.defineProperty(exports, "ChainName", { enumerable: true, get: function () { return enums_1.ChainName; } });
|
|
8
7
|
Object.defineProperty(exports, "ChainId", { enumerable: true, get: function () { return enums_1.ChainId; } });
|
|
@@ -11,26 +10,29 @@ Object.defineProperty(exports, "ChainId", { enumerable: true, get: function () {
|
|
|
11
10
|
* @param id - The `id` of the chain
|
|
12
11
|
* @returns The `Chain` object associated with the chain `id`
|
|
13
12
|
*/
|
|
14
|
-
var
|
|
13
|
+
var getChainById = function (id) { return chains_1.chains[id]; };
|
|
14
|
+
exports.getChainById = getChainById;
|
|
15
15
|
/**
|
|
16
16
|
* Get a chain by its `name`.
|
|
17
17
|
* @param name - The `name` of the chain
|
|
18
18
|
* @returns The `Chain` object associated with the chain `name`
|
|
19
19
|
*/
|
|
20
|
-
var
|
|
20
|
+
var getChainByName = function (name) {
|
|
21
21
|
return Object.values(chains_1.chains).find(function (chain) { return chain.name === name; }) || {};
|
|
22
22
|
};
|
|
23
|
+
exports.getChainByName = getChainByName;
|
|
23
24
|
/**
|
|
24
25
|
* Get a chain by its `id` or by its `name`.
|
|
25
26
|
* @param idOrName - The name or id of the chain
|
|
26
27
|
* @returns The `Chain` object associated with the `id` or `name`
|
|
27
28
|
*/
|
|
28
|
-
var
|
|
29
|
-
return typeof idOrName === 'number' ?
|
|
29
|
+
var getChain = function (idOrName) {
|
|
30
|
+
return typeof idOrName === 'number' ? exports.getChainById(idOrName) : exports.getChainByName(idOrName);
|
|
30
31
|
};
|
|
32
|
+
exports.getChain = getChain;
|
|
31
33
|
/**
|
|
32
34
|
* Gets the entire `chains` object
|
|
33
35
|
* @returns An object containing all chains
|
|
34
36
|
*/
|
|
35
|
-
var
|
|
36
|
-
exports.
|
|
37
|
+
var allChains = function () { return chains_1.chains; };
|
|
38
|
+
exports.allChains = allChains;
|