I'm a total newbie to blockchain and just started with it a week ago. I have already deployed a private Ethereum blockchain and want to use it to ensure document integrity which means that I'll be storing MD5 checksums on the blockchain to check at a later point in time.
Now I understand that a blockchain is not for storing data and one should use OP_RETURN to store such information if desired. This brings me to my question i.e. How do I create such a transaction and add the document's hash to it in OP_RETURN using:
- A web3.eth object
- Nethereum
Any and all help will be appreciated.
promisesin javascript. Nice edit there http://ethereum.stackexchange.com/posts/12672/revisions – niksmac Mar 02 '17 at 14:49OP_RETURN? @eth thanks for the update. – niksmac Mar 02 '17 at 15:21OP_RETURNis from the Bitcoin world - this isn't an Ethereum thing... (You could copy its functionality using a contract, but that's probably a different question entirely.) – Richard Horrocks Mar 02 '17 at 17:29