Where and how application data is stored in Ethereum?

  • For a Facebook-like, where are the publications and comments data?
  • For a Dropbox-like, where are my private files?
  • Or for a Slack-like chat app, where do we store discussion channels? What about Private Messages?

The Account Machine

Robot Accounts

Storage of Robot Accounts

DAPPs Fuel

Storage Cost

  1. Writing a uint8 (one byte) in storage,
  2. Incrementing a uint8 in the storage (read then write),
  3. A simple voting function. It checks that the emitter of the transaction has the right to vote and update the vote result. You can vote only once; the second attempt is short-circuited.

Two implications of the Blockchain Architecture

Finally, where should I store my data?

Appendix

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store