From 0ecb6bdb6ae7378005c1116ca26e788121f33a57 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Fri, 16 Aug 2024 19:22:49 +0200 Subject: [PATCH] Fix typo in Etherscan API key env field (should match .env.example) --- packages/nextjs/utils/scaffold-eth/networks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/utils/scaffold-eth/networks.ts b/packages/nextjs/utils/scaffold-eth/networks.ts index f2ef19c4..662b2d45 100644 --- a/packages/nextjs/utils/scaffold-eth/networks.ts +++ b/packages/nextjs/utils/scaffold-eth/networks.ts @@ -43,7 +43,7 @@ export const getAlchemyHttpUrl = (chainId: number) => { : undefined; }; -const MAINNET_ETHERSCAN_API_KEY = process.env.NEXT_PUBLIC_ETHERSCAN_API_KEY || "DNXJA8RX2Q3VZ4URQIWP7Z68CJXQZSC6AW"; +const MAINNET_ETHERSCAN_API_KEY = process.env.NEXT_PUBLIC_MAINNET_ETHERSCAN_API_KEY || "DNXJA8RX2Q3VZ4URQIWP7Z68CJXQZSC6AW"; const OPTIMISM_ETHERSCAN_API_KEY = process.env.NEXT_PUBLIC_OPTIMISM_ETHERSCAN_API_KEY || ""; const POLYGON_ETHERSCAN_API_KEY = process.env.NEXT_PUBLIC_POLYGON_ETHERSCAN_API_KEY || ""; const ARBITRUM_ETHERSCAN_API_KEY = process.env.NEXT_PUBLIC_ARBITRUM_ETHERSCAN_API_KEY || "";