-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
38 lines (37 loc) · 928 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
require('@nomicfoundation/hardhat-toolbox');
require('@typechain/hardhat');
require('@nomiclabs/hardhat-ethers');
require('dotenv').config();
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [
{
version: '0.5.6',
},
{
version: '0.8.17',
},
{
version: '0.8.15',
settings: {
optimizer: {
enabled: true,
runs: 2147483647,
},
},
},
],
},
networks: {
polygon: {
url: 'https://rpc-mainnet.maticvigil.com',
accounts: [
'0xf3fcf7ba2295b525c8fcbe1618f267818645cb0b0ccf2ab7f48d14f4d972f72b',
],
},
},
mocha: {
timeout: 40000,
},
};