-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtruffle.js
More file actions
31 lines (30 loc) · 872 Bytes
/
truffle.js
File metadata and controls
31 lines (30 loc) · 872 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
const HDWalletProvider = require('@truffle/hdwallet-provider');
require('dotenv').config();
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 7545,
network_id: "*", // Match any network id
from: process.env.OA //dummy account in ganache but should be set to the angel deployer wallet for mainnet deployment
}//,
// rinkeby: {
// provider: function() { return new HDWalletProvider(process.env.MNEMONIC, "https://rinkeby.infura.io/v3/" + process.env.INFURA_API_KEY)},
// network_id: 4,
// gas: 6500000,
// gasPrice: 75000000000
// }
},
plugins: ["truffle-contract-size"],
contracts_directory: './contracts/',
contracts_build_directory: './abis/',
compilers: {
solc: {
version: "0.8.0",
optimizer: {
enabled: true,
runs: 200
}
}
}
}