Skip to content

Commit 16fbcac

Browse files
authored
Add Sepolia support (#88)
1 parent 974c05d commit 16fbcac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/ethereum-viewer/src/explorer/networks.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const explorerApiUrls = {
77
"rinkeby.etherscan": "https://api-rinkeby.etherscan.io/api",
88
"goerli.etherscan": "https://api-goerli.etherscan.io/api",
99
"kovan.etherscan": "https://api-kovan.etherscan.io/api",
10+
"sepolia.etherscan": "https://api-sepolia.etherscan.io/api",
1011
bscscan: "https://api.bscscan.com/api",
1112
"testnet.bscscan": "https://api-testnet.bscscan.com/api",
1213
hecoinfo: "https://api.hecoinfo.com/api",
@@ -41,6 +42,7 @@ export const networkNames: Record<ApiName, string> = {
4142
"rinkeby.etherscan": "rinkeby",
4243
"goerli.etherscan": "goerli",
4344
"kovan.etherscan": "kovan",
45+
"sepolia.etherscan": "sepolia",
4446
bscscan: "bsc",
4547
"testnet.bscscan": "bscTestnet",
4648
hecoinfo: "heco",
@@ -80,6 +82,7 @@ export const explorerApiKeys: Record<ApiName, string> = {
8082
"rinkeby.etherscan": ETHERSCAN_KEY,
8183
"goerli.etherscan": ETHERSCAN_KEY,
8284
"kovan.etherscan": ETHERSCAN_KEY,
85+
"sepolia.etherscan": ETHERSCAN_KEY,
8386

8487
"optimistic.etherscan": OPTIMISM_KEY,
8588
"kovan-optimistic.etherscan": OPTIMISM_KEY,

0 commit comments

Comments
 (0)