Skip to main content

An Implementation and Evaluation of Layer 2 for Ethereum with zk-Rollup

  • Conference paper
  • First Online:
Computational Data and Social Networks (CSoNet 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13831))

Included in the following conference series:

  • 608 Accesses

Abstract

Ethereum is a very popular blockchain platform. However, due to the limit of the Transaction Per Second (TPS) of this platform, the transaction processing time in Ethereum is very slow, which greatly affects the user experience and wastes time and other fees. Therefore, the scalability of Ethereum becomes an urgent problem to be solved. In this study, we try to improve the scalability problem of Ethereum by building a layer 2 with the zk-Rollup protocol. An evaluation of the implementation is also conducted. Experimental results show that the cost of transactions decreases depending on the batch size, with the gas cost decreasing by more than 85% for a batch size of 50 transactions. Other evaluation results reveal that deposits incur the most cost and increase faster with the batch size.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://plasma.io, accessed on 01 July 2022.

References

  1. Wood, G.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 151 (2014)

    Google Scholar 

  2. Zhang, W., Anand, T.: Layer 2 and Ethereum 2. In: Blockchain and Ethereum Smart Contract Solution Development, pp. 341–378. Apress (2022). https://doi.org/10.1007/978-1-4842-8164-2_9

  3. Nambiampurath, R.: The 5 best Ethereum layer 2 solutions. https://www.makeuseof.com/best-ethereum-layer-2-solutions/

  4. Cortes-Goicoechea, M., Franceschini, L., Bautista-Gomez, L.: Resource analysis of Ethereum 2.0 clients. In: 2021 3rd Conference on Blockchain Research and Applications for Innovative Networks and Services (BRAINS), pp. 1–8 (2021)

    Google Scholar 

  5. Wilkie, A., Smith, S.S.: Blockchain: speed, efficiency, decreased costs, and technical challenges. In: The Emerald Handbook of Blockchain for Business, pp. 157–170. Emerald Publishing Limited (2021). https://doi.org/10.1108/978-1-83982-198-120211014

  6. Kaur, S., Jaswal, N., Singh, H.: Blockchain technology. In: Applications, Challenges, and Opportunities of Blockchain Technology in Banking and Insurance, pp. 204–212. IGI Global (2022). https://doi.org/10.4018/978-1-6684-4133-6.ch012

  7. Mechkaroska, D., Dimitrova, V., Popovska-Mitrovikj, A.: Analysis of the possibilities for improvement of blockchain technology. In: 2018 26th Telecommunications Forum (TELFOR), pp. 1–4 (2018)

    Google Scholar 

  8. Hazari, S.S., Mahmoud, Q.H.: Improving transaction speed and scalability of blockchain systems via parallel proof of work. Future Internet 12(8), 125 (2020). https://doi.org/10.3390/fi12080125

    Article  Google Scholar 

  9. Kwak, K.H., Kong, J.T., Cho, S.I., Phuong, H.T., Gim, G.Y.: A study on the design of efficient private blockchain. In: Lee, R. (ed.) CSII 2018. SCI, vol. 787, pp. 93–121. Springer, Cham (2019). https://doi.org/10.1007/978-3-319-96806-3_8

    Chapter  Google Scholar 

  10. Sanka, A.I., Cheung, R.C.: Efficient high performance FPGA based NoSQL caching system for blockchain scalability and throughput improvement. In: 2018 26th International Conference on Systems Engineering (ICSEng), pp. 1–8 (2018)

    Google Scholar 

  11. Pilvik, R., Kaare, K.K., Koppel, O.: Blockchain-based solution for supply chain traceability: the case of SmartLog project. In: 2021 9th International Conference on Traffic and Logistic Engineering (ICTLE), pp. 57–63 (2021)

    Google Scholar 

  12. Gluchowski, A.: ZK rollup: scaling with zero-knowledge proofs. Matter Labs (2019)

    Google Scholar 

  13. Gjøsteen, K., Raikwar, M., Wu, S.: PriBank: confidential blockchain scaling using short commit-and-proof NIZK argument. In: Galbraith, S.D. (ed.) CT-RSA 2022. LNCS, vol. 13161, pp. 589–619. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-95312-6_24

    Chapter  Google Scholar 

  14. Goldwasser, S., Micali, S., Rackoff, C.: The knowledge complexity of interactive proof systems. In: 17th Annual ACM Symposium on Theory of Computing, vol. 10 (1985)

    Google Scholar 

  15. Groth, J.: On the size of pairing-based non-interactive arguments. In: Fischlin, M., Coron, J.-S. (eds.) EUROCRYPT 2016. LNCS, vol. 9666, pp. 305–326. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-49896-5_11

    Chapter  Google Scholar 

  16. Josefsson, S., Liusvaara, I.: Edwards-curve digital signature algorithm (EdDSA), p. 60. https://datatracker.ietf.org/doc/rfc8032

  17. HaRold: EthSnarks. https://github.com/HarryR/ethsnarks

  18. Carminati, B.: Merkle trees. In: Liu, L., Özsu, M.T. (eds.) Encyclopedia of Database Systems, pp. 1714–1715. Springer, Heidelberg (2009). https://doi.org/10.1007/978-0-387-39940-9_1492

    Chapter  Google Scholar 

  19. Wood, G.: Ethereum: a secure decentralized generalized transaction ledger; Ethereum yellow paper (2022)

    Google Scholar 

  20. Harper, C., Kim, C.: Ethereum gas limit hits 15m as ETH price soars - CoinDesk. https://www.coindesk.com/tech/2021/04/22/ethereum-gas-limit-hits-15m-as-eth-price-soars/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to An Cong Tran .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tran, A.C., Thanh, V.V., Tran, N.C., Nguyen, H.T. (2023). An Implementation and Evaluation of Layer 2 for Ethereum with zk-Rollup. In: Dinh, T.N., Li, M. (eds) Computational Data and Social Networks . CSoNet 2022. Lecture Notes in Computer Science, vol 13831. Springer, Cham. https://doi.org/10.1007/978-3-031-26303-3_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-26303-3_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-26302-6

  • Online ISBN: 978-3-031-26303-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics