-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
38 lines (36 loc) · 979 Bytes
/
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
require("@nomicfoundation/hardhat-toolbox");
require('dotenv').config()
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
defaultNetwork: 'localhost',
solidity: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 1000
}
},
networks: {
localhost: {
forking: {
url: process.env.HEDERA_RPC,
gas: 21000000,
}
},
hedera: {
url: process.env.HEDERA_RPC,
accounts: [process.env.PRIVATE_KEY_1, process.env.PRIVATE_KEY_2, process.env.PRIVATE_KEY_3],
gas: 21000000,
},
hedera_local: {
url: process.env.HEDERA_LOCAL_RPC,
accounts: [process.env.PRIVATE_KEY_1, process.env.PRIVATE_KEY_2, process.env.PRIVATE_KEY_3],
gas: 21000000,
},
hedera_previewnet: {
url: process.env.HEDERA_PREVIEWNET_RPC,
accounts: [process.env.PRIVATE_KEY_1, process.env.PRIVATE_KEY_2, process.env.PRIVATE_KEY_3],
gas: 21000000,
}
}
};