-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathhardhat.config.js
49 lines (47 loc) · 1.75 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
47
48
49
require("@nomiclabs/hardhat-waffle");
require("solidity-coverage");
// You need to export an object to set up your config
// Go to https://hardhat.org/config/ to learn more
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
version: "0.8.4",
settings: {
optimizer: {
enabled: true,
runs: 2000000
}
}
},
networks: {
localtestnet: {
url: "http://192.168.3.110:8545",
chainId: 0x2711,
from: "0x196BC2aa82988aC70EBdaa311c4768b037B7aA54", //Address contract is coming from (should have a balance if using accounts = remote)
gas: "auto",
gasPrice: 0x10000000000,
gasMultiplier: 1,
accounts: "remote" // Rely on connected RPC to do the signing of TX
},
testnet: {
url: "http://35.220.203.194:8545",
chainId: 0x2711,
from: "0x423e901457cad8b0A824D52DFcFdc47e93844B60", //Address contract is coming from (this accounts private key should be in accounts array below)
gas: "auto",
gasPrice: 1000000000,
gasMultiplier: 1,
accounts: [] // Private key to sign TX from (add one private key string to array) (DO NOT COMMIT)
},
mainnet: {
url: "https://smartbch.fountainhead.cash/mainnet",
chainId: 10000,
from: "", //Address contract is coming from (this accounts private key should be in accounts array below)
gas: "auto",
gasPrice: 1050000000,
gasMultiplier: 1,
accounts: [] // Private key to sign TX from (add one private key string to array) (DO NOT COMMIT)
}
}
};