2021-08-21 14:23:17 +02:00
|
|
|
require('@typechain/hardhat')
|
|
|
|
require('@nomiclabs/hardhat-ethers')
|
2021-06-03 20:56:46 +02:00
|
|
|
require('@nomiclabs/hardhat-waffle')
|
|
|
|
require('dotenv').config()
|
|
|
|
|
|
|
|
const config = {
|
|
|
|
solidity: {
|
2021-07-06 23:10:18 +02:00
|
|
|
version: '0.7.6',
|
2021-06-03 20:56:46 +02:00
|
|
|
settings: {
|
|
|
|
optimizer: {
|
|
|
|
enabled: true,
|
|
|
|
runs: 200,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
networks: {
|
2021-06-06 19:31:32 +02:00
|
|
|
// goerli: {
|
|
|
|
// url: process.env.ETH_RPC,
|
|
|
|
// accounts: process.env.PRIVATE_KEY
|
|
|
|
// ? [process.env.PRIVATE_KEY]
|
|
|
|
// : {
|
|
|
|
// mnemonic: 'test test test test test test test test test test test junk',
|
|
|
|
// },
|
|
|
|
// },
|
2021-06-03 20:56:46 +02:00
|
|
|
},
|
|
|
|
mocha: {
|
|
|
|
timeout: 600000000,
|
|
|
|
},
|
2021-08-21 14:23:17 +02:00
|
|
|
typechain: {
|
|
|
|
outDir: 'src/types',
|
|
|
|
},
|
2021-06-03 20:56:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = config
|