I have a React component within which a web3js function queries numbers from Ethereum by using
I want to call another function called
setNumber() that takes one
uint256, by passing to it the output that I'm getting from
getNumber(). What would be the best way to do that in Truffle/React?