2023-10-21 23:11:35 +03:00
|
|
|
require("@nomicfoundation/hardhat-toolbox");
|
2023-10-26 12:39:16 +03:00
|
|
|
require("dotenv").config();
|
2023-10-21 23:11:35 +03:00
|
|
|
|
|
|
|
/** @type import('hardhat/config').HardhatUserConfig */
|
|
|
|
module.exports = {
|
|
|
|
solidity: "0.6.12",
|
2023-10-26 12:39:16 +03:00
|
|
|
mocha: {
|
|
|
|
timeout: 100000000,
|
|
|
|
},
|
2023-10-21 23:11:35 +03:00
|
|
|
networks: {
|
|
|
|
mainnet: {
|
2023-10-26 12:39:16 +03:00
|
|
|
url: "https://eth.llamarpc.com",
|
|
|
|
accounts: [process.env.REAL_PK],
|
2023-10-21 23:11:35 +03:00
|
|
|
},
|
|
|
|
testnet: {
|
|
|
|
url: "https://ethereum-goerli.publicnode.com",
|
2023-10-26 12:39:16 +03:00
|
|
|
accounts: [process.env.TEST_PK],
|
2023-10-21 23:11:35 +03:00
|
|
|
},
|
|
|
|
hardhat: {
|
|
|
|
forking: {
|
|
|
|
url: "https://eth.llamarpc.com",
|
|
|
|
enabled: true,
|
2023-10-26 12:39:16 +03:00
|
|
|
blockNumber: 18431526,
|
|
|
|
accounts: [process.env.REAL_PK],
|
2023-10-23 16:48:36 +03:00
|
|
|
},
|
2023-10-26 12:39:16 +03:00
|
|
|
chainId: 1,
|
|
|
|
accounts: [{ privateKey: process.env.REAL_PK, balance: "10000000000000000000000000000000" }],
|
|
|
|
},
|
2023-10-21 23:11:35 +03:00
|
|
|
},
|
|
|
|
etherscan: {
|
2023-10-26 12:39:16 +03:00
|
|
|
apiKey: process.env.ETHERSCAN_KEY,
|
|
|
|
},
|
2023-10-21 23:11:35 +03:00
|
|
|
};
|