From 664cf38bac38747413d83af7f0c8b1c8ac2283be Mon Sep 17 00:00:00 2001 From: adeojoemmanuel Date: Sat, 4 Jun 2022 17:53:21 +0100 Subject: [PATCH] added cronos and cronosTestnet to network --- src/etherscan.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/etherscan.ts b/src/etherscan.ts index a26a38d5..2cb4b7c2 100644 --- a/src/etherscan.ts +++ b/src/etherscan.ts @@ -223,6 +223,12 @@ export async function submitSources( case '43114': host = 'https://api.snowtrace.io'; break; + case '338': + host = 'https://api-testnet.cronoscan.com/api'; + break; + case '25': + host = 'https://api.cronoscan.com/api'; + break; default: return logError( `Network with chainId: ${chainId} not supported. You can specify the url manually via --api-url .`