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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
https://plasma.io, accessed on 01 July 2022.
References
Wood, G.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 151 (2014)
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
Nambiampurath, R.: The 5 best Ethereum layer 2 solutions. https://www.makeuseof.com/best-ethereum-layer-2-solutions/
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)
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
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
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)
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
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
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)
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)
Gluchowski, A.: ZK rollup: scaling with zero-knowledge proofs. Matter Labs (2019)
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
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)
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
Josefsson, S., Liusvaara, I.: Edwards-curve digital signature algorithm (EdDSA), p. 60. https://datatracker.ietf.org/doc/rfc8032
HaRold: EthSnarks. https://github.com/HarryR/ethsnarks
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
Wood, G.: Ethereum: a secure decentralized generalized transaction ledger; Ethereum yellow paper (2022)
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/
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)