-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
46 lines (44 loc) · 1.42 KB
/
hardhat.config.js
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
46
require("@nomicfoundation/hardhat-toolbox");
require("dotenv").config();
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
networks: {
arbitrum: {
url: "https://arbitrum-one-rpc.publicnode.com",
accounts: [process.env.PRIVATE_KEY],
allowUnlimitedContractSize: true,
chainId: 42161,
gas: 5000000, //units of gas you are willing to pay, aka gas limit
gasPrice: 50000000000, //gas is typically in units of gwei, but you must enter it as wei here
},
ethSepolia: {
url: "https://ethereum-sepolia-rpc.publicnode.com",
accounts: [process.env.PRIVATE_KEY],
chainId: 11155111,
allowUnlimitedContractSize: true,
gas: 5000000, //units of gas you are willing to pay, aka gas limit
gasPrice: 50000000000, //gas is typically in units of gwei, but you must enter it as wei here
},
arbSepolia: {
url: "https://arbitrum-sepolia-rpc.publicnode.com",
accounts: [process.env.PRIVATE_KEY],
chainId: 421614,
allowUnlimitedContractSize: true,
gas: 5000000, //units of gas you are willing to pay, aka gas limit
gasPrice: 50000000000, //gas is typically in units of gwei, but you must enter it as wei here
},
},
solidity: {
compilers: [
{
version: "0.8.24",
settings: {
optimizer: {
enabled: true,
runs: 200,
}
}
},
],
},
}