Skip to content

Instantly share code, notes, and snippets.

Created February 2, 2018 05:04
Show Gist options
  • Save anonymous/1610ce563bfd4a625434642c8d40b8d1 to your computer and use it in GitHub Desktop.
Save anonymous/1610ce563bfd4a625434642c8d40b8d1 to your computer and use it in GitHub Desktop.
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.19+commit.c4cbbb05.js&optimize=false&gist=
pragma solidity ^0.4.19;
contract HelloWorld {
string defaultResponse = "Hello to a decentralized world!";
function getResponse(string here) public returns (string) {
return here;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment