All Questions
3 questions
1
vote
1
answer
484
views
ComponentDidMount doesn' detect Metamask change account
I'm quite new to Web3 and Metamask and would like to ask how should I change the basic componenDidMount of the React truffle box so that it can detect and change accounts when I'm switching an account ...
0
votes
0
answers
108
views
Not able to call the solidity function through App.js? Anyone know how to call a solidity function?
I'm trying to call a Solidity function from App.js, but I'm unsuccessful even after a number of tries.
Its a very simple function betOnTeam(). Inside this function I just want to check condition and ...
0
votes
1
answer
109
views
web3js metamask function undefined after updating
I added a new function exampleFunc in solidity the mycontract.json file gets updated with that function with public visibility but web3.eth.contract(abiArray).at(address); does not contains the newly ...