I'm pretty new to the BC and specifically Ethereum world and I'm just starting to scratch the surface of the potential applications of this powerful technology.
As I'm approaching to build my first project ever I'd like to create a simple dApp to validate data on the db of a web platform. Basically this dApp would have two functions:
- The first posts the SHA-256 hash of a data on the BC;
- The second retrieves a specific hash stored on the BC and validates it against the one stored in the db to check if it has been altered or not.
Obviously the amount of hashes would start from one and scale continuously over time as new data are entered on the db. What would be the best way to achieve my goals? Would a Distributed Hash Table be the right fit? And lastly what would be the transaction costs of this solution?
Thanks in advance for helping me. Looking forward to your advice.