Optimizing Hyperledger dApp Efficiency: Gas Consumption in Hardhat and Truffle Frameworks

Authors

  • M. Shakila, A. Rama, P. Thilagavathi, M. Prakash, L. Anitha

Keywords:

Blockchain, Ethereum, Hardhat ,ether, transparency, and immutability.

Abstract

Blockchain technology has completely changed how decentralised applications (dApps) operate by improving security, transparency, and efficiency to previously unheard-of levels. It is imperative that the use of specialized tools result in the effective creation of the frameworks and tools used in this process. The crucial measures that are part of the computational effort and operations that go into developing the development of enhanced immutability. Ether payments, which stand for the transaction fees associated with each transaction, are necessary for the smart contract to be executed. This research explores the use of blockchain technology in voting to improve security, increase transparency, and deal with problems like manipulation and fraud. The usefulness of the Hardhat and Truffle frameworks is examined. An execution is conducted on the utility of Hardhat and Truffle frameworks for smart contract development, supporting developers in achieving cost-efficiency by embedding gas estimation and customizable gas configuration within the system. This analysis aims to provide a thorough assessment of gas consumption as compared to transactions using Ethereum Truffle, with the goal of identifying the most efficient framework for smart contract deployment. The primary objective is to compare gas usage metrics in evaluating these frameworks. The methodology entails deploying identical gas consumption measurements to assess the cost-effectiveness of implementing Blockchain-based systems. This involves evaluating gas consumption across various transaction scenarios to optimize ether usage. Consequently, data is securely stored and accessed by applications through frontend interfaces and Ethereum nodes, ensuring the immutability of systems. Collaboration between frontend and backend components is crucial in developing user-friendly and secure systems. In Future ,we present a framework for conducting optimization experiments in a distributed setting and for storing both the environmental result data and environmental studies. This framework facilitates not only the organized implementation of experiments but also the potential reuse of outcomes in subsequent endeavors.

Downloads

Download data is not yet available.

References

Alammary, A., Alhazmi, S., Almasri, M., & Gillani, S. (2019). Blockchain-based applications in education: A systematic review.

(2023). Hands-up-go: Development of gas efficient Blockchain event DApp. doi: 10.1109/icoin56518.2023.10049034

BitDegree. (2018). Bitdegree whitepaper. Retrieved from https://www.bitdegree.org/ bitdegree-vision.pdf (Accessed 29-09-18) Clerk Maxwell, A Treatise on Electricity and Magnetism, 3rd ed., vol. 2. Oxford: Clarendon, 1892, pp.68–73.

Organ Donation Facts and Info: Organ Transplants. Accessed: Apr. 18, 2021. [Online]. Available: https://my.clevelandclinic.org/health/ articles/11750-organ-donation-and-transplantation

Organ Procurement and Transplantation Network. Accessed: Apr. 18, 2021. [Online]. Available: https://optn.transplant.hrsa.gov/ resources/ethics/ethical-principles-in-the-allocation-of-humanorgans

S. N. Khan, “Blockchain smart contracts: Applications, challenges, and future Blockchain smart contracts: Applications, challenges, and future trends,” no. April, 2021

8. E. Androulaki et al., “Hyperledger Fabric : A Distributed Operating System for Permissioned Blockchains.”

S. Steinhorst, “SmaCoNat : Smart Contracts in Natural Language,” doi: 10.1109/FDL.2018.8524068.

G Subhashini, M Karthi, A Pandi, S Gomathi, J Sivapriya, “Security System to Analyze, Recognize and Alert in Real Time using AI-Models” Second International Conference on Electronics and Renewable Systems (ICEARS), Tuticorin, India, 2023, pp. 754-760, doi: 10.1109/ICEARS56392.2023.10085421

W. Zou et al., “Smart Contract Development : Challenges and Opportunities,” no. March, pp. 1–20, 2018.

G. Canfora, A. Di Sorbo, S. Laudanna, A. Vacca, and C. A. Visaggio, “Profiling Gas Leaks in Solidity Smart Contracts,” 2020.

T. Chen et al., “GasChecker : Scalable Analysis for Discovering Gas-Inefficient Smart Contracts,” vol. 14, no. 8, 2020, doi: 10.1109/TETC.2020.2979019.

T. Chen, X. Li, X. Luo, and X. Zhang, “Underoptimized smart contracts devour your money,” SANER 2017 - 24th IEEE Int. Conf. Softw. Anal. Evol. Reengineering, pp. 442–446, 2017, doi: 10.1109/SANER.2017.7884650. 15. S. Bouraga, “An Evaluation of G

Y. D. Yaga and D. Yaga, Blockchain Technology Overview Blockchain Technology Overview.

S. Nakamoto, “Bitcoin : A Peer-to-Peer Electronic Cash System,” pp. 1–9.

Harshith Royal G,S Gomathi, D Sungeetha, "Enhancing the Accuracy of Block chain Based Agriculture Product Supply Chain Management System Using Random Forest Algorithm and Decision Tree Algorithm,” International Conference on Intelligent Technologies for Sustainable Electric and Communications Systems (iTech SECOM), Coimbatore, India, 2023, pp. 163-166, doi: 10.1109/iTechSECOM59882.2023.10435088.

2nd ed., vol. 3, J. Peters, Ed. New York, NY, USA: McGraw-Hill, 1964, pp. 15–64.

