2021-06-03 20:56:46 +02:00
|
|
|
/* global task, ethers */
|
|
|
|
require('@nomiclabs/hardhat-waffle')
|
|
|
|
require('dotenv').config()
|
|
|
|
|
|
|
|
const config = {
|
|
|
|
solidity: {
|
2021-06-06 19:31:32 +02:00
|
|
|
version: '0.6.12',
|
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,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = config
|