forked from l-henri/erc721-101
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathhardhat.config.js
41 lines (40 loc) · 890 Bytes
/
hardhat.config.js
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
require("@nomicfoundation/hardhat-toolbox");
require('dotenv').config()
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
networks: {
hardhat: {
},
holesky: {
url: "https://holesky.infura.io/v3/" + process.env.infura,
accounts: [process.env.privateKey]
},
sepolia: {
url: "https://sepolia.infura.io/v3/" + process.env.infura,
accounts: [process.env.privateKey],
gasMultiplier: 3.6
}
},
solidity: {
version: "0.8.18",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
etherscan: {
apiKey: process.env.etherscan,
customChains: [
{
network: "holesky",
chainId: 17000,
urls: {
apiURL: "https://api-holesky.etherscan.io/api",
browserURL: "https://holesky.etherscan.io"
}
}
]
}
};