@hyperlane-xyz/sdk 3.10.1-beta1 → 3.20.0-beta0
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/app/MultiProtocolApp.test.js +9 -11
- package/dist/app/MultiProtocolApp.test.js.map +1 -1
- package/dist/consts/igp.d.ts +3 -1
- package/dist/consts/igp.d.ts.map +1 -1
- package/dist/consts/igp.js +3 -1
- package/dist/consts/igp.js.map +1 -1
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +11 -4
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/consts/multisigIsmVerifyCosts.d.ts +210 -0
- package/dist/consts/multisigIsmVerifyCosts.d.ts.map +1 -0
- package/dist/consts/multisigIsmVerifyCosts.js +211 -0
- package/dist/consts/multisigIsmVerifyCosts.js.map +1 -0
- package/dist/consts/testChains.d.ts +17 -0
- package/dist/consts/testChains.d.ts.map +1 -0
- package/dist/consts/testChains.js +105 -0
- package/dist/consts/testChains.js.map +1 -0
- package/dist/core/CoreDeployer.hardhat-test.js +9 -6
- package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
- package/dist/core/HyperlaneCore.d.ts +0 -2
- package/dist/core/HyperlaneCore.d.ts.map +1 -1
- package/dist/core/HyperlaneCore.js +1 -10
- package/dist/core/HyperlaneCore.js.map +1 -1
- package/dist/core/HyperlaneCore.test.js +2 -6
- package/dist/core/HyperlaneCore.test.js.map +1 -1
- package/dist/core/MultiProtocolCore.d.ts +0 -2
- package/dist/core/MultiProtocolCore.d.ts.map +1 -1
- package/dist/core/MultiProtocolCore.js +0 -8
- package/dist/core/MultiProtocolCore.js.map +1 -1
- package/dist/core/MultiProtocolCore.test.js +15 -77
- package/dist/core/MultiProtocolCore.test.js.map +1 -1
- package/dist/core/TestCoreDeployer.js +2 -2
- package/dist/core/TestCoreDeployer.js.map +1 -1
- package/dist/core/adapters/CosmWasmCoreAdapter.test.js +10 -2
- package/dist/core/adapters/CosmWasmCoreAdapter.test.js.map +1 -1
- package/dist/core/read.d.ts +3 -3
- package/dist/core/read.d.ts.map +1 -1
- package/dist/core/read.js +1 -1
- package/dist/core/read.js.map +1 -1
- package/dist/core/testHyperlaneDeploy.hardhat-test.js +3 -3
- package/dist/core/testHyperlaneDeploy.hardhat-test.js.map +1 -1
- package/dist/crud/AbstractCrudModule.d.ts +21 -0
- package/dist/crud/AbstractCrudModule.d.ts.map +1 -0
- package/dist/crud/AbstractCrudModule.js +10 -0
- package/dist/crud/AbstractCrudModule.js.map +1 -0
- package/dist/crud/EvmHookModule.d.ts +18 -0
- package/dist/crud/EvmHookModule.d.ts.map +1 -0
- package/dist/crud/EvmHookModule.js +28 -0
- package/dist/crud/EvmHookModule.js.map +1 -0
- package/dist/crud/EvmIsmModule.d.ts +18 -0
- package/dist/crud/EvmIsmModule.d.ts.map +1 -0
- package/dist/crud/EvmIsmModule.js +28 -0
- package/dist/crud/EvmIsmModule.js.map +1 -0
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js +4 -4
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/gas/HyperlaneIgp.d.ts +0 -2
- package/dist/gas/HyperlaneIgp.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgp.js +0 -9
- package/dist/gas/HyperlaneIgp.js.map +1 -1
- package/dist/gas/HyperlaneIgpChecker.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpChecker.js +2 -5
- package/dist/gas/HyperlaneIgpChecker.js.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.js +12 -7
- package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
- package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js +3 -2
- package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js.map +1 -1
- package/dist/gas/oracle/types.d.ts.map +1 -1
- package/dist/gas/oracle/types.js +4 -3
- package/dist/gas/oracle/types.js.map +1 -1
- package/dist/gas/token-prices.d.ts +2 -2
- package/dist/gas/token-prices.d.ts.map +1 -1
- package/dist/gas/token-prices.js +4 -7
- package/dist/gas/token-prices.js.map +1 -1
- package/dist/gas/token-prices.test.js +6 -6
- package/dist/gas/token-prices.test.js.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.js +1 -2
- package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
- package/dist/hook/read.d.ts +4 -5
- package/dist/hook/read.d.ts.map +1 -1
- package/dist/hook/read.js +2 -2
- package/dist/hook/read.js.map +1 -1
- package/dist/hook/read.test.js +5 -9
- package/dist/hook/read.test.js.map +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts +0 -2
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +10 -8
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +2 -14
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/read.d.ts +4 -4
- package/dist/ism/read.d.ts.map +1 -1
- package/dist/ism/read.js +2 -2
- package/dist/ism/read.js.map +1 -1
- package/dist/ism/read.test.js +3 -4
- package/dist/ism/read.test.js.map +1 -1
- package/dist/ism/utils.d.ts.map +1 -1
- package/dist/ism/utils.js +1 -3
- package/dist/ism/utils.js.map +1 -1
- package/dist/metadata/ChainMetadataManager.d.ts +12 -2
- package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
- package/dist/metadata/ChainMetadataManager.js +26 -12
- package/dist/metadata/ChainMetadataManager.js.map +1 -1
- package/dist/metadata/agentConfig.d.ts +219 -1
- package/dist/metadata/agentConfig.d.ts.map +1 -1
- package/dist/metadata/agentConfig.js +4 -8
- package/dist/metadata/agentConfig.js.map +1 -1
- package/dist/metadata/agentConfig.test.js +9 -9
- package/dist/metadata/agentConfig.test.js.map +1 -1
- package/dist/metadata/blockExplorer.d.ts.map +1 -1
- package/dist/metadata/blockExplorer.js +3 -7
- package/dist/metadata/blockExplorer.js.map +1 -1
- package/dist/metadata/blockExplorer.test.d.ts +2 -0
- package/dist/metadata/blockExplorer.test.d.ts.map +1 -0
- package/dist/metadata/blockExplorer.test.js +41 -0
- package/dist/metadata/blockExplorer.test.js.map +1 -0
- package/dist/metadata/chainMetadata.test.js +0 -10
- package/dist/metadata/chainMetadata.test.js.map +1 -1
- package/dist/metadata/chainMetadataTypes.d.ts +102 -0
- package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
- package/dist/metadata/chainMetadataTypes.js +13 -9
- package/dist/metadata/chainMetadataTypes.js.map +1 -1
- package/dist/middleware/account/InterchainAccount.d.ts +0 -2
- package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccount.js +2 -12
- package/dist/middleware/account/InterchainAccount.js.map +1 -1
- package/dist/middleware/account/accounts.hardhat-test.js +3 -3
- package/dist/middleware/account/accounts.hardhat-test.js.map +1 -1
- package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js +5 -6
- package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js.map +1 -1
- package/dist/middleware/query/InterchainQuery.d.ts +0 -2
- package/dist/middleware/query/InterchainQuery.d.ts.map +1 -1
- package/dist/middleware/query/InterchainQuery.js +0 -9
- package/dist/middleware/query/InterchainQuery.js.map +1 -1
- package/dist/middleware/query/queries.hardhat-test.js +5 -6
- package/dist/middleware/query/queries.hardhat-test.js.map +1 -1
- package/dist/providers/MultiProtocolProvider.d.ts +6 -2
- package/dist/providers/MultiProtocolProvider.d.ts.map +1 -1
- package/dist/providers/MultiProtocolProvider.js +15 -2
- package/dist/providers/MultiProtocolProvider.js.map +1 -1
- package/dist/providers/MultiProtocolProvider.test.js +8 -9
- package/dist/providers/MultiProtocolProvider.test.js.map +1 -1
- package/dist/providers/MultiProvider.d.ts +1 -1
- package/dist/providers/MultiProvider.d.ts.map +1 -1
- package/dist/providers/MultiProvider.js +4 -6
- package/dist/providers/MultiProvider.js.map +1 -1
- package/dist/providers/ProviderType.d.ts +26 -2
- package/dist/providers/ProviderType.d.ts.map +1 -1
- package/dist/providers/ProviderType.js +0 -3
- package/dist/providers/ProviderType.js.map +1 -1
- package/dist/providers/providerBuilders.d.ts.map +1 -1
- package/dist/providers/providerBuilders.js +0 -2
- package/dist/providers/providerBuilders.js.map +1 -1
- package/dist/router/MultiProtocolRouterApps.test.js +4 -4
- package/dist/router/MultiProtocolRouterApps.test.js.map +1 -1
- package/dist/test/MockCoinGecko.d.ts +12 -0
- package/dist/test/MockCoinGecko.d.ts.map +1 -0
- package/dist/test/MockCoinGecko.js +38 -0
- package/dist/test/MockCoinGecko.js.map +1 -0
- package/dist/test/testUtils.d.ts +8 -10
- package/dist/test/testUtils.d.ts.map +1 -1
- package/dist/test/testUtils.js +25 -39
- package/dist/test/testUtils.js.map +1 -1
- package/dist/token/Token.test.js +30 -37
- package/dist/token/Token.test.js.map +1 -1
- package/dist/token/TokenAmount.test.js +4 -5
- package/dist/token/TokenAmount.test.js.map +1 -1
- package/dist/token/TokenStandard.d.ts +2 -3
- package/dist/token/TokenStandard.d.ts.map +1 -1
- package/dist/token/TokenStandard.js +3 -8
- package/dist/token/TokenStandard.js.map +1 -1
- package/dist/token/adapters/CosmWasmTokenAdapter.test.d.ts.map +1 -1
- package/dist/token/adapters/CosmWasmTokenAdapter.test.js +10 -13
- package/dist/token/adapters/CosmWasmTokenAdapter.test.js.map +1 -1
- package/dist/token/deploy.hardhat-test.js +48 -2
- package/dist/token/deploy.hardhat-test.js.map +1 -1
- package/dist/token/read.d.ts +42 -0
- package/dist/token/read.d.ts.map +1 -0
- package/dist/token/read.js +88 -0
- package/dist/token/read.js.map +1 -0
- package/dist/types.d.ts +0 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/MultiGeneric.d.ts.map +1 -1
- package/dist/utils/MultiGeneric.js +1 -2
- package/dist/utils/MultiGeneric.js.map +1 -1
- package/dist/utils/cosmos.d.ts +1180 -0
- package/dist/utils/cosmos.d.ts.map +1 -0
- package/dist/utils/cosmos.js +375 -0
- package/dist/utils/cosmos.js.map +1 -0
- package/dist/utils/ism.js +1 -1
- package/dist/utils/ism.js.map +1 -1
- package/dist/utils/wagmi.d.ts +0 -2
- package/dist/utils/wagmi.d.ts.map +1 -1
- package/dist/utils/wagmi.js +2 -5
- package/dist/utils/wagmi.js.map +1 -1
- package/dist/warp/WarpCore.d.ts.map +1 -1
- package/dist/warp/WarpCore.js +9 -5
- package/dist/warp/WarpCore.js.map +1 -1
- package/dist/warp/WarpCore.test.js +34 -35
- package/dist/warp/WarpCore.test.js.map +1 -1
- package/package.json +4 -5
- package/dist/consts/chainMetadata.d.ts +0 -88
- package/dist/consts/chainMetadata.d.ts.map +0 -1
- package/dist/consts/chainMetadata.js +0 -1021
- package/dist/consts/chainMetadata.js.map +0 -1
- package/dist/consts/chains.d.ts +0 -57
- package/dist/consts/chains.d.ts.map +0 -1
- package/dist/consts/chains.js +0 -99
- package/dist/consts/chains.js.map +0 -1
- package/dist/consts/environments/index.d.ts +0 -509
- package/dist/consts/environments/index.d.ts.map +0 -1
- package/dist/consts/environments/index.js +0 -7
- package/dist/consts/environments/index.js.map +0 -1
- package/dist/consts/environments/mainnet.json +0 -351
- package/dist/consts/environments/testnet.json +0 -132
- package/dist/consts/multisigIsmVerifyCosts.json +0 -209
- package/dist/metadata/health.d.ts +0 -9
- package/dist/metadata/health.d.ts.map +0 -1
- package/dist/metadata/health.js +0 -112
- package/dist/metadata/health.js.map +0 -1
- package/dist/providers/SmartProvider/SmartProvider.test.d.ts +0 -2
- package/dist/providers/SmartProvider/SmartProvider.test.d.ts.map +0 -1
- package/dist/providers/SmartProvider/SmartProvider.test.js +0 -161
- package/dist/providers/SmartProvider/SmartProvider.test.js.map +0 -1
- package/dist/test/metadata-check.d.ts +0 -2
- package/dist/test/metadata-check.d.ts.map +0 -1
- package/dist/test/metadata-check.js +0 -81
- package/dist/test/metadata-check.js.map +0 -1
|
@@ -1,1021 +0,0 @@
|
|
|
1
|
-
import { ProtocolType } from '@hyperlane-xyz/utils';
|
|
2
|
-
import { ChainTechnicalStack, ExplorerFamily, } from '../metadata/chainMetadataTypes.js';
|
|
3
|
-
import { Chains, Mainnets, Testnets } from './chains.js';
|
|
4
|
-
/**
|
|
5
|
-
* Common native currencies
|
|
6
|
-
*/
|
|
7
|
-
export const avaxToken = { decimals: 18, name: 'Avalanche', symbol: 'AVAX' };
|
|
8
|
-
export const bnbToken = { decimals: 18, name: 'BNB', symbol: 'BNB' };
|
|
9
|
-
export const celoToken = { decimals: 18, name: 'CELO', symbol: 'CELO' };
|
|
10
|
-
export const etherToken = { decimals: 18, name: 'Ether', symbol: 'ETH' };
|
|
11
|
-
export const maticToken = { decimals: 18, name: 'MATIC', symbol: 'MATIC' };
|
|
12
|
-
export const xDaiToken = { decimals: 18, name: 'xDai', symbol: 'xDai' };
|
|
13
|
-
export const solToken = { decimals: 9, name: 'Sol', symbol: 'SOL' };
|
|
14
|
-
export const alfajores = {
|
|
15
|
-
blockExplorers: [
|
|
16
|
-
{
|
|
17
|
-
apiUrl: 'https://api-alfajores.celoscan.io/api',
|
|
18
|
-
family: ExplorerFamily.Etherscan,
|
|
19
|
-
name: 'CeloScan',
|
|
20
|
-
url: 'https://alfajores.celoscan.io',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
apiUrl: 'https://explorer.celo.org/alfajores/api',
|
|
24
|
-
family: ExplorerFamily.Blockscout,
|
|
25
|
-
name: 'Blockscout',
|
|
26
|
-
url: 'https://explorer.celo.org/alfajores',
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
blocks: {
|
|
30
|
-
confirmations: 1,
|
|
31
|
-
estimateBlockTime: 5,
|
|
32
|
-
reorgPeriod: 0,
|
|
33
|
-
},
|
|
34
|
-
chainId: 44787,
|
|
35
|
-
displayName: 'Alfajores',
|
|
36
|
-
domainId: 44787,
|
|
37
|
-
isTestnet: true,
|
|
38
|
-
name: Chains.alfajores,
|
|
39
|
-
nativeToken: celoToken,
|
|
40
|
-
protocol: ProtocolType.Ethereum,
|
|
41
|
-
rpcUrls: [{ http: 'https://alfajores-forno.celo-testnet.org' }],
|
|
42
|
-
};
|
|
43
|
-
export const ancient8 = {
|
|
44
|
-
blockExplorers: [
|
|
45
|
-
{
|
|
46
|
-
apiUrl: 'https://scan.ancient8.gg/api',
|
|
47
|
-
family: ExplorerFamily.Blockscout,
|
|
48
|
-
name: 'Ancient8 Explorer',
|
|
49
|
-
url: 'https://scan.ancient8.gg',
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
blocks: {
|
|
53
|
-
confirmations: 1,
|
|
54
|
-
estimateBlockTime: 2,
|
|
55
|
-
reorgPeriod: 0,
|
|
56
|
-
},
|
|
57
|
-
chainId: 888888888,
|
|
58
|
-
displayName: 'Ancient8',
|
|
59
|
-
domainId: 888888888,
|
|
60
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
61
|
-
isTestnet: false,
|
|
62
|
-
name: Chains.ancient8,
|
|
63
|
-
nativeToken: etherToken,
|
|
64
|
-
protocol: ProtocolType.Ethereum,
|
|
65
|
-
rpcUrls: [{ http: 'https://rpc.ancient8.gg' }],
|
|
66
|
-
technicalStack: ChainTechnicalStack.Other,
|
|
67
|
-
};
|
|
68
|
-
export const arbitrum = {
|
|
69
|
-
blockExplorers: [
|
|
70
|
-
{
|
|
71
|
-
apiUrl: 'https://api.arbiscan.io/api',
|
|
72
|
-
family: ExplorerFamily.Etherscan,
|
|
73
|
-
name: 'Arbiscan',
|
|
74
|
-
url: 'https://arbiscan.io',
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
blocks: {
|
|
78
|
-
confirmations: 1,
|
|
79
|
-
estimateBlockTime: 3,
|
|
80
|
-
reorgPeriod: 0,
|
|
81
|
-
},
|
|
82
|
-
chainId: 42161,
|
|
83
|
-
displayName: 'Arbitrum',
|
|
84
|
-
domainId: 42161,
|
|
85
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
86
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-arbitrum.safe.global/',
|
|
87
|
-
index: {
|
|
88
|
-
// Arbitrum Nitro flavored chains record the L1 block number they were deployed at,
|
|
89
|
-
// not the L2 block number. See https://docs.arbitrum.io/build-decentralized-apps/arbitrum-vs-ethereum/block-numbers-and-time#ethereum-block-numbers-within-arbitrum.
|
|
90
|
-
// This is the block that the Mailbox was deployed at:
|
|
91
|
-
// https://arbiscan.io/tx/0x946b241bfa1465d8de7247c155a533d2ee9437a2763a0399f1ca458f13b5efa5
|
|
92
|
-
from: 143649797,
|
|
93
|
-
},
|
|
94
|
-
name: Chains.arbitrum,
|
|
95
|
-
nativeToken: etherToken,
|
|
96
|
-
protocol: ProtocolType.Ethereum,
|
|
97
|
-
rpcUrls: [{ http: 'https://arb1.arbitrum.io/rpc' }],
|
|
98
|
-
technicalStack: ChainTechnicalStack.ArbitrumNitro,
|
|
99
|
-
};
|
|
100
|
-
export const avalanche = {
|
|
101
|
-
blockExplorers: [
|
|
102
|
-
{
|
|
103
|
-
apiUrl: 'https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan/api',
|
|
104
|
-
family: ExplorerFamily.Routescan,
|
|
105
|
-
name: 'SnowTrace',
|
|
106
|
-
url: 'https://snowtrace.io',
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
blocks: {
|
|
110
|
-
confirmations: 3,
|
|
111
|
-
estimateBlockTime: 2,
|
|
112
|
-
reorgPeriod: 3,
|
|
113
|
-
},
|
|
114
|
-
chainId: 43114,
|
|
115
|
-
displayName: 'Avalanche',
|
|
116
|
-
domainId: 43114,
|
|
117
|
-
gasCurrencyCoinGeckoId: 'avalanche-2',
|
|
118
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-avalanche.safe.global/',
|
|
119
|
-
name: Chains.avalanche,
|
|
120
|
-
nativeToken: avaxToken,
|
|
121
|
-
protocol: ProtocolType.Ethereum,
|
|
122
|
-
rpcUrls: [
|
|
123
|
-
{
|
|
124
|
-
http: 'https://api.avax.network/ext/bc/C/rpc',
|
|
125
|
-
pagination: {
|
|
126
|
-
maxBlockRange: 100000,
|
|
127
|
-
minBlockNumber: 6765067,
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
};
|
|
132
|
-
export const base = {
|
|
133
|
-
blockExplorers: [
|
|
134
|
-
{
|
|
135
|
-
apiUrl: 'https://api.basescan.org/api',
|
|
136
|
-
family: ExplorerFamily.Etherscan,
|
|
137
|
-
name: 'BaseScan',
|
|
138
|
-
url: 'https://basescan.org',
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
blocks: {
|
|
142
|
-
confirmations: 1,
|
|
143
|
-
estimateBlockTime: 2,
|
|
144
|
-
reorgPeriod: 1,
|
|
145
|
-
},
|
|
146
|
-
chainId: 8453,
|
|
147
|
-
displayName: 'Base',
|
|
148
|
-
domainId: 8453,
|
|
149
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
150
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-base.safe.global/',
|
|
151
|
-
name: Chains.base,
|
|
152
|
-
nativeToken: etherToken,
|
|
153
|
-
protocol: ProtocolType.Ethereum,
|
|
154
|
-
rpcUrls: [
|
|
155
|
-
{ http: 'https://base.publicnode.com/' },
|
|
156
|
-
{ http: 'https://mainnet.base.org' },
|
|
157
|
-
{ http: 'https://base.blockpi.network/v1/rpc/public' },
|
|
158
|
-
],
|
|
159
|
-
};
|
|
160
|
-
export const blast = {
|
|
161
|
-
blockExplorers: [
|
|
162
|
-
{
|
|
163
|
-
apiUrl: 'https://api.blastscan.io/api',
|
|
164
|
-
family: ExplorerFamily.Etherscan,
|
|
165
|
-
name: 'Blast Explorer',
|
|
166
|
-
url: 'https://blastscan.io',
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
apiUrl: 'https://api.routescan.io/v2/network/mainnet/evm/81457/etherscan/api',
|
|
170
|
-
family: ExplorerFamily.Routescan,
|
|
171
|
-
name: 'Blast Explorer',
|
|
172
|
-
url: 'https://blastexplorer.io',
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
blocks: {
|
|
176
|
-
confirmations: 1,
|
|
177
|
-
estimateBlockTime: 2,
|
|
178
|
-
reorgPeriod: 1,
|
|
179
|
-
},
|
|
180
|
-
chainId: 81457,
|
|
181
|
-
displayName: 'Blast',
|
|
182
|
-
domainId: 81457,
|
|
183
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
184
|
-
name: Chains.blast,
|
|
185
|
-
nativeToken: etherToken,
|
|
186
|
-
protocol: ProtocolType.Ethereum,
|
|
187
|
-
rpcUrls: [{ http: 'https://rpc.blast.io' }],
|
|
188
|
-
technicalStack: ChainTechnicalStack.Other,
|
|
189
|
-
};
|
|
190
|
-
export const bsc = {
|
|
191
|
-
blockExplorers: [
|
|
192
|
-
{
|
|
193
|
-
apiUrl: 'https://api.bscscan.com/api',
|
|
194
|
-
family: ExplorerFamily.Etherscan,
|
|
195
|
-
name: 'BscScan',
|
|
196
|
-
url: 'https://bscscan.com',
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
blocks: {
|
|
200
|
-
confirmations: 1,
|
|
201
|
-
estimateBlockTime: 3,
|
|
202
|
-
reorgPeriod: 15,
|
|
203
|
-
},
|
|
204
|
-
chainId: 56,
|
|
205
|
-
displayName: 'Binance Smart Chain',
|
|
206
|
-
displayNameShort: 'Binance',
|
|
207
|
-
domainId: 56,
|
|
208
|
-
gasCurrencyCoinGeckoId: 'binancecoin',
|
|
209
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-bsc.safe.global/',
|
|
210
|
-
name: Chains.bsc,
|
|
211
|
-
nativeToken: bnbToken,
|
|
212
|
-
protocol: ProtocolType.Ethereum,
|
|
213
|
-
rpcUrls: [
|
|
214
|
-
{ http: 'https://rpc.ankr.com/bsc' },
|
|
215
|
-
{ http: 'https://bsc.drpc.org' },
|
|
216
|
-
{ http: 'https://bscrpc.com' },
|
|
217
|
-
],
|
|
218
|
-
};
|
|
219
|
-
export const bsctestnet = {
|
|
220
|
-
blockExplorers: [
|
|
221
|
-
{
|
|
222
|
-
apiUrl: 'https://api-testnet.bscscan.com/api',
|
|
223
|
-
family: ExplorerFamily.Etherscan,
|
|
224
|
-
name: 'BscScan',
|
|
225
|
-
url: 'https://testnet.bscscan.com',
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
blocks: {
|
|
229
|
-
confirmations: 1,
|
|
230
|
-
estimateBlockTime: 3,
|
|
231
|
-
reorgPeriod: 9,
|
|
232
|
-
},
|
|
233
|
-
chainId: 97,
|
|
234
|
-
displayName: 'BSC Testnet',
|
|
235
|
-
domainId: 97,
|
|
236
|
-
isTestnet: true,
|
|
237
|
-
name: Chains.bsctestnet,
|
|
238
|
-
nativeToken: bnbToken,
|
|
239
|
-
protocol: ProtocolType.Ethereum,
|
|
240
|
-
rpcUrls: [
|
|
241
|
-
{ http: 'https://bsc-testnet.publicnode.com' },
|
|
242
|
-
{ http: 'https://bsc-testnet.blockpi.network/v1/rpc/public' },
|
|
243
|
-
],
|
|
244
|
-
};
|
|
245
|
-
export const celo = {
|
|
246
|
-
blockExplorers: [
|
|
247
|
-
{
|
|
248
|
-
apiUrl: 'https://api.celoscan.io/api',
|
|
249
|
-
family: ExplorerFamily.Etherscan,
|
|
250
|
-
name: 'CeloScan',
|
|
251
|
-
url: 'https://celoscan.io',
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
apiUrl: 'https://explorer.celo.org/mainnet/api',
|
|
255
|
-
family: ExplorerFamily.Blockscout,
|
|
256
|
-
name: 'Blockscout',
|
|
257
|
-
url: 'https://explorer.celo.org',
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
blocks: {
|
|
261
|
-
confirmations: 1,
|
|
262
|
-
estimateBlockTime: 5,
|
|
263
|
-
reorgPeriod: 0,
|
|
264
|
-
},
|
|
265
|
-
chainId: 42220,
|
|
266
|
-
displayName: 'Celo',
|
|
267
|
-
domainId: 42220,
|
|
268
|
-
// The official Gnosis safe URL `https://safe-transaction-celo.safe.global` doesn't work well
|
|
269
|
-
// with delegates on a multisig created with the old unofficial Celo tooling.
|
|
270
|
-
gnosisSafeTransactionServiceUrl: 'https://mainnet-tx-svc.celo-safe-prod.celo-networks-dev.org/',
|
|
271
|
-
name: Chains.celo,
|
|
272
|
-
nativeToken: celoToken,
|
|
273
|
-
protocol: ProtocolType.Ethereum,
|
|
274
|
-
rpcUrls: [{ http: 'https://forno.celo.org' }],
|
|
275
|
-
};
|
|
276
|
-
export const chiado = {
|
|
277
|
-
blockExplorers: [
|
|
278
|
-
{
|
|
279
|
-
apiUrl: 'https://gnosis-chiado.blockscout.com/api',
|
|
280
|
-
family: ExplorerFamily.Blockscout,
|
|
281
|
-
name: 'GnosisScan',
|
|
282
|
-
url: 'https://gnosis-chiado.blockscout.com',
|
|
283
|
-
},
|
|
284
|
-
],
|
|
285
|
-
blocks: {
|
|
286
|
-
confirmations: 1,
|
|
287
|
-
estimateBlockTime: 5,
|
|
288
|
-
reorgPeriod: 14,
|
|
289
|
-
},
|
|
290
|
-
chainId: 10200,
|
|
291
|
-
displayName: 'Chiado',
|
|
292
|
-
domainId: 10200,
|
|
293
|
-
isTestnet: true,
|
|
294
|
-
name: Chains.chiado,
|
|
295
|
-
nativeToken: xDaiToken,
|
|
296
|
-
protocol: ProtocolType.Ethereum,
|
|
297
|
-
rpcUrls: [{ http: 'https://gnosis-chiado.publicnode.com' }],
|
|
298
|
-
};
|
|
299
|
-
export const ethereum = {
|
|
300
|
-
blockExplorers: [
|
|
301
|
-
{
|
|
302
|
-
apiUrl: 'https://api.etherscan.io/api',
|
|
303
|
-
family: ExplorerFamily.Etherscan,
|
|
304
|
-
name: 'Etherscan',
|
|
305
|
-
url: 'https://etherscan.io',
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
apiUrl: 'https://eth.blockscout.com/api',
|
|
309
|
-
family: ExplorerFamily.Blockscout,
|
|
310
|
-
name: 'Blockscout',
|
|
311
|
-
url: 'https://blockscout.com/eth/mainnet',
|
|
312
|
-
},
|
|
313
|
-
],
|
|
314
|
-
blocks: {
|
|
315
|
-
confirmations: 7,
|
|
316
|
-
estimateBlockTime: 13,
|
|
317
|
-
reorgPeriod: 14,
|
|
318
|
-
},
|
|
319
|
-
chainId: 1,
|
|
320
|
-
displayName: 'Ethereum',
|
|
321
|
-
domainId: 1,
|
|
322
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-mainnet.safe.global/',
|
|
323
|
-
name: Chains.ethereum,
|
|
324
|
-
nativeToken: etherToken,
|
|
325
|
-
protocol: ProtocolType.Ethereum,
|
|
326
|
-
rpcUrls: [
|
|
327
|
-
{ http: 'https://ethereum.publicnode.com' },
|
|
328
|
-
{ http: 'https://cloudflare-eth.com' },
|
|
329
|
-
],
|
|
330
|
-
};
|
|
331
|
-
export const fuji = {
|
|
332
|
-
blockExplorers: [
|
|
333
|
-
{
|
|
334
|
-
apiUrl: 'https://api.routescan.io/v2/network/testnet/evm/43113/etherscan/api',
|
|
335
|
-
family: ExplorerFamily.Etherscan,
|
|
336
|
-
name: 'SnowTrace',
|
|
337
|
-
url: 'https://testnet.snowtrace.io',
|
|
338
|
-
},
|
|
339
|
-
],
|
|
340
|
-
blocks: {
|
|
341
|
-
confirmations: 3,
|
|
342
|
-
estimateBlockTime: 2,
|
|
343
|
-
reorgPeriod: 3,
|
|
344
|
-
},
|
|
345
|
-
chainId: 43113,
|
|
346
|
-
displayName: 'Fuji',
|
|
347
|
-
domainId: 43113,
|
|
348
|
-
isTestnet: true,
|
|
349
|
-
name: Chains.fuji,
|
|
350
|
-
nativeToken: avaxToken,
|
|
351
|
-
protocol: ProtocolType.Ethereum,
|
|
352
|
-
rpcUrls: [
|
|
353
|
-
{
|
|
354
|
-
http: 'https://api.avax-test.network/ext/bc/C/rpc',
|
|
355
|
-
pagination: { maxBlockRange: 2048 },
|
|
356
|
-
},
|
|
357
|
-
],
|
|
358
|
-
};
|
|
359
|
-
export const gnosis = {
|
|
360
|
-
blockExplorers: [
|
|
361
|
-
{
|
|
362
|
-
apiUrl: 'https://api.gnosisscan.io/api',
|
|
363
|
-
family: ExplorerFamily.Etherscan,
|
|
364
|
-
name: 'GnosisScan',
|
|
365
|
-
url: 'https://gnosisscan.io',
|
|
366
|
-
},
|
|
367
|
-
],
|
|
368
|
-
blocks: {
|
|
369
|
-
confirmations: 1,
|
|
370
|
-
estimateBlockTime: 5,
|
|
371
|
-
reorgPeriod: 14,
|
|
372
|
-
},
|
|
373
|
-
chainId: 100,
|
|
374
|
-
displayName: 'Gnosis',
|
|
375
|
-
domainId: 100,
|
|
376
|
-
gasCurrencyCoinGeckoId: 'xdai',
|
|
377
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-gnosis-chain.safe.global/',
|
|
378
|
-
name: Chains.gnosis,
|
|
379
|
-
nativeToken: xDaiToken,
|
|
380
|
-
protocol: ProtocolType.Ethereum,
|
|
381
|
-
rpcUrls: [
|
|
382
|
-
{
|
|
383
|
-
http: 'https://rpc.gnosischain.com',
|
|
384
|
-
pagination: {
|
|
385
|
-
maxBlockRange: 10000,
|
|
386
|
-
minBlockNumber: 25997478,
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
],
|
|
390
|
-
};
|
|
391
|
-
export const inevm = {
|
|
392
|
-
blockExplorers: [
|
|
393
|
-
{
|
|
394
|
-
apiUrl: 'https://inevm.calderaexplorer.xyz/api',
|
|
395
|
-
family: ExplorerFamily.Blockscout,
|
|
396
|
-
name: 'Caldera inEVM Explorer',
|
|
397
|
-
url: 'https://inevm.calderaexplorer.xyz',
|
|
398
|
-
},
|
|
399
|
-
],
|
|
400
|
-
blocks: {
|
|
401
|
-
confirmations: 1,
|
|
402
|
-
estimateBlockTime: 3,
|
|
403
|
-
reorgPeriod: 0,
|
|
404
|
-
},
|
|
405
|
-
chainId: 2525,
|
|
406
|
-
displayName: 'Injective EVM',
|
|
407
|
-
displayNameShort: 'inEVM',
|
|
408
|
-
domainId: 2525,
|
|
409
|
-
gasCurrencyCoinGeckoId: 'injective-protocol',
|
|
410
|
-
name: Chains.inevm,
|
|
411
|
-
nativeToken: {
|
|
412
|
-
decimals: 18,
|
|
413
|
-
name: 'Injective',
|
|
414
|
-
symbol: 'INJ',
|
|
415
|
-
},
|
|
416
|
-
protocol: ProtocolType.Ethereum,
|
|
417
|
-
rpcUrls: [{ http: 'https://inevm.calderachain.xyz/http' }],
|
|
418
|
-
};
|
|
419
|
-
export const injective = {
|
|
420
|
-
bech32Prefix: 'inj',
|
|
421
|
-
blockExplorers: [],
|
|
422
|
-
blocks: {
|
|
423
|
-
confirmations: 1,
|
|
424
|
-
estimateBlockTime: 1,
|
|
425
|
-
reorgPeriod: 10,
|
|
426
|
-
},
|
|
427
|
-
chainId: 'injective-1',
|
|
428
|
-
displayName: 'Injective',
|
|
429
|
-
domainId: 6909546,
|
|
430
|
-
gasCurrencyCoinGeckoId: 'injective-protocol',
|
|
431
|
-
grpcUrls: [{ http: 'sentry.chain.grpc.injective.network:443' }],
|
|
432
|
-
name: Chains.injective,
|
|
433
|
-
nativeToken: {
|
|
434
|
-
decimals: 18,
|
|
435
|
-
denom: 'inj',
|
|
436
|
-
name: 'Injective',
|
|
437
|
-
symbol: 'INJ',
|
|
438
|
-
},
|
|
439
|
-
protocol: ProtocolType.Cosmos,
|
|
440
|
-
restUrls: [{ http: 'https://sentry.lcd.injective.network:443' }],
|
|
441
|
-
rpcUrls: [{ http: 'https://sentry.tm.injective.network:443' }],
|
|
442
|
-
slip44: 118,
|
|
443
|
-
};
|
|
444
|
-
export const mantapacific = {
|
|
445
|
-
blockExplorers: [
|
|
446
|
-
{
|
|
447
|
-
apiUrl: 'https://pacific-explorer.manta.network/api',
|
|
448
|
-
family: ExplorerFamily.Blockscout,
|
|
449
|
-
name: 'Manta Pacific Explorer',
|
|
450
|
-
url: 'https://pacific-explorer.manta.network',
|
|
451
|
-
},
|
|
452
|
-
],
|
|
453
|
-
blocks: {
|
|
454
|
-
confirmations: 1,
|
|
455
|
-
estimateBlockTime: 3,
|
|
456
|
-
reorgPeriod: 1,
|
|
457
|
-
},
|
|
458
|
-
chainId: 169,
|
|
459
|
-
displayName: 'Manta Pacific',
|
|
460
|
-
displayNameShort: 'Manta',
|
|
461
|
-
domainId: 169,
|
|
462
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
463
|
-
isTestnet: false,
|
|
464
|
-
name: Chains.mantapacific,
|
|
465
|
-
nativeToken: {
|
|
466
|
-
decimals: 18,
|
|
467
|
-
name: 'Ether',
|
|
468
|
-
symbol: 'ETH',
|
|
469
|
-
},
|
|
470
|
-
protocol: ProtocolType.Ethereum,
|
|
471
|
-
rpcUrls: [{ http: 'https://pacific-rpc.manta.network/http' }],
|
|
472
|
-
};
|
|
473
|
-
export const mode = {
|
|
474
|
-
blockExplorers: [
|
|
475
|
-
{
|
|
476
|
-
apiUrl: 'https://explorer.mode.network/api',
|
|
477
|
-
family: ExplorerFamily.Blockscout,
|
|
478
|
-
name: 'Mode Explorer',
|
|
479
|
-
url: 'https://explorer.mode.network',
|
|
480
|
-
},
|
|
481
|
-
],
|
|
482
|
-
blocks: {
|
|
483
|
-
confirmations: 1,
|
|
484
|
-
estimateBlockTime: 2,
|
|
485
|
-
reorgPeriod: 1,
|
|
486
|
-
},
|
|
487
|
-
chainId: 34443,
|
|
488
|
-
displayName: 'Mode',
|
|
489
|
-
domainId: 34443,
|
|
490
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
491
|
-
name: Chains.mode,
|
|
492
|
-
nativeToken: etherToken,
|
|
493
|
-
protocol: ProtocolType.Ethereum,
|
|
494
|
-
rpcUrls: [{ http: 'https://mainnet.mode.network' }],
|
|
495
|
-
technicalStack: ChainTechnicalStack.Other,
|
|
496
|
-
};
|
|
497
|
-
export const moonbeam = {
|
|
498
|
-
blockExplorers: [
|
|
499
|
-
{
|
|
500
|
-
apiUrl: 'https://api-moonbeam.moonscan.io/api',
|
|
501
|
-
family: ExplorerFamily.Etherscan,
|
|
502
|
-
name: 'MoonScan',
|
|
503
|
-
url: 'https://moonscan.io',
|
|
504
|
-
},
|
|
505
|
-
],
|
|
506
|
-
blocks: {
|
|
507
|
-
confirmations: 2,
|
|
508
|
-
estimateBlockTime: 12,
|
|
509
|
-
reorgPeriod: 2,
|
|
510
|
-
},
|
|
511
|
-
chainId: 1284,
|
|
512
|
-
displayName: 'Moonbeam',
|
|
513
|
-
domainId: 1284,
|
|
514
|
-
gnosisSafeTransactionServiceUrl: 'https://transaction.multisig.moonbeam.network',
|
|
515
|
-
name: Chains.moonbeam,
|
|
516
|
-
nativeToken: {
|
|
517
|
-
decimals: 18,
|
|
518
|
-
name: 'GLMR',
|
|
519
|
-
symbol: 'GLMR',
|
|
520
|
-
},
|
|
521
|
-
protocol: ProtocolType.Ethereum,
|
|
522
|
-
rpcUrls: [{ http: 'https://rpc.api.moonbeam.network' }],
|
|
523
|
-
};
|
|
524
|
-
export const nautilus = {
|
|
525
|
-
blocks: {
|
|
526
|
-
confirmations: 1,
|
|
527
|
-
estimateBlockTime: 1,
|
|
528
|
-
reorgPeriod: 1,
|
|
529
|
-
},
|
|
530
|
-
chainId: 22222,
|
|
531
|
-
displayName: 'Nautilus',
|
|
532
|
-
domainId: 22222,
|
|
533
|
-
name: Chains.nautilus,
|
|
534
|
-
nativeToken: {
|
|
535
|
-
decimals: 18,
|
|
536
|
-
name: 'Zebec',
|
|
537
|
-
symbol: 'ZBC',
|
|
538
|
-
},
|
|
539
|
-
protocol: ProtocolType.Ethereum,
|
|
540
|
-
rpcUrls: [
|
|
541
|
-
{
|
|
542
|
-
http: 'https://api.nautilus.nautchain.xyz',
|
|
543
|
-
},
|
|
544
|
-
],
|
|
545
|
-
};
|
|
546
|
-
export const neutron = {
|
|
547
|
-
bech32Prefix: 'neutron',
|
|
548
|
-
blockExplorers: [
|
|
549
|
-
{
|
|
550
|
-
// TODO API not actually supported, using url to meet validation requirements
|
|
551
|
-
apiUrl: 'https://www.mintscan.io/neutron',
|
|
552
|
-
family: ExplorerFamily.Other,
|
|
553
|
-
name: 'Mintscan',
|
|
554
|
-
url: 'https://www.mintscan.io/neutron',
|
|
555
|
-
},
|
|
556
|
-
],
|
|
557
|
-
blocks: {
|
|
558
|
-
confirmations: 1,
|
|
559
|
-
estimateBlockTime: 3,
|
|
560
|
-
reorgPeriod: 1,
|
|
561
|
-
},
|
|
562
|
-
chainId: 'neutron-1',
|
|
563
|
-
displayName: 'Neutron',
|
|
564
|
-
domainId: 1853125230,
|
|
565
|
-
gasCurrencyCoinGeckoId: 'neutron-3',
|
|
566
|
-
grpcUrls: [{ http: 'grpc-kralum.neutron-1.neutron.org:80' }],
|
|
567
|
-
isTestnet: false,
|
|
568
|
-
name: Chains.neutron,
|
|
569
|
-
nativeToken: {
|
|
570
|
-
decimals: 6,
|
|
571
|
-
denom: 'untrn',
|
|
572
|
-
name: 'Neutron',
|
|
573
|
-
symbol: 'NTRN',
|
|
574
|
-
},
|
|
575
|
-
protocol: ProtocolType.Cosmos,
|
|
576
|
-
restUrls: [{ http: 'https://rest-lb.neutron.org' }],
|
|
577
|
-
rpcUrls: [{ http: 'https://rpc-kralum.neutron-1.neutron.org' }],
|
|
578
|
-
slip44: 118,
|
|
579
|
-
transactionOverrides: {
|
|
580
|
-
gasPrice: '0.0075',
|
|
581
|
-
},
|
|
582
|
-
};
|
|
583
|
-
export const optimism = {
|
|
584
|
-
blockExplorers: [
|
|
585
|
-
{
|
|
586
|
-
apiUrl: 'https://api-optimistic.etherscan.io/api',
|
|
587
|
-
family: ExplorerFamily.Etherscan,
|
|
588
|
-
name: 'Etherscan',
|
|
589
|
-
url: 'https://optimistic.etherscan.io',
|
|
590
|
-
},
|
|
591
|
-
],
|
|
592
|
-
blocks: {
|
|
593
|
-
confirmations: 1,
|
|
594
|
-
estimateBlockTime: 3,
|
|
595
|
-
reorgPeriod: 0,
|
|
596
|
-
},
|
|
597
|
-
chainId: 10,
|
|
598
|
-
displayName: 'Optimism',
|
|
599
|
-
domainId: 10,
|
|
600
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
601
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-optimism.safe.global/',
|
|
602
|
-
name: Chains.optimism,
|
|
603
|
-
nativeToken: etherToken,
|
|
604
|
-
protocol: ProtocolType.Ethereum,
|
|
605
|
-
rpcUrls: [{ http: 'https://mainnet.optimism.io' }],
|
|
606
|
-
};
|
|
607
|
-
export const plumetestnet = {
|
|
608
|
-
blockExplorers: [
|
|
609
|
-
{
|
|
610
|
-
apiUrl: 'https://plume-testnet.explorer.caldera.xyz/api',
|
|
611
|
-
family: ExplorerFamily.Blockscout,
|
|
612
|
-
name: 'Plume Testnet Explorer',
|
|
613
|
-
url: 'https://plume-testnet.explorer.caldera.xyz',
|
|
614
|
-
},
|
|
615
|
-
],
|
|
616
|
-
blocks: {
|
|
617
|
-
confirmations: 1,
|
|
618
|
-
estimateBlockTime: 3,
|
|
619
|
-
reorgPeriod: 0,
|
|
620
|
-
},
|
|
621
|
-
chainId: 161221135,
|
|
622
|
-
displayName: 'Plume Testnet',
|
|
623
|
-
domainId: 161221135,
|
|
624
|
-
index: {
|
|
625
|
-
// Arbitrum Nitro flavored chains record the L1 block number they were deployed at,
|
|
626
|
-
// not the L2 block number. See https://docs.arbitrum.io/build-decentralized-apps/arbitrum-vs-ethereum/block-numbers-and-time#ethereum-block-numbers-within-arbitrum.
|
|
627
|
-
// This is the block that the Mailbox was deployed at:
|
|
628
|
-
// https://plume-testnet.explorer.caldera.xyz/tx/0x72d11097bc54e318a1c3e6a74c8f59d0f2dbed1478854e633ee71e65b7b2a2f8
|
|
629
|
-
from: 4206,
|
|
630
|
-
},
|
|
631
|
-
isTestnet: true,
|
|
632
|
-
name: Chains.plumetestnet,
|
|
633
|
-
nativeToken: {
|
|
634
|
-
decimals: 18,
|
|
635
|
-
name: 'Ether',
|
|
636
|
-
symbol: 'ETH',
|
|
637
|
-
},
|
|
638
|
-
protocol: ProtocolType.Ethereum,
|
|
639
|
-
rpcUrls: [{ http: 'https://plume-testnet.rpc.caldera.xyz/http' }],
|
|
640
|
-
technicalStack: ChainTechnicalStack.ArbitrumNitro,
|
|
641
|
-
};
|
|
642
|
-
export const polygon = {
|
|
643
|
-
blockExplorers: [
|
|
644
|
-
{
|
|
645
|
-
apiUrl: 'https://api.polygonscan.com/api',
|
|
646
|
-
family: ExplorerFamily.Etherscan,
|
|
647
|
-
name: 'PolygonScan',
|
|
648
|
-
url: 'https://polygonscan.com',
|
|
649
|
-
},
|
|
650
|
-
],
|
|
651
|
-
blocks: {
|
|
652
|
-
confirmations: 200,
|
|
653
|
-
estimateBlockTime: 2,
|
|
654
|
-
reorgPeriod: 256,
|
|
655
|
-
},
|
|
656
|
-
chainId: 137,
|
|
657
|
-
displayName: 'Polygon',
|
|
658
|
-
domainId: 137,
|
|
659
|
-
gasCurrencyCoinGeckoId: 'matic-network',
|
|
660
|
-
gnosisSafeTransactionServiceUrl: 'https://safe-transaction-polygon.safe.global/',
|
|
661
|
-
name: Chains.polygon,
|
|
662
|
-
nativeToken: etherToken,
|
|
663
|
-
protocol: ProtocolType.Ethereum,
|
|
664
|
-
rpcUrls: [
|
|
665
|
-
{
|
|
666
|
-
http: 'https://polygon-bor.publicnode.com',
|
|
667
|
-
},
|
|
668
|
-
{ http: 'https://polygon-rpc.com' },
|
|
669
|
-
{ http: 'https://rpc.ankr.com/polygon' },
|
|
670
|
-
],
|
|
671
|
-
};
|
|
672
|
-
export const polygonzkevm = {
|
|
673
|
-
blockExplorers: [
|
|
674
|
-
{
|
|
675
|
-
apiUrl: 'https://api-zkevm.polygonscan.com/api',
|
|
676
|
-
family: ExplorerFamily.Etherscan,
|
|
677
|
-
name: 'PolygonScan',
|
|
678
|
-
url: 'https://zkevm.polygonscan.com',
|
|
679
|
-
},
|
|
680
|
-
],
|
|
681
|
-
blocks: {
|
|
682
|
-
confirmations: 1,
|
|
683
|
-
estimateBlockTime: 10,
|
|
684
|
-
reorgPeriod: 1,
|
|
685
|
-
},
|
|
686
|
-
chainId: 1101,
|
|
687
|
-
displayName: 'Polygon zkEVM',
|
|
688
|
-
displayNameShort: 'zkEVM',
|
|
689
|
-
domainId: 1101,
|
|
690
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
691
|
-
name: Chains.polygonzkevm,
|
|
692
|
-
nativeToken: etherToken,
|
|
693
|
-
protocol: ProtocolType.Ethereum,
|
|
694
|
-
rpcUrls: [
|
|
695
|
-
{ http: 'https://zkevm-rpc.com' },
|
|
696
|
-
{ http: 'https://rpc.ankr.com/polygon_zkevm' },
|
|
697
|
-
],
|
|
698
|
-
};
|
|
699
|
-
// Testnet for Nautilus
|
|
700
|
-
export const proteustestnet = {
|
|
701
|
-
blocks: {
|
|
702
|
-
confirmations: 1,
|
|
703
|
-
estimateBlockTime: 1,
|
|
704
|
-
reorgPeriod: 1,
|
|
705
|
-
},
|
|
706
|
-
chainId: 88002,
|
|
707
|
-
displayName: 'Proteus Testnet',
|
|
708
|
-
domainId: 88002,
|
|
709
|
-
name: Chains.proteustestnet,
|
|
710
|
-
nativeToken: {
|
|
711
|
-
decimals: 18,
|
|
712
|
-
name: 'Zebec',
|
|
713
|
-
symbol: 'ZBC',
|
|
714
|
-
},
|
|
715
|
-
protocol: ProtocolType.Ethereum,
|
|
716
|
-
rpcUrls: [
|
|
717
|
-
{
|
|
718
|
-
http: 'https://api.proteus.nautchain.xyz/solana',
|
|
719
|
-
},
|
|
720
|
-
],
|
|
721
|
-
};
|
|
722
|
-
export const scroll = {
|
|
723
|
-
blockExplorers: [
|
|
724
|
-
{
|
|
725
|
-
apiUrl: 'https://api.scrollscan.com/api',
|
|
726
|
-
family: ExplorerFamily.Etherscan,
|
|
727
|
-
name: 'Scroll Explorer',
|
|
728
|
-
url: 'https://scrollscan.com/',
|
|
729
|
-
},
|
|
730
|
-
],
|
|
731
|
-
blocks: {
|
|
732
|
-
confirmations: 1,
|
|
733
|
-
estimateBlockTime: 3,
|
|
734
|
-
reorgPeriod: 1,
|
|
735
|
-
},
|
|
736
|
-
chainId: 534352,
|
|
737
|
-
displayName: 'Scroll',
|
|
738
|
-
domainId: 534352,
|
|
739
|
-
gasCurrencyCoinGeckoId: 'ethereum',
|
|
740
|
-
name: Chains.scroll,
|
|
741
|
-
nativeToken: etherToken,
|
|
742
|
-
protocol: ProtocolType.Ethereum,
|
|
743
|
-
rpcUrls: [{ http: 'https://scroll.blockpi.network/v1/rpc/public' }],
|
|
744
|
-
};
|
|
745
|
-
export const scrollsepolia = {
|
|
746
|
-
blockExplorers: [
|
|
747
|
-
{
|
|
748
|
-
apiUrl: 'https://api-sepolia.scrollscan.com/api',
|
|
749
|
-
family: ExplorerFamily.Etherscan,
|
|
750
|
-
name: 'Scroll Explorer',
|
|
751
|
-
url: 'https://sepolia.scrollscan.dev/',
|
|
752
|
-
},
|
|
753
|
-
],
|
|
754
|
-
blocks: {
|
|
755
|
-
confirmations: 1,
|
|
756
|
-
estimateBlockTime: 3,
|
|
757
|
-
reorgPeriod: 1,
|
|
758
|
-
},
|
|
759
|
-
chainId: 534351,
|
|
760
|
-
displayName: 'Scroll Sepolia',
|
|
761
|
-
domainId: 534351,
|
|
762
|
-
isTestnet: true,
|
|
763
|
-
name: Chains.scrollsepolia,
|
|
764
|
-
nativeToken: etherToken,
|
|
765
|
-
protocol: ProtocolType.Ethereum,
|
|
766
|
-
rpcUrls: [{ http: 'https://sepolia-rpc.scroll.io' }],
|
|
767
|
-
};
|
|
768
|
-
export const sepolia = {
|
|
769
|
-
blockExplorers: [
|
|
770
|
-
{
|
|
771
|
-
apiUrl: 'https://api-sepolia.etherscan.io/api',
|
|
772
|
-
family: ExplorerFamily.Etherscan,
|
|
773
|
-
name: 'Etherscan',
|
|
774
|
-
url: 'https://sepolia.etherscan.io',
|
|
775
|
-
},
|
|
776
|
-
],
|
|
777
|
-
blocks: {
|
|
778
|
-
confirmations: 1,
|
|
779
|
-
estimateBlockTime: 13,
|
|
780
|
-
reorgPeriod: 2,
|
|
781
|
-
},
|
|
782
|
-
chainId: 11155111,
|
|
783
|
-
displayName: 'Sepolia',
|
|
784
|
-
domainId: 11155111,
|
|
785
|
-
isTestnet: true,
|
|
786
|
-
name: Chains.sepolia,
|
|
787
|
-
nativeToken: etherToken,
|
|
788
|
-
protocol: ProtocolType.Ethereum,
|
|
789
|
-
rpcUrls: [
|
|
790
|
-
{ http: 'https://ethereum-sepolia.publicnode.com' },
|
|
791
|
-
{ http: 'https://ethereum-sepolia.blockpi.network/v1/rpc/public' },
|
|
792
|
-
{ http: 'https://rpc.sepolia.org' },
|
|
793
|
-
],
|
|
794
|
-
};
|
|
795
|
-
export const solana = {
|
|
796
|
-
blockExplorers: [
|
|
797
|
-
{
|
|
798
|
-
apiUrl: 'https://explorer.solana.com',
|
|
799
|
-
family: ExplorerFamily.Other,
|
|
800
|
-
name: 'Solana Explorer',
|
|
801
|
-
url: 'https://explorer.solana.com',
|
|
802
|
-
},
|
|
803
|
-
],
|
|
804
|
-
blocks: {
|
|
805
|
-
confirmations: 1,
|
|
806
|
-
estimateBlockTime: 0.4,
|
|
807
|
-
reorgPeriod: 0,
|
|
808
|
-
},
|
|
809
|
-
// Uses the same ChainId as https://www.alchemy.com/chain-connect/chain/solana
|
|
810
|
-
chainId: 1399811149,
|
|
811
|
-
displayName: 'Solana',
|
|
812
|
-
domainId: 1399811149,
|
|
813
|
-
name: 'solana',
|
|
814
|
-
nativeToken: solToken,
|
|
815
|
-
protocol: ProtocolType.Sealevel,
|
|
816
|
-
rpcUrls: [{ http: 'https://api.mainnet-beta.solana.com' }],
|
|
817
|
-
};
|
|
818
|
-
export const solanatestnet = {
|
|
819
|
-
blockExplorers: [
|
|
820
|
-
{
|
|
821
|
-
apiUrl: 'https://explorer.solana.com',
|
|
822
|
-
family: ExplorerFamily.Other,
|
|
823
|
-
name: 'Solana Explorer',
|
|
824
|
-
url: 'https://explorer.solana.com',
|
|
825
|
-
},
|
|
826
|
-
],
|
|
827
|
-
blocks: {
|
|
828
|
-
confirmations: 1,
|
|
829
|
-
estimateBlockTime: 0.4,
|
|
830
|
-
reorgPeriod: 0,
|
|
831
|
-
},
|
|
832
|
-
chainId: 1399811150,
|
|
833
|
-
displayName: 'Solana Testnet',
|
|
834
|
-
displayNameShort: 'Sol Testnet',
|
|
835
|
-
domainId: 1399811150,
|
|
836
|
-
isTestnet: true,
|
|
837
|
-
name: 'solanatestnet',
|
|
838
|
-
nativeToken: solToken,
|
|
839
|
-
protocol: ProtocolType.Sealevel,
|
|
840
|
-
rpcUrls: [{ http: 'https://api.testnet.solana.com' }],
|
|
841
|
-
};
|
|
842
|
-
export const solanadevnet = {
|
|
843
|
-
blockExplorers: [
|
|
844
|
-
{
|
|
845
|
-
apiUrl: 'https://explorer.solana.com',
|
|
846
|
-
family: ExplorerFamily.Other,
|
|
847
|
-
name: 'Solana Explorer',
|
|
848
|
-
url: 'https://explorer.solana.com',
|
|
849
|
-
},
|
|
850
|
-
],
|
|
851
|
-
blocks: {
|
|
852
|
-
confirmations: 1,
|
|
853
|
-
estimateBlockTime: 0.4,
|
|
854
|
-
reorgPeriod: 0,
|
|
855
|
-
},
|
|
856
|
-
chainId: 1399811151,
|
|
857
|
-
displayName: 'Solana Devnet',
|
|
858
|
-
displayNameShort: 'Sol Devnet',
|
|
859
|
-
domainId: 1399811151,
|
|
860
|
-
isTestnet: true,
|
|
861
|
-
name: 'solanadevnet',
|
|
862
|
-
nativeToken: solToken,
|
|
863
|
-
protocol: ProtocolType.Sealevel,
|
|
864
|
-
rpcUrls: [{ http: 'https://api.devnet.solana.com' }],
|
|
865
|
-
};
|
|
866
|
-
export const eclipsetestnet = {
|
|
867
|
-
blocks: {
|
|
868
|
-
confirmations: 1,
|
|
869
|
-
estimateBlockTime: 0.4,
|
|
870
|
-
reorgPeriod: 0,
|
|
871
|
-
},
|
|
872
|
-
chainId: 239092742,
|
|
873
|
-
displayName: 'Eclipse Testnet',
|
|
874
|
-
domainId: 239092742,
|
|
875
|
-
isTestnet: true,
|
|
876
|
-
name: 'eclipsetestnet',
|
|
877
|
-
nativeToken: {
|
|
878
|
-
...etherToken,
|
|
879
|
-
decimals: 9,
|
|
880
|
-
},
|
|
881
|
-
protocol: ProtocolType.Sealevel,
|
|
882
|
-
rpcUrls: [{ http: 'https://testnet.dev2.eclipsenetwork.xyz' }],
|
|
883
|
-
};
|
|
884
|
-
export const test1 = {
|
|
885
|
-
blockExplorers: [],
|
|
886
|
-
blocks: {
|
|
887
|
-
confirmations: 1,
|
|
888
|
-
estimateBlockTime: 3,
|
|
889
|
-
reorgPeriod: 0,
|
|
890
|
-
},
|
|
891
|
-
chainId: 13371,
|
|
892
|
-
displayName: 'Test 1',
|
|
893
|
-
domainId: 13371,
|
|
894
|
-
isTestnet: true,
|
|
895
|
-
name: Chains.test1,
|
|
896
|
-
nativeToken: etherToken,
|
|
897
|
-
protocol: ProtocolType.Ethereum,
|
|
898
|
-
rpcUrls: [{ http: 'http://127.0.0.1:8545' }],
|
|
899
|
-
};
|
|
900
|
-
export const test2 = {
|
|
901
|
-
blockExplorers: [],
|
|
902
|
-
blocks: {
|
|
903
|
-
confirmations: 1,
|
|
904
|
-
estimateBlockTime: 3,
|
|
905
|
-
reorgPeriod: 1,
|
|
906
|
-
},
|
|
907
|
-
chainId: 13372,
|
|
908
|
-
displayName: 'Test 2',
|
|
909
|
-
domainId: 13372,
|
|
910
|
-
isTestnet: true,
|
|
911
|
-
name: Chains.test2,
|
|
912
|
-
nativeToken: etherToken,
|
|
913
|
-
protocol: ProtocolType.Ethereum,
|
|
914
|
-
rpcUrls: [{ http: 'http://127.0.0.1:8545' }],
|
|
915
|
-
};
|
|
916
|
-
export const test3 = {
|
|
917
|
-
blockExplorers: [],
|
|
918
|
-
blocks: {
|
|
919
|
-
confirmations: 1,
|
|
920
|
-
estimateBlockTime: 3,
|
|
921
|
-
reorgPeriod: 2,
|
|
922
|
-
},
|
|
923
|
-
chainId: 13373,
|
|
924
|
-
displayName: 'Test 3',
|
|
925
|
-
domainId: 13373,
|
|
926
|
-
isTestnet: true,
|
|
927
|
-
name: Chains.test3,
|
|
928
|
-
nativeToken: etherToken,
|
|
929
|
-
protocol: ProtocolType.Ethereum,
|
|
930
|
-
rpcUrls: [{ http: 'http://127.0.0.1:8545' }],
|
|
931
|
-
};
|
|
932
|
-
export const viction = {
|
|
933
|
-
blockExplorers: [
|
|
934
|
-
{
|
|
935
|
-
apiUrl: 'https://www.vicscan.xyz/api',
|
|
936
|
-
family: ExplorerFamily.Other,
|
|
937
|
-
name: 'Vicscan',
|
|
938
|
-
url: 'https://www.vicscan.xyz',
|
|
939
|
-
},
|
|
940
|
-
],
|
|
941
|
-
blocks: {
|
|
942
|
-
confirmations: 1,
|
|
943
|
-
estimateBlockTime: 2,
|
|
944
|
-
reorgPeriod: 0,
|
|
945
|
-
},
|
|
946
|
-
chainId: 88,
|
|
947
|
-
displayName: 'Viction',
|
|
948
|
-
domainId: 88,
|
|
949
|
-
gasCurrencyCoinGeckoId: 'tomochain',
|
|
950
|
-
name: Chains.viction,
|
|
951
|
-
nativeToken: {
|
|
952
|
-
decimals: 18,
|
|
953
|
-
name: 'Viction',
|
|
954
|
-
symbol: 'VIC',
|
|
955
|
-
},
|
|
956
|
-
protocol: ProtocolType.Ethereum,
|
|
957
|
-
rpcUrls: [
|
|
958
|
-
{
|
|
959
|
-
http: 'https://rpc.tomochain.com',
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
http: 'https://viction.blockpi.network/v1/rpc/public',
|
|
963
|
-
},
|
|
964
|
-
],
|
|
965
|
-
};
|
|
966
|
-
/**
|
|
967
|
-
* Collection maps
|
|
968
|
-
*
|
|
969
|
-
* NOTE: When adding chains here, consider also adding the
|
|
970
|
-
* corresponding chain logo images in the /sdk/logos/* folders
|
|
971
|
-
*/
|
|
972
|
-
export const chainMetadata = {
|
|
973
|
-
alfajores,
|
|
974
|
-
ancient8,
|
|
975
|
-
arbitrum,
|
|
976
|
-
avalanche,
|
|
977
|
-
base,
|
|
978
|
-
blast,
|
|
979
|
-
bsc,
|
|
980
|
-
bsctestnet,
|
|
981
|
-
celo,
|
|
982
|
-
chiado,
|
|
983
|
-
eclipsetestnet,
|
|
984
|
-
ethereum,
|
|
985
|
-
fuji,
|
|
986
|
-
gnosis,
|
|
987
|
-
inevm,
|
|
988
|
-
injective,
|
|
989
|
-
mantapacific,
|
|
990
|
-
mode,
|
|
991
|
-
moonbeam,
|
|
992
|
-
nautilus,
|
|
993
|
-
neutron,
|
|
994
|
-
optimism,
|
|
995
|
-
plumetestnet,
|
|
996
|
-
polygon,
|
|
997
|
-
polygonzkevm,
|
|
998
|
-
proteustestnet,
|
|
999
|
-
scroll,
|
|
1000
|
-
scrollsepolia,
|
|
1001
|
-
sepolia,
|
|
1002
|
-
solana,
|
|
1003
|
-
solanadevnet,
|
|
1004
|
-
solanatestnet,
|
|
1005
|
-
test1,
|
|
1006
|
-
test2,
|
|
1007
|
-
test3,
|
|
1008
|
-
viction,
|
|
1009
|
-
};
|
|
1010
|
-
export const chainIdToMetadata = Object.values(chainMetadata).reduce((result, chain) => {
|
|
1011
|
-
result[chain.chainId] = chain;
|
|
1012
|
-
return result;
|
|
1013
|
-
}, {});
|
|
1014
|
-
export const mainnetChainsMetadata = Mainnets.map((chainName) => chainMetadata[chainName]);
|
|
1015
|
-
export const testnetChainsMetadata = Testnets.map((chainName) => chainMetadata[chainName]);
|
|
1016
|
-
export const solanaChainToClusterName = {
|
|
1017
|
-
solana: 'mainnet-beta',
|
|
1018
|
-
solanadevnet: 'devnet',
|
|
1019
|
-
solanatestnet: 'testnet',
|
|
1020
|
-
};
|
|
1021
|
-
//# sourceMappingURL=chainMetadata.js.map
|