Last active
August 5, 2018 19:30
-
-
Save yakkomajuri/de7ff626743f37e9db1d6c394e54ff1a to your computer and use it in GitHub Desktop.
Hello World Contract
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.4.24; | |
contract Hello { | |
address owner; | |
constructor () public { | |
owner = msg.sender; | |
} | |
function HelloWorld () public view returns (string) { | |
require (msg.sender == owner); | |
return "HelloWorld"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment