Benchmarking Local Blockchain Frameworks for Online Voting System: Comparative Analysis of Truffle and Hardhat Across Diverse Transaction Loads

M. Shakila, L. Anitha · 2024

The performance of Truffle and Hardhat, two well-known local blockchain development frameworks, under various transaction loads is compared in this study. For effective contract deployment, execution, and debugging, selecting the right development and testing environment becomes essential as blockchain applications continue to increase in complexity. Both Truffle and Hardhat give developers unique features like network administration, testing tools, script execution and how well they perform under various workloads. Using characteristics like set up time, transaction delay, throughput, and resource usage, we simulate and assess both frameworks in this research under various transaction loads. The results provide revelations. into each framework's reliability thresholds, showing situations in which two frameworks performs more efficiently than one another. These performance traits on testing accuracy and scalability in local blockchain settings. A blockchain development environment's performance can have a significant impact on processes such as contract compilation, deployment to the local blockchain. The development process efficiency and scalability are primarily dictated by the duration of setup, compilation, deployment, and resource usage including CPU and memory utilisation. The performance and scalability of two well-known local blockchain frameworks Hardhat and Truffle under various transaction loads are examined in this study. Evaluating their suitability for safe and effective online voting systems is the goal. To shed light on their scalability and computational efficiency, important parameters including transaction throughput, gas consumption, and deployment time are benchmarked. The results are intended to help developers choose the best frameworks for creating decentralised applications dApps in settings with limited resources.

Read the paper · More papers on PaperTik