We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged


When working with Truffle v5.0.39, the above-mentioned syntax is not valid. If the contract's constructor has arguments, the deploy function has to provide the arguments like this: deployer.deploy( myContract, arg1, arg2, ...); So, for example, if your constructor takes two addresses: deployer.deploy(towater, "0x15458ef540ade6068dfe2f44e8fa733c", "...

Top 50 recent answers are included