Skip to content

Instantly share code, notes, and snippets.

@xotonic
Created August 18, 2018 08:45
Show Gist options
  • Save xotonic/007e1e95d2f946295e6b0479e07437db to your computer and use it in GitHub Desktop.
Save xotonic/007e1e95d2f946295e6b0479e07437db to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.10;
contract StringHolder {
string savedString;
function setString( string newString ) public {
savedString = newString;
}
function getString() public constant returns( string ) {
return savedString;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment