-
-
Save akegaviar/7ae72e1d359349960efa067a141f5bfc to your computer and use it in GitHub Desktop.
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.6.1; | |
contract helloBlock { | |
string message; | |
constructor() public { | |
message = "Hello, Block! In Solidity!"; | |
} | |
function printMessage() public view returns (string memory) { | |
return message; | |
} | |
function setMessage(string memory _message) public { | |
message = _message; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment