EthernityDB – Integrating Database Functionality into a Blockchain

  • Sven HelmerEmail author
  • Matteo Roggia
  • Nabil El Ioini
  • Claus Pahl
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 909)


We develop EthernityDB, a system that integrates database functionality into an Ethereum blockchain. In contrast to other systems, in our approach all the data is kept on the chain, giving us all the guarantees of a blockchain in terms of consistency, immutability, and security. Mapping the database functionality onto Ethereum’s smart contracts is not a straightforward process: by modularizing the code in certain ways, we can bring down the transaction cost considerably. In a experimental evaluation we illustrate various trade-offs, measuring these transaction costs, and also discuss building blockchain-based data storage in a more general context.


Blockchain Decentralized databases Smart contracts 


  1. 1.
    Al-Bassam, M., Sonnino, A., Bano, S., Hrycyszyn, D., Danezis, G.: Chainspace: a sharded smart contracts platform. In: NDSS 2018 (2018)Google Scholar
  2. 2.
    Bano, S., et al.: Consensus in the age of blockchains. CoRR abs/1711.03936 (2017)Google Scholar
  3. 3.
    Chodorow, K.: MongoDB: The Definitive Guide. O’Reilly, Sebastopol (2013)Google Scholar
  4. 4.
    Code, K.: Use case for factom: the world’s first blockchain operating system (2015). Accessed Feb 2015
  5. 5.
    CoinDesk: Ethereum’s big switch: The new roadmap to proof-of-stake (2017). Accessed Oct 2017
  6. 6.
    Dannen, C.: Solidity programming. In: Introducing Ethereum and Solidity, pp. 69–88. Springer, Berkeley (2017).
  7. 7.
    Helland, P.: Immutability changes everything. In: CIDR 2015. Asilomar, California, January 2015Google Scholar
  8. 8.
    Komorowski, M.: A history of storage cost. (2009). Accessed Aug 2017
  9. 9.
    Li, Y., Zheng, K., Yan, Y., Liu, Q., Zhou, X.: EtherQL: a query layer for blockchain system. In: Candan, S., Chen, L., Pedersen, T.B., Chang, L., Hua, W. (eds.) DASFAA 2017. LNCS, vol. 10178, pp. 556–567. Springer, Cham (2017). Scholar
  10. 10.
    Luu, L., Chu, D.H., Olickel, H., Saxena, P., Hobor, A.: Making smart contracts smarter. In: CCS 2016, pp. 254–269. ACM (2016)Google Scholar
  11. 11.
    McConaghy, T., et al.: BigchainDB: a scalable blockchain database. white paper, BigChainDB (2016)Google Scholar
  12. 12.
    Miller, A., Juels, A., Shi, E., Parno, B., Katz, J.: Permacoin: repurposing bitcoin work for data preservation. In: SP 2014, pp. 475–490. IEEE (2014)Google Scholar
  13. 13.
    Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system (2008)Google Scholar
  14. 14.
    Omaar, J.: Forever isn’t free: the cost of storage on a blockchain database (2017). Accessed Oct 2017
  15. 15.
    Tech, R., Neumann, K., Michel, W.: Blockchain technology and open source sensor networks. In: 1. Interdisziplinäre Konferenz zur Zukunft der Wertschöpfung. pp. 125–134. Hamburg (2016)Google Scholar
  16. 16.
    Wang, S., et al.: Forkbase: an efficient storage engine for blockchain and forkable applications. CoRR abs/1802.04949 (2018)Google Scholar
  17. 17.
    Wilkinson, S., Boshevski, T., Brandoff, J., Buterin, V.: Storj a peer-to-peer cloud storage network (2014)Google Scholar
  18. 18.
    Wood, G.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 151 (2014)Google Scholar
  19. 19.
    Xu, X., et al.: A taxonomy of blockchain-based systems for architecture design. In: ICSA 2017, pp. 243–252. IEEE (2017)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2018

Authors and Affiliations

  • Sven Helmer
    • 1
    Email author
  • Matteo Roggia
    • 1
  • Nabil El Ioini
    • 1
  • Claus Pahl
    • 1
  1. 1.Free University of Bozen-BolzanoBolzanoItaly

Personalised recommendations