-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
52 lines (49 loc) · 1.18 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
49
50
51
52
import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-web3';
import '@openzeppelin/hardhat-upgrades';
import '@typechain/hardhat';
import "@nomicfoundation/hardhat-toolbox";
import * as tdly from "@tenderly/hardhat-tenderly";
import * as dotenv from "dotenv";
dotenv.config();
tdly.setup();
module.exports = {
solidity: {
version: '0.8.13',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
typechain: {
outDir: 'typechain-types',
target: 'ethers-v5',
},
networks: {
arbitrumOne: {
url: process.env.ARBITRUMONE_RPC_URL ?? "",
accounts: [process.env.MAINNET_PRIVATE_KEY ?? ""],
},
arbitrumGoerli: {
url: process.env.ARBITRUMGOERLI_RPC_URL ?? "",
accounts: [process.env.MAINNET_PRIVATE_KEY ?? ""],
},
tenderly: {
url: process.env.OPTIMISM_RPC_URL ?? "",
accounts: [process.env.MAINNET_PRIVATE_KEY ?? ""],
},
},
tenderly: {
project: "Project",
username: "alphanetra",
privateVerification: true,
},
etherscan: {
apiKey: {
arbitrumOne: 'JWEPP1A57KZPWD7JPXK9B64AJRSJRTVTDG',
arbitrumGoerli: 'JWEPP1A57KZPWD7JPXK9B64AJRSJRTVTDG'
}
}
};