init standard token

This commit is contained in:
Iuri Matias 2019-05-22 14:50:27 -04:00
parent 2f3021e631
commit 5091fe47c8
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,9 @@ const web3 = new Web3();
const LiquidPledgingJSONConfig = require("../dist/contracts/LiquidPledging.json");
let LiquidPledging;
const StandardTokenJSONConfig = require("../dist/contracts/StandardToken.json");
let StandardToken;
function doAction(actionText, action) {
console.dir(actionText)
const confirmation = inquirer
@ -42,6 +45,7 @@ class Actions {
web3.eth.defaultAccount = accounts[0]
LiquidPledging = new web3.eth.Contract(LiquidPledgingJSONConfig.abiDefinition, LiquidPledgingJSONConfig.address);
StandardToken = new web3.eth.Contract(StandardTokenJSONConfig.abiDefinition, StandardTokenJSONConfig.address);
cb();
}, 1000);