I want to send 100wei to a payable function in my deployed contract. But i don't want to sign the transaction because of to much effort to get this going. I just want to submit the transaction with metamask. Therefore i need the correct web3 command to call my 'depositFunds' method and send 100 wei.
Currently i have this command, but i get frankly an error.
myContractInstance.depositFunds().sendTransaction({from: web3.eth.accounts[0], gas: 3000000, value: 100}, function(err, res){});
What do i have to change to get this going?