-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
45 lines (43 loc) · 1.12 KB
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "hardhat-gas-reporter"
require('dotenv').config()
const config: HardhatUserConfig = {
networks: {
hardhat: {
// blockGasLimit: 0x1fffffffffff,
gasPrice: 0,
initialBaseFeePerGas: 0
// allowUnlimitedContractSize: true,
},
sepolia: {
url: 'https://rpc.ankr.com/eth_sepolia',
accounts: [process.env.DEPLOYER_PRIVATE_KEY?process.env.DEPLOYER_PRIVATE_KEY:'']
},
mumbai: {
url: 'https://rpc-mumbai.maticvigil.com ',
accounts: [process.env.DEPLOYER_PRIVATE_KEY?process.env.DEPLOYER_PRIVATE_KEY:'']
},
// mainnet: {
// url: `https://rpc.ankr.com/eth`,
// accounts: ['']
// },
goerli: {
url: `https://rpc.ankr.com/eth_goerli`,
accounts: [process.env.DEPLOYER_PRIVATE_KEY?process.env.DEPLOYER_PRIVATE_KEY:'']
},
},
solidity: {
compilers: [
{
version: "0.8.9",
},
],
},
gasReporter: {
enabled: (process.env.REPORT_GAS) ? true : false,
currency: 'USD',
gasPrice: 90
},
};
export default config;