Created
December 19, 2019 15:26
-
-
Save nunofernandes-plight/16f5b9e131c997174029aea8033133c6 to your computer and use it in GitHub Desktop.
Simple Blockchain Storage
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.5.12; | |
contract SimpleStorageNuno { | |
string public text; | |
function set(string memory _text) public { | |
text = _text; | |
} | |
function get () public view returns (string memory) { | |
return text; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment