-
Notifications
You must be signed in to change notification settings - Fork 6
/
hardhat.config.ts
48 lines (45 loc) · 1.21 KB
/
hardhat.config.ts
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
import * as dotenv from "dotenv";
import * as tdly from "@tenderly/hardhat-tenderly";
import "@nomicfoundation/hardhat-toolbox";
import "@nomicfoundation/hardhat-foundry";
dotenv.config();
tdly.setup({ automaticVerifications: true });
export default {
defaultNetwork: "tenderly",
networks: {
hardhat: {
},
devnet: {
url: `https://rpc.vnet.tenderly.co/devnet/${process.env.TENDERLY_DEVNET_TEMPLATE}/${process.env.TENDERLY_DEVNET_ID}`,
accounts: [`${process.env.PRIVATE_KEY_DEPLOY}`]
},
tenderly: {
url: `https://rpc.tenderly.co/fork/${process.env.TENDERLY_FORK_ID}`,
accounts: [`${process.env.PRIVATE_KEY_DEPLOY}`]
}
},
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
tenderly: {
username: "velodrome-finance",
project: "v2",
privateVerification: false
},
paths: {
sources: "./src",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts"
},
typechain: {
outDir: "artifacts/types",
target: "ethers-v5"
}
};