2023-11-19 16:51:07 +03:00
|
|
|
import { HardhatUserConfig } from "hardhat/config";
|
|
|
|
import "@nomicfoundation/hardhat-toolbox";
|
2023-11-20 18:53:45 +03:00
|
|
|
import "@nomicfoundation/hardhat-verify";
|
2023-11-19 16:51:07 +03:00
|
|
|
|
|
|
|
import dotenv from 'dotenv';
|
|
|
|
dotenv.config();
|
|
|
|
|
|
|
|
const config: HardhatUserConfig = {
|
|
|
|
solidity: "0.8.19",
|
|
|
|
mocha: {
|
|
|
|
timeout: 100000000,
|
|
|
|
},
|
|
|
|
networks: {
|
|
|
|
mainnet: {
|
|
|
|
url: "https://eth.llamarpc.com",
|
|
|
|
accounts: [process.env.REAL_PK!],
|
|
|
|
},
|
|
|
|
hardhat: {
|
|
|
|
forking: {
|
|
|
|
url: "https://eth.llamarpc.com",
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
chainId: 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
etherscan: {
|
|
|
|
apiKey: process.env.ETHERSCAN_KEY,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|