dsa-governance/hardhat.config.js

31 lines
678 B
JavaScript
Raw Normal View History

2021-03-25 06:57:04 +00:00
require("@nomiclabs/hardhat-ethers");
2021-03-22 07:44:03 +00:00
require("@nomiclabs/hardhat-waffle");
2021-03-25 06:57:04 +00:00
require("@nomiclabs/hardhat-etherscan");
2021-03-22 07:44:03 +00:00
2021-03-25 06:57:04 +00:00
require("dotenv").config();
const ALCHEMY_ID = process.env.ALCHEMY_ID;
2021-03-22 07:44:03 +00:00
// 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 = {
2021-03-25 06:57:04 +00:00
defaultNetwork: "hardhat",
2021-03-22 07:44:03 +00:00
solidity: "0.7.3",
2021-03-27 18:28:21 +00:00
networks: {
hardhat: {
forking: {
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
blockNumber: 12070498,
},
blockGasLimit: 12000000,
},
},
2021-03-25 06:57:04 +00:00
etherscan: {
apiKey: process.env.ETHERSCAN
}
2021-03-22 07:44:03 +00:00
};