-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
41 lines (40 loc) · 1.05 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
require("@nomicfoundation/hardhat-toolbox");
require("@nomicfoundation/hardhat-verify");
require("@nomiclabs/hardhat-web3");
require('@openzeppelin/hardhat-upgrades');
require('dotenv').config()
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.24",
settings: {
optimizer: {
enabled: true,
runs: 1000,
},
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
},
sourcify: {
enabled: false
},
networks: {
hardhat: {
allowUnlimitedContractSize: true,
},
localhost: {
//url: ``,
sabler: '0x7a43F8a888fa15e68C103E18b0439Eb1e98E4301',
},
sepolia: {
url: `https://sepolia.infura.io/v3/${process.env.INFURA_API_KEY}`,
accounts: [process.env.SEPOLIA_PRIVATE_KEY],
sabler: '0x7a43F8a888fa15e68C103E18b0439Eb1e98E4301',
},
mainnet: {
url: `https://mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`,
accounts: [process.env.MAINNET_PRIVATE_KEY],
sabler: '0xB10daee1FCF62243aE27776D7a92D39dC8740f95',
}
},
};