Skip to content

Instantly share code, notes, and snippets.

@linux08
Created November 4, 2018 23:02
Show Gist options
  • Save linux08/5e6576262f52ba4dc05e90b995b59cc6 to your computer and use it in GitHub Desktop.
Save linux08/5e6576262f52ba4dc05e90b995b59cc6 to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.0;
contract SaveAddress {
string ipfsHash;
function saveHash(string x) public {
ipfsHash = x;
}
function getHash( string y) public view returns ( string x) {
return ipfsHash;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment