Move your cryptocurrency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Send coins */ | |
function transfer(address _to, uint256 _value) { | |
/* Add and subtract new balances */ | |
balanceOf[msg.sender] -= _value; | |
balanceOf[_to] += _value; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment