DCSCY: DRL-Based Cross-Shard Smart Contract Yanking in a Blockchain Sharding Framework
Blockchain sharding has emerged as a promising solution to address scalability and performance challenges in distributed ledger systems. In the sharded blockchain, yanking can reduce the communication overhead of smart contracts between shards. However, the existing smart contract yanking methods are inefficient, increasing the latency and reducing the throughput. In this paper, we propose a novel DRL-Based Cross-Shard Smart Contract Yanking (DCSCY) framework which intelligently balances three critical factors: the number of smart contracts processed, node waiting time, and yanking costs. The proposed framework dynamically optimizes the relocation trajectory of smart contracts across shards. This reduces the communication overhead and enables adaptive, function-level migrations to enhance the execution efficiency. The experimental results demonstrate that the proposed approach reduces the cross-shard transaction latency and enhances smart contract utilization. Compared to random-based and order-based methods, the DCSCY approach achieves a performance improvement of more than 95%.
Authors
- Ren Ping Liu (ORCID: https://orcid.org/0000-0001-7001-6305)
- Wei Ni (ORCID: https://orcid.org/0000-0003-0780-4637)
- Zhiqun Cheng (ORCID: https://orcid.org/0000-0003-4363-4735)
- Xu Wang (ORCID: https://orcid.org/0000-0001-9439-6437)
- Guangsheng Yu (ORCID: https://orcid.org/0000-0002-6111-1607)
- Caijun Sun (ORCID: https://orcid.org/0000-0003-1529-3179)
- Ying Wang (ORCID: https://orcid.org/0000-0001-8645-4326)
- Zixu Zhang (ORCID: https://orcid.org/0000-0002-7716-9416)
- Hongbo Yin (ORCID: https://orcid.org/0009-0006-6538-9047)
Institutions
- University of Technology Sydney (AU)
- Commonwealth Scientific and Industrial Research Organisation (AU)
- University of Electronic Science and Technology of China (CN)
- Zhejiang Lab (CN)
- Data61 (AU)
- Hangzhou Dianzi University (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-08-16
- DOI
- https://doi.org/10.3390/electronics14163254
- Citations
- 1
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 3.25