Next Article in Journal
Research on Generalized Average Modeling and Characteristic Harmonic Frequency Configuration Strategy for PWM Inverter Using Modelica
Previous Article in Journal
Planar CPW-Fed MIMO Antenna Array Design with Enhanced Isolation Using T-Shaped Neutralization Lines
Previous Article in Special Issue
A Multimodal Fake News Detection Model Based on Bidirectional Semantic Enhancement and Adversarial Network Under Web3.0
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

An Efficient Cross-Shard Smart Contract Execution Framework Leveraging Off-Chain Computation and Genetic Algorithm-Optimized Migration

1
School of Cyberspace Security, Zhongyuan University of Technology, Zhengzhou 450007, China
2
Henan International Joint Laboratory of Blockchain and Data Sharing, Zhongyuan University of Technology, Zhengzhou 450007, China
*
Author to whom correspondence should be addressed.
Electronics 2025, 14(18), 3684; https://doi.org/10.3390/electronics14183684
Submission received: 12 August 2025 / Revised: 31 August 2025 / Accepted: 16 September 2025 / Published: 17 September 2025

Abstract

Blockchain sharding is a promising approach to improving system scalability. However, traditional designs rely on lock-based cross-shard commit protocols, which introduce significant performance bottlenecks due to repeated on-chain communication and consensus. The emergence of complex cross-shard contracts further exacerbates these issues. Although recent off-chain execution models reduce on-chain overhead by decoupling contract execution from consensus, they still incur high communication costs and struggle to maintain state consistency. To address these challenges, this paper presents a sharding framework that seamlessly integrates on-chain and off-chain processing. By leveraging Trusted Execution Environments (TEEs), the framework enables secure and efficient off-chain execution of cross-shard smart contracts. It incorporates an off-chain execution hub for verifiable contract execution and a state-aware cross-shard commit protocol to guarantee correctness. Furthermore, a genetic algorithm-based contract-migration strategy dynamically reduces cross-shard interactions. Prototype evaluations show that the proposed framework significantly outperforms mainstream sharding solutions, achieving at least 2.1× higher throughput and reducing cross-shard transaction latency by over 52.6%.
Keywords: blockchain; smart contract; trusted execution environment; contract migration blockchain; smart contract; trusted execution environment; contract migration

Share and Cite

MDPI and ACS Style

Liu, C.; Zhu, W.; Yao, Z.; Si, X. An Efficient Cross-Shard Smart Contract Execution Framework Leveraging Off-Chain Computation and Genetic Algorithm-Optimized Migration. Electronics 2025, 14, 3684. https://doi.org/10.3390/electronics14183684

AMA Style

Liu C, Zhu W, Yao Z, Si X. An Efficient Cross-Shard Smart Contract Execution Framework Leveraging Off-Chain Computation and Genetic Algorithm-Optimized Migration. Electronics. 2025; 14(18):3684. https://doi.org/10.3390/electronics14183684

Chicago/Turabian Style

Liu, Chang, Weihua Zhu, Zhongyuan Yao, and Xueming Si. 2025. "An Efficient Cross-Shard Smart Contract Execution Framework Leveraging Off-Chain Computation and Genetic Algorithm-Optimized Migration" Electronics 14, no. 18: 3684. https://doi.org/10.3390/electronics14183684

APA Style

Liu, C., Zhu, W., Yao, Z., & Si, X. (2025). An Efficient Cross-Shard Smart Contract Execution Framework Leveraging Off-Chain Computation and Genetic Algorithm-Optimized Migration. Electronics, 14(18), 3684. https://doi.org/10.3390/electronics14183684

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop