31 lines
575 B
TypeScript
31 lines
575 B
TypeScript
import { HardhatUserConfig } from "hardhat/config";
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
|
|
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;
|