With Truffle 3.0 when I call one of my contract's function, in console I have this error:
Uncaught (in promise) Error: invalid address
I found this workaround, and in my code I try this with no success.
this.web3Provided.eth.defaultAccount=this.web3Provided.eth.coinbase;
In truffle doc they sat I can set a from address in my config, but also this not work. from: '0x8c384d9f226ea92c99f7aa83340714a6f82a3161'
I also try with this after I have imported all truffle.config file:
TruffleConfig.networks[NODE_ENV].from = this.web3Provided.eth.coinbase;
Please help me.