-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.ts
32 lines (29 loc) · 1019 Bytes
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
const deployer = process.env.PRIVATE_KEY || "";
export const networks = {
sepolia: {
chainId: 11155111,
url: "https://sepolia.infura.io/v3/b26b0053be7d41028189282b49c2150f",
accounts: [deployer],
},
}
const config: HardhatUserConfig = {
solidity: "0.8.24",
defaultNetwork: "hardhat",
etherscan: {
apiKey: {
arbitrumOne: process.env.ARBISCAN_API_KEY || "",
avalanche: process.env.SNOWTRACE_API_KEY || "",
bsc: process.env.BSCSCAN_API_KEY || "",
bscTestnet: process.env.BSCSCAN_TESTNET_API_KEY || "",
mainnet: process.env.ETHERSCAN_API_KEY || "",
optimisticEthereum: process.env.OPTIMISM_API_KEY || "",
polygon: process.env.POLYGONSCAN_API_KEY || "",
polygonMumbai: process.env.POLYGONSCAN_API_KEY || "",
sepolia: process.env.ETHERSCAN_API_KEY || "",
zkSyncEra: process.env.ETHERSCAN_API_KEY || "",
},
},
};
export default config;