dsa-governance/hardhat.config.js
2021-03-27 23:58:21 +05:30

31 lines
678 B
JavaScript

require("@nomiclabs/hardhat-ethers");
require("@nomiclabs/hardhat-waffle");
require("@nomiclabs/hardhat-etherscan");
require("dotenv").config();
const ALCHEMY_ID = process.env.ALCHEMY_ID;
// You need to export an object to set up your config
// Go to https://hardhat.org/config/ to learn more
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
defaultNetwork: "hardhat",
solidity: "0.7.3",
networks: {
hardhat: {
forking: {
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
blockNumber: 12070498,
},
blockGasLimit: 12000000,
},
},
etherscan: {
apiKey: process.env.ETHERSCAN
}
};