-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
44 lines (41 loc) · 1.09 KB
/
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
42
43
44
require("@nomicfoundation/hardhat-toolbox")
require("etherscan")
require("hardhat-gas-reporter")
require("hardhat-deploy")
require("dotenv").config()
const SEPOLIA_RPC_URL = process.env.SEPOLIA_RPC_URL
const PRIVATE_KEY_1 = process.env.PRIVATE_KEY_1
// const COINMARKETCAP_API = process.env.COINMARKETCAP_API
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
// solidity: "0.8.18",
solidity: {
compilers: [{ version: "0.8.8" }, { version: "0.6.6" }],
},
networks: {
sepolia: {
url: SEPOLIA_RPC_URL,
accounts: [PRIVATE_KEY_1],
chainId: 11155111,
blockConfirmation: 6,
},
},
namedAccounts: {
deployer: {
default: 0,
},
user: {
default: 1,
},
},
gasReporter: {
enabled: true,
noColors: true,
outputFile: "gasReporter.txt",
currency: "USD",
// coinmarketcap: COINMARKETCAP_API,
token: "ETH",
},
}
//95935 funMe ave ----------- max: 104485
//56975 withdraw ave ---------max: 78329