From 16fbcacc73e89a0fdf85393607d1d365269b02b0 Mon Sep 17 00:00:00 2001 From: DCota <32775237+DaigaroCota@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:21:05 -0800 Subject: [PATCH] Add Sepolia support (#88) --- packages/ethereum-viewer/src/explorer/networks.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/ethereum-viewer/src/explorer/networks.ts b/packages/ethereum-viewer/src/explorer/networks.ts index bd5ac74..b263d88 100644 --- a/packages/ethereum-viewer/src/explorer/networks.ts +++ b/packages/ethereum-viewer/src/explorer/networks.ts @@ -7,6 +7,7 @@ export const explorerApiUrls = { "rinkeby.etherscan": "https://api-rinkeby.etherscan.io/api", "goerli.etherscan": "https://api-goerli.etherscan.io/api", "kovan.etherscan": "https://api-kovan.etherscan.io/api", + "sepolia.etherscan": "https://api-sepolia.etherscan.io/api", bscscan: "https://api.bscscan.com/api", "testnet.bscscan": "https://api-testnet.bscscan.com/api", hecoinfo: "https://api.hecoinfo.com/api", @@ -41,6 +42,7 @@ export const networkNames: Record = { "rinkeby.etherscan": "rinkeby", "goerli.etherscan": "goerli", "kovan.etherscan": "kovan", + "sepolia.etherscan": "sepolia", bscscan: "bsc", "testnet.bscscan": "bscTestnet", hecoinfo: "heco", @@ -80,6 +82,7 @@ export const explorerApiKeys: Record = { "rinkeby.etherscan": ETHERSCAN_KEY, "goerli.etherscan": ETHERSCAN_KEY, "kovan.etherscan": ETHERSCAN_KEY, + "sepolia.etherscan": ETHERSCAN_KEY, "optimistic.etherscan": OPTIMISM_KEY, "kovan-optimistic.etherscan": OPTIMISM_KEY,