12406/solidity-code-to-change-value-of-name
I am following tutorial and I have two tasks to do.
I have completed writing the other methods and it works fine but I’m stuck with this. Can someone tell how can I implement this?
Try this for setName:
function setName(string _name) public {
name = _name;
}
And this for increaseCounter:
function increaseCounter() public {
counter += 10;
This should work.
Use full format for running a business ...READ MORE
msg.sender(address) function indicated the sender of the ...READ MORE
The setLog transaction has not yet been mined by ...READ MORE
You can do this. I have shared ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
You can connect javascript to solidity by ...READ MORE
Once you call a constant function, you ...READ MORE
web3j caters for this very use case. It ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.