Skip to content

Commit 1e3696b

Browse files
authored
Add gnosisscan support (#83)
1 parent c9012d4 commit 1e3696b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const explorerApiUrls = {
2424
cronoscan: "https://api.cronoscan.com/api",
2525
basescan: "https://api.basescan.org/api",
2626
"goerli.basescan": "https://api-goerli.basescan.org/",
27+
gnosisscan: "https://api.gnosisscan.io/api",
2728
};
2829

2930
/**
@@ -57,6 +58,7 @@ export const networkNames: Record<ApiName, string> = {
5758
cronoscan: "cronos",
5859
basescan: "basescan",
5960
"goerli.basescan": "basescanGoerli",
61+
gnosisscan: "gnosisscan",
6062
};
6163

6264
const ETHERSCAN_KEY = "862Y3WJ4JB4B34PZQRFEV3IK6SZ8GNR9N5";
@@ -69,6 +71,7 @@ const ARBISCAN_KEY = "X3ZWJBXC14HTIR3B9DNYGEUICEIKKZ9ENZ";
6971
const POLYGONSCAN_KEY = "RV4YXDXEMIHXMC7ZXB8T82G4F56FRZ1SZQ";
7072
const CRONOSCAN_KEY = "BGAN1CWT8E1A2XRS3FU61UP7XXFMHBWNSY";
7173
const BASESCAN_KEY = "ICQQDUA1C8R2EZY6M4QIIV7WUEZM8INNA7";
74+
const GNOSISSCAN_KEY = "7PWN1FIPXW6WDSGH3PIHRW1EEU4A882QSQ";
7275

7376
// @todo this should be possible to override using VSCode settings
7477
export const explorerApiKeys: Record<ApiName, string> = {
@@ -103,4 +106,6 @@ export const explorerApiKeys: Record<ApiName, string> = {
103106

104107
basescan: BASESCAN_KEY,
105108
"goerli.basescan": BASESCAN_KEY,
109+
110+
gnosisscan: GNOSISSCAN_KEY,
106111
};

0 commit comments

Comments
 (0)