Skip to content

Commit 1ff9224

Browse files
wujunzehasparuskrzkaczor
authored
add cronoscan (#63)
Co-authored-by: Piotr Monwid-Olechnowicz <[email protected]> Co-authored-by: Kris Kaczor <[email protected]>
1 parent f0ce48c commit 1ff9224

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
@@ -21,6 +21,7 @@ export const explorerApiUrls = {
2121
"testnet.arbiscan": "https://api-testnet.arbiscan.io/api",
2222
snowtrace: "https://api.snowtrace.io/api",
2323
"testnet.snowtrace": "https://api-testnet.snowtrace.io/api",
24+
cronoscan: "https://api.cronoscan.com/api",
2425
};
2526

2627
/**
@@ -51,6 +52,7 @@ export const networkNames: Record<ApiName, string> = {
5152
"testnet.arbiscan": "arbitrumTestnet",
5253
snowtrace: "avalanche",
5354
"testnet.snowtrace": "avalancheTestnet",
55+
cronoscan: "cronos",
5456
};
5557

5658
const ETHERSCAN_KEY = "862Y3WJ4JB4B34PZQRFEV3IK6SZ8GNR9N5";
@@ -60,6 +62,7 @@ const HECOINFO_KEY = "XEUTJF2439EP4HHD23H2AFEFQJHFGSG57R";
6062
const SNOWTRACE_KEY = "IQEHAJ43W674REN5XV79WF47X37VEB8PIC";
6163
const ARBISCAN_KEY = "X3ZWJBXC14HTIR3B9DNYGEUICEIKKZ9ENZ";
6264
const POLYGONSCAN_KEY = "RV4YXDXEMIHXMC7ZXB8T82G4F56FRZ1SZQ";
65+
const CRONOSCAN_KEY = "BGAN1CWT8E1A2XRS3FU61UP7XXFMHBWNSY"
6366

6467
// @todo this should be possible to override using VSCode settings
6568
export const explorerApiKeys: Record<ApiName, string> = {
@@ -89,4 +92,6 @@ export const explorerApiKeys: Record<ApiName, string> = {
8992

9093
snowtrace: SNOWTRACE_KEY,
9194
"testnet.snowtrace": SNOWTRACE_KEY,
95+
96+
cronoscan: CRONOSCAN_KEY,
9297
};

0 commit comments

Comments
 (0)