28 lines
581 B
JavaScript
28 lines
581 B
JavaScript
require("@nomicfoundation/hardhat-toolbox");
|
|
require("dotenv").config()
|
|
|
|
/** @type import('hardhat/config').HardhatUserConfig */
|
|
module.exports = {
|
|
solidity: "0.6.12",
|
|
networks: {
|
|
mainnet: {
|
|
url: "https://eth.llamarpc.com"
|
|
},
|
|
testnet: {
|
|
url: "https://ethereum-goerli.publicnode.com",
|
|
accounts: [process.env.TEST_PK]
|
|
},
|
|
hardhat: {
|
|
forking: {
|
|
url: "https://eth.llamarpc.com",
|
|
enabled: true,
|
|
blockNumber: 18391425,
|
|
},
|
|
chainId: 1
|
|
}
|
|
},
|
|
etherscan: {
|
|
apiKey: process.env.ETHERSCAN_KEY
|
|
}
|
|
};
|