Getting this when I am using 1.0.0-beta.18
during
var contract = web3.eth.contract(ABI).at(contractAddress);
The API changed. This would work:
var contract = new web3.eth.Contract(abi, contractAddress)
Refer to the docs: http://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#new-contract
If the API changed, then why are the tests still using it in tests?
@mbrooks You're on the wrong branch 馃槉
Its "C" now instead of "c"
but how can call contract method in web3 beta version always show error unknown account
not work unlock account here any solutions
Most helpful comment
The API changed. This would work:
Refer to the docs: http://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#new-contract