W.-K. Chen, Linear Networks and Systems. Belmont, CA, USA: Wadsworth, 1993, pp. 123–135.

J. U. Duncombe, “Infrared navigation—Part I: An assessment of feasibility,” IEEE Trans. Electron Devices, vol. ED-11, no. 1, pp. 34–39, Jan. 1959, 10.1109/TED.2016.2628402.

E. P. Wigner, “Theory of traveling-wave optical laser,” Phys. Rev., vol. 134, pp. A635–A646, Dec. 1965.

E. H. Miller, “A note on reflector arrays,” IEEE Trans. Antennas Propagat., to be published.

E. E. Reber, R. L. Michell, and C. J. Carter, “Oxygen absorption in the earth’s atmosphere,” Aerospace Corp., Los Angeles, CA, USA, Tech. Rep. TR-0200 (4230-46)-3, Nov. 1988.

J. H. Davis and J. R. Cogdell, “Calibration program for the 16-foot antenna,” Elect. Eng. Res. Lab., Univ. Texas, Austin, TX, USA, Tech. Memo. NGL-006-69-3, Nov. 15, 1987.

Transmission Systems for Communications, 3rd ed., Western Electric Co., Winston-Salem, NC, USA, 1985, pp. 44–60.

Motorola Semiconductor Data Manual, Motorola Semiconductor Products Inc., Phoenix, AZ, USA, 1989.

G. O. Young, “Synthetic structure of industrial plastics,” in Plastics, vol. 3, Polymers of Hexadromicon, J. Peters, Ed., 2nd ed. New York, NY, USA: McGraw-Hill, 1964, pp. 15-64. [Online]. Available: http://www.bookref.com.

The Founders’ Constitution, Philip B. Kurland and Ralph Lerner, eds., Chicago, IL, USA: Univ. Chicago Press, 1987. [Online]. Available: http://press-pubs.uchicago.edu/founders/

The Terahertz Wave eBook. ZOmega Terahertz Corp., 2014. [Online]. Available: http://dl.z-thz.com/eBook/zomega_ebook_pdf_1206_sr.pdf. Accessed on: May 19, 2014.

Philip B. Kurland and Ralph Lerner, eds., The Founders’ Constitution. Chicago, IL, USA: Univ. of Chicago Press, 1987, Accessed on: Feb. 28, 2010, [Online] Available: http://press-pubs.uchicago.edu/founders/

J. S. Turner, “New directions in communications,” IEEE J. Sel. Areas Commun., vol. 13, no. 1, pp. 11-23, Jan. 1995.

W. P. Risk, G. S. Kino, and H. J. Shaw, “Fiber-optic frequency shifter using a surface acoustic wave incident at an oblique angle,” Opt. Lett., vol. 11, no. 2, pp. 115–117, Feb. 1986.

P. Kopyt et al., “Electric properties of graphene-based conductive layers from DC up to terahertz range,” IEEE THz Sci. Technol., to be published. DOI: 10.1109/TTHZ.2016.2544142.

PROCESS Corporation, Boston, MA, USA. Intranets: Internet technologies deployed behind the firewall for corporate productivity. Presented at INET96 Annual Meeting. [Online]. Available: http://home.process.com/Intranets/wp2.htp

R. J. Hijmans and J. van Etten, “Raster: Geographic analysis and modeling with raster data,” R Package Version 2.0-12, Jan. 12, 2012. [Online]. Available: http://CRAN.R-project.org/package=raster

Teralyzer. Lytera UG, Kirchhain, Germany [Online]. Available: http://www.lytera.de/Terahertz_THz_Spectroscopy.php?id=home, Accessed on: Jun. 5, 2014

U.S. House. 102nd Congress, 1st Session. (1991, Jan. 11). H. Con. Res. 1, Sense of the Congress on Approval of Military Action. [Online]. Available: LEXIS Library: GENFED File: BILLS

Musical toothbrush with mirror, by L.M.R. Brooks. (1992, May 19). Patent D 326 189 [Online]. Available: NEXIS Library: LEXPAT File: DES

D. B. Payne and J. R. Stern, “Wavelength-switched pas- sively coupled single-mode optical network,” in Proc. IOOC-ECOC, Boston, MA, USA, 1985,

pp. 585–590.

D. Ebehard and E. Voges, “Digital single sideband detection for interferometric sensors,” presented at the 2nd Int. Conf. Optical Fiber Sensors, Stuttgart, Germany, Jan. 2-5, 1984.

G. Brandli and M. Dick, “Alternating current fed power supply,” U.S. Patent 4 084 217, Nov. 4, 1978.

J. O. Williams, “Narrow-band analyzer,” Ph.D. dissertation, Dept. Elect. Eng., Harvard Univ., Cambridge, MA, USA, 1993.

N. Kawasaki, “Parametric study of thermal and chemical nonequilibrium nozzle flow,” M.S. thesis, Dept. Electron. Eng., Osaka Univ., Osaka, Japan, 1993.

Downloads

Published

09.07.2024

How to Cite

M. Shakila. (2024). Optimizing Hyperledger dApp Efficiency: Gas Consumption in Hardhat and Truffle Frameworks . International Journal of Intelligent Systems and Applications in Engineering, 12(22s), 612–617. Retrieved from https://www.ijisae.org/index.php/IJISAE/article/view/6527

Issue

Section

Research Article