tornado-nova/hardhat.config.js
2021-08-21 15:23:17 +03:00

35 lines
677 B
JavaScript

require('@typechain/hardhat')
require('@nomiclabs/hardhat-ethers')
require('@nomiclabs/hardhat-waffle')
require('dotenv').config()
const config = {
solidity: {
version: '0.7.6',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
networks: {
// 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',
// },
// },
},
mocha: {
timeout: 600000000,
},
typechain: {
outDir: 'src/types',
},
}
module.exports = config