-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.js
More file actions
36 lines (33 loc) · 894 Bytes
/
Copy pathhardhat.config.js
File metadata and controls
36 lines (33 loc) · 894 Bytes
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
require("@nomicfoundation/hardhat-toolbox");
const NEXT_PUBLIC_POLYGON_MUMBAI_RPC = "YOUR RPC URL";
const NEXT_PUBLIC_PRIVATE_KEY = "PRIVATE KEY";
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
// solidity: "0.8.20",
// defaultNetwork: "sepolia",
networks: {
hardhat: {},
// polygon_mumbai: {
// url: NEXT_PUBLIC_POLYGON_MUMBAI_RPC,
// accounts: [`0x${NEXT_PUBLIC_PRIVATE_KEY}`],
// },
sepolia: {
url: 'https://eth-sepolia.g.alchemy.com/v2/U85JCEL0GxZZhXpHpu7009oLBrf4gc5z',
accounts: ["0xee1a8ab44bb95f362c1f7b9d5a2c0bdfbc45fbe43ff51361b5ea9e1b09371631"]
},
},
version: "0.8.24",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
// // fuji: {
// // url: `Your URL`,
// // accounts: [
// // `0x${"Your Account"}`,
// // ],
// // },
// },
};