-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
47 lines (43 loc) · 1.18 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@nomicfoundation/hardhat-verify";
import dotenv from "dotenv";
dotenv.config();
const SEPOLIA_PRIVATE_KEY = process.env.SEPOLIA_PRIVATE_KEY as string;
const config: HardhatUserConfig = {
solidity: "0.8.24",
networks: {
ethSepolia: {
url: `https://rpc.sepolia.org`,
accounts: [SEPOLIA_PRIVATE_KEY],
chainId: 11155111,
},
ethHoleskyTestnet: {
url: "https://ethereum-holesky-rpc.publicnode.com",
chainId: 17000,
accounts: [SEPOLIA_PRIVATE_KEY],
},
polygonAmoyTestnet: {
url: "https://rpc-amoy.polygon.technology",
accounts: [SEPOLIA_PRIVATE_KEY],
chainId: 80002,
},
optimismSepolia: {
url: "https://sepolia.optimism.io",
chainId: 11155420,
accounts: [SEPOLIA_PRIVATE_KEY],
},
modeTestnet: {
url: "https://sepolia.mode.network",
chainId: 919,
accounts: [SEPOLIA_PRIVATE_KEY],
},
baseTestnet: {
url: "https://sepolia.base.org",
chainId: 84532,
accounts: [SEPOLIA_PRIVATE_KEY],
},
},
sourcify: { enabled: true },
};
export default config;