Created
May 21, 2019 20:23
-
-
Save whiteyhat/107dcabbb0a8d19e960605deb3d37ba1 to your computer and use it in GitHub Desktop.
Hippocrates smart contract to upload the IPFS hash from the hippocrates passport
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.17; | |
contract Contract { | |
string ipfsHash; | |
function sendHippocratesHash(string x) public { | |
ipfsHash = x; | |
} | |
function getHipocrattesHash() 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