Created
September 21, 2018 17:59
-
-
Save Pushplaybang/6d07b5dac37c8833cb7434c8dff71b3b to your computer and use it in GitHub Desktop.
Incredibly basic toy ETH smart contract.
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
pragma solidity ^0.4.17; | |
contract Inbox { | |
string public message; | |
function Inbox(string initialMessag) public { | |
message = initialMessag; | |
} | |
function setMessage(string newMessage) public { | |
message = newMessage; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment