作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2024, Vol. 50 ›› Issue (10): 61-68. doi: 10.19678/j.issn.1000-3428.0068644

• 热点与综述 • 上一篇    下一篇

基于DeFi消息传递机制的跨链交易关联方法

林丹1, 郑梓烨2, 付齐双2, 吴嘉婧1,*(), 郑子彬1   

  1. 1. 中山大学软件工程学院, 广东 珠海 519082
    2. 中山大学计算机学院, 广东 广州 510006
  • 收稿日期:2023-10-19 出版日期:2024-10-15 发布日期:2024-04-25
  • 通讯作者: 吴嘉婧
  • 基金资助:
    国家自然科学基金(62372485); 国家自然科学基金(61973325); 广东省自然科学基金(2023A1515011314); 广东省自然科学基金(2021A1515011661); 广州市基础与应用基础研究项目(202102020616)

Cross-chain Transaction Association Method Based on DeFi Message-passing Mechanism

LIN Dan1, ZHENG Ziye2, FU Qishuang2, WU Jiajing1,*(), ZHENG Zibin1   

  1. 1. School of Software Engineering, Sun Yat-Sen University, Zhuhai 519082, Guangdong, China
    2. School of Computer Science and Engineering, Sun Yat-Sen University, Guangzhou 510006, Guangdong, China
  • Received:2023-10-19 Online:2024-10-15 Published:2024-04-25
  • Contact: WU Jiajing

摘要:

跨链桥作为一种新型区块链基本服务, 实现了区块链间的资产和数据流通, 极大地促进了区块链去中心化金融(DeFi)的建设。然而在实际应用过程中, 由于跨链桥的交易不透明与资产难追踪问题, 许多犯罪分子开始将跨链技术作为一种洗钱手段, 在链间进行非法资产的转移。因此, 跨链交易追踪问题正逐渐成为学术界与相关监管部门关注的焦点。现有方法主要通过规则匹配的启发式算法来实现跨链交易的关联, 这种方法虽能有效匹配特定区块链间的交易, 但仅面向中心化金融(CeFi)跨链桥服务, 且高度依赖于中心化的内部应用程序编程接口(API), 难以广泛支持多种跨链桥的交易关联。为解决以上问题, 提出一种面向DeFi跨链桥服务的交易关联方法。根据跨链桥消息传递机制获取源链的存款事件日志, 并基于专家规则提取关键跨链信息, 利用数据爬取技术构造目标链交易搜索空间。在此基础上, 通过多种业务规则实现跨链交易的关联。实验结果表明, 该方法在Celer cBridge、Multichain和Poly Network这3座跨链桥的真实交易数据集(以太坊为源链, 币安智能链为目标链)上准确率分别达到93.6%、95.3%和91.6%, 具有较好的关联效果。

关键词: 跨链交易关联, 去中心化金融跨链桥服务, 启发式算法, 消息传递机制, 交易追踪

Abstract:

As a new type of foundational blockchain service, cross-chain bridges realize the circulation of assets and data between blockchains, significantly advancing the development of Decentralized Finance(DeFi). However, in practical applications, the opacity of cross-chain bridge transactions and the difficulty in tracking assets have led many criminals to exploit cross-chain technology for money laundering, transferring illegal assets between chains. As a result, cross-chain transaction tracking has become a focal point for academic circles and regulatory authorities. Existing methods primarily use heuristic algorithms for rule matching to associate cross-chain transactions. While effective for matching transactions between specific blockchains, these methods are primarily designed for Centralized Finance(CeFi) cross-chain bridge services and rely heavily on centralized internal Application Programming Interfaces(API), limiting their ability to broadly support multiple cross-chain bridges for transaction association. To address these limitations, this study proposes a transaction association method tailored for DeFi cross-chain bridges services. The method obtains the deposit event log from the source chain based on the cross-chain bridge messaging mechanism and extracts key cross-chain information using expert rules. A target chain transaction search space was then constructed using data crawling technology. Cross-chain transactions were associated through the application of multiple business rules. The method was validated on real transaction datasets from three cross-chain bridges: Celer cBridge, Multichain, and Poly Network. The accuracy rates were 93.6%, 95.3%, and 91.6%, respectively, demonstrating high association accuracy.

Key words: cross-chain transaction association, Decentralized Finance(DeFi) cross-chain bridge service, heuristic algorithm, message-passing mechanism, transaction tracking