-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathtruffle-config.js
More file actions
33 lines (32 loc) · 1013 Bytes
/
truffle-config.js
File metadata and controls
33 lines (32 loc) · 1013 Bytes
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
module.exports = {
// Uncommenting the defaults below
// provides for an easier quick-start with Ganache.
// You can also follow this format for other networks;
// see <http://truffleframework.com/docs/advanced/configuration>
// for more details on how to specify configuration options!
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*"
}
},
compilers: {
solc: {
version: "^0.8.0", // A version or constraint - Ex. "^0.5.0"
// Can also be set to "native" to use a native solc
docker: false, // Use a version obtained through docker
parser: "solcjs", // Leverages solc-js purely for speedy parsing
settings: {
optimizer: {
enabled: true,
runs: 200 // Optimize for how many times you intend to run the code
}
//evmVersion: <string> // Default: "istanbul"
},
modelChecker: {
// contains options for SMTChecker
}
}
}
};