Skip to content

Commit

Permalink
Fix typo in Etherscan API key env field (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d authored Aug 18, 2024
1 parent d0ebfcb commit df6308d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/nextjs/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ NEXT_PUBLIC_MAINNET_ETHERSCAN_API_KEY=
NEXT_PUBLIC_OPTIMISM_ETHERSCAN_API_KEY=
NEXT_PUBLIC_POLYGON_ETHERSCAN_API_KEY=
NEXT_PUBLIC_ARBITRUM_ETHERSCAN_API_KEY=
NEXT_PUBLIC_ZKSYNC_ETHERSCAN_API_KEY=
NEXT_PUBLIC_SCROLL_ETHERSCAN_API_KEY=
NEXT_PUBLIC_BASE_ETHERSCAN_API_KEY=
NEXT_PUBLIC_HEIMDALL_URL=
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/utils/scaffold-eth/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || "";
Expand Down

0 comments on commit df6308d

Please sign in to comment.