Skip to content

Instantly share code, notes, and snippets.

Created April 11, 2016 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8c11a6dd35694080f66aea5a3c3ccd7e to your computer and use it in GitHub Desktop.
Save anonymous/8c11a6dd35694080f66aea5a3c3ccd7e to your computer and use it in GitHub Desktop.
Created using soleditor: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://chriseth.github.io/browser-solidity/?gist=
contract SimpleStorage {
uint storedData;
function set(uint x) {
storedData = 5;
}
function get() constant returns (uint retVal) {
return storedData;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment