Skip to content

Instantly share code, notes, and snippets.

@yakkomajuri
Last active August 5, 2018 19:30
Show Gist options
  • Save yakkomajuri/de7ff626743f37e9db1d6c394e54ff1a to your computer and use it in GitHub Desktop.
Save yakkomajuri/de7ff626743f37e9db1d6c394e54ff1a to your computer and use it in GitHub Desktop.
Hello World Contract
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