show contract's address

This commit is contained in:
Roman Storm 2019-07-15 14:34:54 -07:00
parent de376529ab
commit 857ebd0496

View File

@ -10,6 +10,7 @@ module.exports = function(deployer) {
const verifier = await Verifier.deployed()
const miMC = await MiMC.deployed()
await Mixer.link(MiMC, miMC.address)
await deployer.deploy(Mixer, verifier.address, AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT)
const mixer = await deployer.deploy(Mixer, verifier.address, AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT)
console.log("Mixer's address ", mixer.address)
})
};