Created
September 27, 2018 22:52
-
-
Save dev-yohan/0f0e8ab1089c15ca7a00f36c21d3649e to your computer and use it in GitHub Desktop.
Solidity hello_world
This file contains hidden or 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.4.25; | |
contract HELLO_WORLD { | |
string message; | |
constructor () public { | |
message = 'Hello !!'; | |
} | |
function setName(string _message) public { | |
message = _message; | |
} | |
function getName() public view returns(string) { | |
return message; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment