Skip to content

Commit

Permalink
Add Sepolia, remove Goerli (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Mar 25, 2024
1 parent be3b25b commit c43c341
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
34 changes: 13 additions & 21 deletions data/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,16 +541,16 @@
}
]
},
"goerli_testnet": {
"chain_id": 5,
"chain_name": "Goerli Testnet",
"sepolia_testnet": {
"chain_id": 11155111,
"chain_name": "Sepolia Testnet",
"chain_aliases": [
"goerli",
"goerli_chain",
"goerli_network",
"goerli-chain",
"goerli-network",
"goerli-testnet"
"sepolia",
"sepolia_chain",
"sepolia_network",
"sepolia-chain",
"sepolia-network",
"sepolia-testnet"
],
"assets": [
{
Expand All @@ -565,13 +565,13 @@
}
],
"base": "eth",
"symbol": "gETH"
"symbol": "ETH"
}
],
"apps": [
{
"type": "explorer",
"url": "https://goerli.etherscan.io",
"url": "https://sepolia.etherscan.io",
"tx": "/tx/${tx}",
"address": "/address/${address}"
}
Expand All @@ -587,17 +587,9 @@
},
"api": [
{
"url": "https://eth-goerli.public.blastapi.io",
"type": "evm"
},
{
"url": "wss://eth-goerli.public.blastapi.io",
"type": "evm-ws"
},
{
"url": "https://rpc.ankr.com/eth_goerli",
"url": "https://rpc.ankr.com/eth_sepolia",
"type": "evm"
}
]
}
}
}
2 changes: 1 addition & 1 deletion src/getHardhatConfigNetworks/getHardhatConfigNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const getHardhatConfigNetworks = (): Config => {
const config: Config = {};

for (const network in networks as any) {
if (network === "btc_testnet") continue;
if (!(networks as any)[network].fees) continue;
let apiUrls = (networks as any)[network].api;
let evmApi = apiUrls?.find((api: any) => api.type === "evm");
config[network] = {
Expand Down

0 comments on commit c43c341

Please sign in to comment.