-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
39 lines (38 loc) · 934 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
require("@nomicfoundation/hardhat-toolbox")
require("hardhat-deploy")
require("@chainlink/env-enc").config()
/** @type import('hardhat/config').HardhatUserConfig */
const SEPOLIA_URL = process.env.SEPOLIA_URL
const PRIVATE_KEY01 = process.env.PRIVATE_KEY01
const PRIVATE_KEY02 = process.env.PRIVATE_KEY02
const ETHERSCAN_API_KEY = process.env.ETHERSCAN_API_KEY
module.exports = {
solidity: "0.8.28",
namedAccounts: {
firstAccount: {
default: 0,
},
secoundAccount: {
default: 1,
},
},
networks: {
hardhat: {
chainId: 1337,
},
sepolia: {
url: SEPOLIA_URL,
accounts: [PRIVATE_KEY01, PRIVATE_KEY02],
chainId: 11155111,
},
},
gasReporter: {
enabled: false,
},
etherscan: {
apiKey: ETHERSCAN_API_KEY,
},
mocha: {
timeout: 300000,
},
}