Question : How to pass ethers to deployed contracts methods truffle in local development
Answered by : yogesh-singh-nayal
instance.send(web3.utils.toWei('1', "ether")).then(function(result) { // call the contract method here
});
Source : | Last Update : Thu, 06 Oct 22