Skip to content

Instantly share code, notes, and snippets.

@mager mager/inbox.sol
Created Feb 1, 2018

Embed
What would you like to do?
Inbox contract example
pragma solidity ^0.4.18;
contract Inbox {
string public message;
function Inbox(string initialMessage) public {
message = initialMessage;
}
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
You can’t perform that action at this time.