Skip to content

Commit

Permalink
dry run with params
Browse files Browse the repository at this point in the history
  • Loading branch information
ameensol committed Sep 1, 2018
1 parent a93fd4b commit 61b452d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions migrations/2_deploy_token_and_spankbank.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ module.exports = (deployer, network, accounts) => {

deployer.deploy(SpankBank, data.spankbank.periodLength, data.spankbank.maxPeriods, data.token.address, data.spankbank.initialBootySupply, data.booty.name, data.booty.decimals, data.booty.symbol)
}

// 2592000, 12, "0x42d6622dece394b54999fbd73d108123806f6a18", 10069000000000000000000, "BOOTY", 18, "BOOTY"

11 changes: 9 additions & 2 deletions truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@ module.exports = {
port: 8545,
network_id: "*" // match any network
},
mainnet: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://mainnet.infura.io/M2xeaVefzxkLhvrTLq43")
},
network_id: "1", // match any network
gas: 7900000
},
rinkeby: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://rinkeby.infura.io/M2xeaVefzxkLhvrTLq43")
},
network_id: 4
}
}
}
};

/*
/*
Available Accounts
==================
(0) 0x8ec75ef3adf6c953775d0738e0e7bd60e647e5ef
Expand Down

0 comments on commit 61b452d

Please sign in to comment.