forked from apurbapokharel/EIP712Example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtruffle-config.js
More file actions
21 lines (21 loc) · 868 Bytes
/
truffle-config.js
File metadata and controls
21 lines (21 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const path = require("path");
const HDWalletProvider = require('@truffle/hdwallet-provider');
const mnemonic = "add mnemonics from infura here";
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
contracts_build_directory: path.join(__dirname, "client/src/contracts"),
networks: {
develop: {
port: 8545
},
rinkeby: {
provider: () => new HDWalletProvider(mnemonic, `https://rinkeby.infura.io/v3/423cea75c9a54548b6c871e5bc63f03e`),
network_id: 4, // rinkeby's id
gas: 5500000,
timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50)
skipDryRun: true, // Skip dry run before migrations? (default: false for public nets )
from: 'add address to deploy contract with'
}
}
};