Check-in Contracts (#108)

* allow truffle contract compiled JSON

* remove PrivateFund deployment

* set ropsten deployment gas price

* check-in most recently deployed CrowdFundFactory
This commit is contained in:
Daniel Ternyak 2018-09-26 00:09:09 -05:00 committed by GitHub
parent 2886042c33
commit 52b04826bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 30491 additions and 4 deletions

3
contract/.gitignore vendored
View File

@ -1,5 +1,6 @@
node_modules
build
.idea/
yarn-error.log
.env
build/abi
build/typedefs

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,5 @@
const CrowdFundFactory = artifacts.require("./CrowdFundFactory.sol");
const PrivateFundFactory = artifacts.require("./PrivateFundFactory.sol");
module.exports = function(deployer) {
deployer.deploy(CrowdFundFactory);
deployer.deploy(PrivateFundFactory);
};

View File

@ -65,9 +65,10 @@ module.exports = {
// Useful for deploying to a public network.
// NB: It's important to wrap the provider as a function.
ropsten: {
provider: function () {return new HDWallet(mnemonic, 'https://ropsten.infura.io/' + infuraKey)},
provider: function () { return new HDWallet(mnemonic, 'https://ropsten.infura.io/' + infuraKey) },
network_id: 3, // Ropsten's id
gas: 5500000, // Ropsten has a lower block limit than mainnet
gasPrice: 20,
confirmations: 2, // # of confs to wait between deployments. (default: 0)
timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50)
skipDryRun: true // Skip dry run before migrations? (default: false for public nets )