forked from eastata/erc1820-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle-config.js
39 lines (37 loc) · 1.13 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
const GAS = 10000000
// Replace it for Autonity network
//const PrivateKeyProvider = require("truffle-privatekey-provider");
//const PRIVATE_KEY = "0b04d7f7099c07632b43b6e259e37cb44b8cf329cd1dce423d0523aa98d91737"
//const AUTONITY_RPC = "http://127.0.0.1:8545"
//const GAS_PRICE = 10000000000000
//const NETWORK_ID = 444800
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
gas: GAS,
network_id: "*"
},
// // Replace it for Autonity network
// development: {
// provider: () => new PrivateKeyProvider(PRIVATE_KEY, AUTONITY_RPC),
// gas: GAS,
// gasPrice: GAS_PRICE,
// network_id: NETWORK_ID
// },
},
compilers: {
solc: {
version: "0.5.3", // Fetch exact version from solc-bin (default: truffle's version)
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
// settings: { // See the solidity docs for advice about optimization and evmVersion
// optimizer: {
// enabled: false,
// runs: 200
// },
// evmVersion: "byzantium"
// }
}
}
}