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