forked from rmourey26/CMTAT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle-config.js
39 lines (38 loc) · 1.15 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
require('dotenv').config()
module.exports = {
networks: {
ganache: {
host: "127.0.0.1",
port: 8555,
network_id: "*", // match any network
},
live: {
host: "178.25.19.88", // Random IP for example purposes (do not use)
port: 80,
network_id: 1, // Ethereum public network
// optional config values:
// gas
// gasPrice
// from - default address to use for any transaction Truffle makes during migrations
// provider - web3 provider instance Truffle should use to talk to the Ethereum network.
// - function that returns a web3 provider instance (see below.)
// - if specified, host and port are ignored.
// skipDryRun: - true if you don't want to test run the migration locally before the actual migration (default is false)
// timeoutBlocks: - if a transaction is not mined, keep waiting for this number of blocks (default is 50)
}
},
compilers: {
solc: {
version: '0.8.17',
settings: {
optimizer: {
enabled: true,
runs: 500
}
}
}
},
plugins: [
'truffle-contract-size'
]
}