arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.13637cs.CRcs.DC
收藏

XChainDataGen:一个跨链数据集生成框架

XChainDataGen: A Cross-Chain Dataset Generation Framework

André Augusto, André Vasconcelos, Miguel Correia, Luyao Zhang

AI总结:

本文提出 XChainDataGen 框架,从11条区块链和五个跨链协议提取大规模真实跨链交易数据,并据此分析协议在安全、成本与性能上的权衡。

摘要:

用于在区块链之间传输数据和资产的区块链互操作协议数量已显著增长。然而,目前不存在可用于研究运行中互操作协议的开放跨链交易数据集,也没有工具能够生成此类数据集并向社区提供。本文提出 XChainDataGen,这是一种从区块链中提取跨链数据并生成跨链交易(cctxs)数据集的工具。利用 XChainDataGen,我们在2024年最后七个月从部署于11条区块链上的五个跨链协议中提取了超过35 GB数据,识别出11,285,753笔 cctxs,这些交易在跨链代币转移中流转了超过280亿美元。基于所收集的数据,我们比较了各协议,并对其安全性、成本和性能权衡提出洞见。例如,我们强调了要求源区块链实现完全最终性的协议与仅要求软最终性的协议之间的差异(安全性)。我们比较了用户成本、费用模型,以及 Ethereum gas 价格等变量对协议费用的影响(成本)。最后,我们首次分析了 EIP-7683 对跨链意图的影响;跨链意图正日益流行,并显著提升了 cctxs 的处理速度(性能),从而改善用户体验。XChainDataGen 和该数据集的可用性支持多种分析,包括跨链活动趋势、互操作协议的安全评估,以及去中心化金融(DeFi)协议的金融研究。

英文摘要:

The number of blockchain interoperability protocols for transferring data and assets between blockchains has grown significantly. However, no open dataset of cross-chain transactions exists to study interoperability protocols in operation. There is also no tool to generate such datasets and make them available to the community. This paper proposes XChainDataGen, a tool to extract cross-chain data from blockchains and generate datasets of cross-chain transactions (cctxs). Using XChainDataGen, we extracted over 35 GB of data from five cross-chain protocols deployed on 11 blockchains in the last seven months of 2024, identifying 11,285,753 cctxs that moved over 28 billion USD in cross-chain token transfers. Using the data collected, we compare protocols and provide insights into their security, cost, and performance trade-offs. As examples, we highlight differences between protocols that require full finality on the source blockchain and those that only demand soft finality (\textit{security}). We compare user costs, fee models, and the impact of variables such as the Ethereum gas price on protocol fees (\textit{cost}). Finally, we produce the first analysis of the implications of EIP-7683 for cross-chain intents, which are increasingly popular and greatly improve the speed with which cctxs are processed (\textit{performance}), thereby enhancing the user experience. The availability of XChainDataGen and this dataset allows various analyses, including trends in cross-chain activity, security assessments of interoperability protocols, and financial research on decentralized finance (DeFi) protocols.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