Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Move your cryptocurrency
/* 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