My contracts were tested in both Browser Solidity and Mist Wallet and it works fine. I am trying to use testrpc and trying to depoy
Below is the javascript I am using it on truffle console
contribute - is a function which will accept address and it is of payable type. "0xe014b7528ae8b245b829dca3f9abceabc777b387" is the contract address
Please let me know what could be wrong here.
truffle(development)> hub.then(function(instance){
return instance.contribute("0xe014b7528ae8b245b829dca3f9abceabc777b387",{
from:web3.eth.accounts[0],value:10
});
}).then(function(result) {console.log(result)});