-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.ts
More file actions
57 lines (53 loc) · 1.17 KB
/
hardhat.config.ts
File metadata and controls
57 lines (53 loc) · 1.17 KB
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
48
49
50
51
52
53
54
55
56
57
import { HardhatUserConfig } from "hardhat/config";
import "@nomiclabs/hardhat-etherscan";
import "@nomicfoundation/hardhat-toolbox";
import "hardhat-gas-reporter";
import * as dotenv from 'dotenv'
dotenv.config()
import { deployer } from './scripts/deploy';
task("deploy", "Deploys Smoothly Protocol")
.addOptionalParam("multisig", "The multisig address account")
.setAction(async (taskArgs) => {
await deployer(taskArgs.multisig);
});
const config: HardhatUserConfig = {
networks: {
hardhat: {
accounts: {
count: 10
}
},
goerli: {
url: process.env.GOERLI,
accounts: [process.env.OWNER]
},
holesky: {
url: process.env.HOLESKY,
accounts: [process.env.OWNER]
},
mainnet: {
url: process.env.MAINNET,
accounts: [process.env.OWNER2]
}
},
solidity: "0.8.19",
paths: {
sources: "./src",
tests: "./test",
cache: "./cache",
},
etherscan: {
apiKey: {
goerli: process.env.ETHERSCAN_API,
mainnet: process.env.ETHERSCAN_API,
holesky: process.env.ETHERSCAN_API
}
},
gasReporter: {
enabled: true
},
mocha: {
timeout: 100000
}
};
export default config;