tornado-nova/hardhat.config.js

39 lines
718 B
JavaScript

/* global task, ethers */
require('@nomiclabs/hardhat-waffle')
require('dotenv').config()
const config = {
solidity: {
version: '0.5.10',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
networks: {
hardhat: {
gasPrice: 0,
chainId: 1,
forking: {
url: process.env.ETH_RPC,
blockNumber: 12197930,
},
},
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,
},
}
module.exports = config