27 lines
562 B
JavaScript
27 lines
562 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
|
|
}
|
|
}
|
|
},
|
|
etherscan: {
|
|
apiKey: process.env.ETHERSCAN_KEY
|
|
}
|
|
};
|