forked from mcchan1/eth-ipfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data to ipfs, return txhash, retrieve tx receipt. ToDO: add loading for txreceipt button
- Loading branch information
Showing
10 changed files
with
388 additions
and
41 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
pragma solidity ^0.4.17; | ||
|
||
|
||
contract Contract { | ||
string ipfsHash; | ||
address public sender; | ||
|
||
function sendHash(string x) public { | ||
ipfsHash = x; | ||
} | ||
function notary() { | ||
sender = msg.sender; | ||
} | ||
|
||
function getHash() public view returns (string x) { | ||
return ipfsHash; | ||
} | ||
|
||
} | ||
//0x2cccd6e8269f0080a094ae8ccf17db93528ca0cd contract address |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.