-
Notifications
You must be signed in to change notification settings - Fork 19
/
truffle-config.js
54 lines (54 loc) · 1.26 KB
/
truffle-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
50
51
52
53
54
const HDWalletProvider = require('@truffle/hdwallet-provider');
const etherscanAPIKEY = process.env.ETHERSCAN;
var mnenomic = "cup aisle bright dice when flame left assume laptop lock cry brown";
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*", // Match any network id
gas: 47000000000,
gasPrice: 1
},
mainnet: {
host: "localhost",
port: 8101,
from: "0xe600696eb0555c93f2c391a1406726cee239091d",
network_id: "57",
gas: 1000000,
maxFeePerGas: 1000000,
maxPriorityFeePerGas: "1000000"
},
tanenbaum: {
host: "localhost",
port: 8101,
from: "0xe600696eb0555c93f2c391a1406726cee239091d",
network_id: "5700",
gas: 1000000,
maxFeePerGas: 1000000,
maxPriorityFeePerGas: "1000000"
},
rinkeby: {
provider: function () {
return new HDWalletProvider(mnenomic, "http://localhost:8101");
},
network_id: "5700",
gasPrice: "6000000000"
}
},
api_keys: {
etherscan: etherscanAPIKEY
},
compilers: {
solc: {
version: "0.8.17",
docker: false,
settings: {
optimizer: {
enabled: true,
runs: 200
},
}
}
}
};