ConsenSysMesh / web3studio-sojourn

A React Native DevKit with code for a Web3 Decentralized Data Storage Pattern.
https://consensys.github.io/web3studio-sojourn/
Apache License 2.0
31 stars 5 forks source link

Create Smart Contract that stores hash of associated notes. #9

Closed hadasz closed 5 years ago

hadasz commented 5 years ago

As a user, I also want a hash of the notes stored on Ethereum, so I can prove that I wrote them when I did and that nobody has tampered with them since.

Acceptance

barlock commented 5 years ago

Assuming a single contract for the whole app, the contract will store a tuple of:

uint256 (content hash) => { address: tx.origin, uint256: block.timestamp }