首页 > 最新文献

Blockchain-Research and Applications最新文献

英文 中文
An empirical study on the complexity, security and maintainability of Ethereum-based decentralized applications (DApps) 基于以太坊的去中心化应用程序(DApps)复杂性、安全性和可维护性的实证研究
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-06-01 DOI: 10.1016/j.bcra.2022.100120
Noama Fatima Samreen, Manar H. Alalfi

The Ethereum blockchain’s smart contract is a programmable transaction that performs general-purpose computations and can be executed automatically on the blockchain. Leveraging this component, blockchain technology (BT) has grown beyond the scope of cryptocurrencies and can now be applicable in various industries other than finance. In this paper, we investigated the current trends in Ethereum-based decentralized applications (DApps) to be able to categorize and analyze the DApps to measure the complexity of smart contracts behind them, their level of security and their correlation to the maintainability of the DApps. We leveraged the source code analysis, security analysis, and the developmental metadata of the DApps to infer this correlation. Based on our findings, we concluded that the maintainability of Ethereum DApps is proportional to the code size, number of functions, and, most importantly, the number of outgoing invocations and statements in the smart contracts.

以太坊区块链的智能合约是一个可编程的交易,执行通用计算,可以在区块链上自动执行。利用这一组件,区块链技术(BT)已经超出了加密货币的范围,现在可以应用于金融以外的各个行业。在本文中,我们研究了基于以太坊的去中心化应用程序(DApps)的当前趋势,以便能够对DApps进行分类和分析,以衡量其背后智能合约的复杂性、安全级别及其与DApps可维护性的相关性。我们利用源代码分析、安全性分析和dapp的开发元数据来推断这种相关性。根据我们的研究结果,我们得出结论,以太坊DApps的可维护性与代码大小、函数数量成正比,最重要的是与智能合约中传出调用和语句的数量成正比。
{"title":"An empirical study on the complexity, security and maintainability of Ethereum-based decentralized applications (DApps)","authors":"Noama Fatima Samreen,&nbsp;Manar H. Alalfi","doi":"10.1016/j.bcra.2022.100120","DOIUrl":"10.1016/j.bcra.2022.100120","url":null,"abstract":"<div><p>The Ethereum blockchain’s smart contract is a programmable transaction that performs general-purpose computations and can be executed automatically on the blockchain. Leveraging this component, blockchain technology (BT) has grown beyond the scope of cryptocurrencies and can now be applicable in various industries other than finance. In this paper, we investigated the current trends in Ethereum-based decentralized applications (DApps) to be able to categorize and analyze the DApps to measure the complexity of smart contracts behind them, their level of security and their correlation to the maintainability of the DApps. We leveraged the source code analysis, security analysis, and the developmental metadata of the DApps to infer this correlation. Based on our findings, we concluded that the maintainability of Ethereum DApps is proportional to the code size, number of functions, and, most importantly, the number of outgoing invocations and statements in the smart contracts.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 2","pages":"Article 100120"},"PeriodicalIF":5.6,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"43136007","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Cheap and secure metatransactions on the blockchain using hash-based authorisation and preferred batchers 使用基于哈希的授权和首选批处理程序在区块链上进行廉价安全的元交易
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-06-01 DOI: 10.1016/j.bcra.2022.100125
William Hughes , Tobias Magnusson , Alejandro Russo , Gerardo Schneider

Smart contracts are self-executing programs running in the blockchain allowing for decentralised storage and execution without a middleman. On-chain execution is expensive, with miners charging fees for distributed execution according to a cost model defined in the protocol. In particular, transactions have a high fixed cost.

We present MultiCall, a transaction-batching interpreter for Ethereum that reduces the cost of smart contract executions by gathering multiple users’ transactions into a batch. Our current implementation of MultiCall includes the following features: the ability to emulate Ethereum calls and create transactions, both from MultiCall itself and using an identity unique to the user; the ability to cheaply pay Ether to other MultiCall users; and the ability to authorise emulated transactions on behalf of multiple users in a single transaction using hash-based authorisation rather than more expensive signatures. This improves upon a previous version of MultiCall. Our experiments show that MultiCall provides a saving between 57% and 99% of the fixed transaction cost compared with the standard approach of sending Ethereum transactions directly.

Besides, we also show how to prevent an economic attack exploiting the metatransaction feature, describe a generic protocol for hash-based authorisation of metatransactions, and analyse how to minimise its off-chain computational and storage cost.

智能合约是在区块链中运行的自动执行程序,允许在没有中间人的情况下进行分散存储和执行。链上执行是昂贵的,矿工根据协议中定义的成本模型对分布式执行收取费用。特别是,交易具有很高的固定成本。我们介绍了multiall,这是一个以太坊的交易批处理解释器,通过将多个用户的交易收集成批处理来降低智能合约执行的成本。我们目前的MultiCall实现包括以下功能:能够模拟以太坊调用和创建交易,无论是从MultiCall本身还是使用用户唯一的身份;向其他MultiCall用户廉价支付以太币的能力;并且能够使用基于哈希的授权,而不是更昂贵的签名,代表单个事务中的多个用户授权模拟事务。这改进了以前版本的MultiCall。我们的实验表明,与直接发送以太坊交易的标准方法相比,MultiCall可以节省57%到99%的固定交易成本。此外,我们还展示了如何防止利用元交易特性的经济攻击,描述了基于哈希的元交易授权的通用协议,并分析了如何最大限度地减少其链下计算和存储成本。
{"title":"Cheap and secure metatransactions on the blockchain using hash-based authorisation and preferred batchers","authors":"William Hughes ,&nbsp;Tobias Magnusson ,&nbsp;Alejandro Russo ,&nbsp;Gerardo Schneider","doi":"10.1016/j.bcra.2022.100125","DOIUrl":"10.1016/j.bcra.2022.100125","url":null,"abstract":"<div><p>Smart contracts are self-executing programs running in the blockchain allowing for decentralised storage and execution without a middleman. On-chain execution is expensive, with miners charging fees for distributed execution according to a cost model defined in the protocol. In particular, transactions have a high fixed cost.</p><p>We present MultiCall, a transaction-batching interpreter for Ethereum that reduces the cost of smart contract executions by gathering multiple users’ transactions into a batch. Our current implementation of MultiCall includes the following features: the ability to emulate Ethereum calls and create transactions, both from MultiCall itself and using an identity unique to the user; the ability to cheaply pay Ether to other MultiCall users; and the ability to authorise emulated transactions on behalf of multiple users in a single transaction using hash-based authorisation rather than more expensive signatures. This improves upon a previous version of MultiCall. Our experiments show that MultiCall provides a saving between 57% and 99% of the fixed transaction cost compared with the standard approach of sending Ethereum transactions directly.</p><p>Besides, we also show how to prevent an economic attack exploiting the metatransaction feature, describe a generic protocol for hash-based authorisation of metatransactions, and analyse how to minimise its off-chain computational and storage cost.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 2","pages":"Article 100125"},"PeriodicalIF":5.6,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49575067","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Digital exchange attributes and the risk of closure 数字交易所的属性和关闭风险
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-06-01 DOI: 10.1016/j.bcra.2023.100131
Seung Ah Lee, George Milunovich

Presently, there are over 500 cryptocurrency exchanges worldwide and more than 19,700 different cryptocurrencies. Despite the fact that cryptocurrency trading is possible via private peer-to-peer transactions, more than 90% of trading occurs on organised exchanges, which provide convenience and liquidity. However, centralised cryptocurrency exchanges are regarded as high-value targets by criminals and are often victims of cyberattacks. In this paper, we investigate the risk of cryptocurrency exchange closures and develop predictive models to forecast which markets will close down and which ones will remain active using publicly available data. Our models perform well and reach a high level of classification accuracy. Exchange trading volume, the availability of public information on exchange staff, exchange lifetime, and several cybersecurity features are identified as key attributes in predicting exchange closures. Nevertheless, our models do not account for all sources of risk, e.g., potential fraud and mismanagement of client funds committed by the exchanges themselves, and market participants are encouraged to carefully consider where and how they store their digital assets.

目前,全球有500多个加密货币交易所,19700多种不同的加密货币。尽管加密货币交易可以通过私人点对点交易进行,但90%以上的交易发生在有组织的交易所,这些交易所提供了便利和流动性。然而,集中式加密货币交易所被犯罪分子视为高价值目标,经常成为网络攻击的受害者。在本文中,我们调查了加密货币交易所关闭的风险,并利用公开数据开发了预测模型来预测哪些市场将关闭,哪些市场将保持活跃。我们的模型表现良好,达到了较高的分类精度。交易所交易量、交易所工作人员公共信息的可用性、交易所寿命和几个网络安全特征被确定为预测交易所关闭的关键属性。尽管如此,我们的模型并没有考虑到所有风险来源,例如交易所自身对客户资金的潜在欺诈和管理不善,我们鼓励市场参与者仔细考虑他们将数字资产存储在哪里以及如何存储。
{"title":"Digital exchange attributes and the risk of closure","authors":"Seung Ah Lee,&nbsp;George Milunovich","doi":"10.1016/j.bcra.2023.100131","DOIUrl":"https://doi.org/10.1016/j.bcra.2023.100131","url":null,"abstract":"<div><p>Presently, there are over 500 cryptocurrency exchanges worldwide and more than 19,700 different cryptocurrencies. Despite the fact that cryptocurrency trading is possible via private peer-to-peer transactions, more than 90% of trading occurs on organised exchanges, which provide convenience and liquidity. However, centralised cryptocurrency exchanges are regarded as high-value targets by criminals and are often victims of cyberattacks. In this paper, we investigate the risk of cryptocurrency exchange closures and develop predictive models to forecast which markets will close down and which ones will remain active using publicly available data. Our models perform well and reach a high level of classification accuracy. Exchange trading volume, the availability of public information on exchange staff, exchange lifetime, and several cybersecurity features are identified as key attributes in predicting exchange closures. Nevertheless, our models do not account for all sources of risk, e.g., potential fraud and mismanagement of client funds committed by the exchanges themselves, and market participants are encouraged to carefully consider where and how they store their digital assets.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 2","pages":"Article 100131"},"PeriodicalIF":5.6,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49845635","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A systematic literature review of the tension between the GDPR and public blockchain systems GDPR与公共区块链系统之间紧张关系的系统文献综述
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-06-01 DOI: 10.1016/j.bcra.2023.100129
Rahime Belen-Saglam , Enes Altuncu , Yang Lu , Shujun Li

Blockchain technology has been rapidly growing since Bitcoin was invented in 2008. The most common type of blockchain system, public (permissionless) blockchain system, has some unique features that lead to a tension with the European Union’s General Data Protection Regulation (GDPR) and other similar data protection laws. In this paper, we report the results of a systematic literature review (SLR) on 114 research papers discussing and/or addressing such a tension. To the best of our knowledge, our SLR is the most comprehensive review of this tension, leading to a more in-depth and broader analysis of related research work on this important topic. Our results revealed three main types of issues: (i) difficulties in exercising data subjects’ rights such as the ‘right to be forgotten’ (RTBF) due to the immutable nature of public blockchains; (ii) difficulties in identifying roles and responsibilities in the public blockchain data processing ecosystem (particularly on the identification of data controllers and data processors); and (iii) ambiguities regarding the application of the relevant law(s) due to the distributed nature of blockchains. Our work also led to a better understanding of solutions for improving the GDPR compliance of public blockchain systems. It can help inform not only blockchain researchers and developers but also policymakers and law markers to consider how to reconcile the tension between public blockchain systems and data protection laws (the GDPR and beyond).

自2008年比特币发明以来,区块链技术一直在快速发展。最常见的区块链系统类型是公共(无许可)区块链系统,它具有一些独特的特征,导致与欧盟《通用数据保护条例》(GDPR)和其他类似的数据保护法律之间存在紧张关系。在本文中,我们报告了对114篇讨论和/或解决这种紧张关系的研究论文的系统文献综述(SLR)的结果。据我们所知,我们的SLR是对这种紧张关系最全面的回顾,从而对这一重要主题的相关研究工作进行了更深入、更广泛的分析。我们的研究结果揭示了三种主要类型的问题:(i)由于公共区块链的不可变性质,难以行使数据主体的权利,如“被遗忘权”(RTBF);(ii)在确定公共区块链数据处理生态系统中的角色和责任方面存在困难(特别是在确定数据控制者和数据处理者方面);以及(iii)由于区块链的分布式性质,在适用相关法律方面存在歧义。我们的工作还使我们更好地了解了提高公共区块链系统GDPR合规性的解决方案。它不仅可以帮助区块链研究人员和开发者,还可以帮助决策者和法律标记者考虑如何调和公共区块链系统与数据保护法(GDPR及其他)之间的紧张关系。
{"title":"A systematic literature review of the tension between the GDPR and public blockchain systems","authors":"Rahime Belen-Saglam ,&nbsp;Enes Altuncu ,&nbsp;Yang Lu ,&nbsp;Shujun Li","doi":"10.1016/j.bcra.2023.100129","DOIUrl":"https://doi.org/10.1016/j.bcra.2023.100129","url":null,"abstract":"<div><p>Blockchain technology has been rapidly growing since Bitcoin was invented in 2008. The most common type of blockchain system, public (permissionless) blockchain system, has some unique features that lead to a tension with the European Union’s General Data Protection Regulation (GDPR) and other similar data protection laws. In this paper, we report the results of a systematic literature review (SLR) on 114 research papers discussing and/or addressing such a tension. To the best of our knowledge, our SLR is the most comprehensive review of this tension, leading to a more in-depth and broader analysis of related research work on this important topic. Our results revealed three main types of issues: (i) difficulties in exercising data subjects’ rights such as the ‘right to be forgotten’ (RTBF) due to the immutable nature of public blockchains; (ii) difficulties in identifying roles and responsibilities in the public blockchain data processing ecosystem (particularly on the identification of data controllers and data processors); and (iii) ambiguities regarding the application of the relevant law(s) due to the distributed nature of blockchains. Our work also led to a better understanding of solutions for improving the GDPR compliance of public blockchain systems. It can help inform not only blockchain researchers and developers but also policymakers and law markers to consider how to reconcile the tension between public blockchain systems and data protection laws (the GDPR and beyond).</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 2","pages":"Article 100129"},"PeriodicalIF":5.6,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49845634","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
Blockchain-based cross-domain authorization system for user-centric resource sharing 基于区块链的跨域授权系统,实现以用户为中心的资源共享
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-06-01 DOI: 10.1016/j.bcra.2023.100126
Yuki Ezawa , Shohei Kakei , Yoshiaki Shiraishi , Masami Mohri , Masakatu Morii

User-centric data sharing is essential to encourage citizens' active participation in the digital economy. One key to smart cities, a form of the digital economy, is the promotion of public use of citizen data. Nevertheless, it is not easy to utilize data without citizens’ consent. In this study, we took a technological approach to these issues. User-managed access (UMA) is a well-known framework for delegating resource access rights to others on the Internet. In UMA, authorization mechanisms are designed to be centralized so that resource owners can centrally manage access rights for various resources stored in different domains. However, the lack of transparency in the authorization mechanism is a barrier to its implementation in large-scale systems such as smart cities. In this study, we developed a blockchain-based cross-domain authorization architecture that enables a resource-sharing ecosystem in which organizations that wish to utilize data can freely trade with each other. The proposed architecture solves the transparency problem that conventional authorization systems have had by designing the authorization mechanism on blockchain technology. We implemented the proposed architecture as smart contracts and evaluated its processing performance. The resultant time required for delegating access rights and accessing resources was less than 500 ​ms. Furthermore, we found that the fluctuation in the processing time overhead was small. Based on these results, we concluded that performance degradation with the proposed architecture is minor.

以用户为中心的数据共享对于鼓励公民积极参与数字经济至关重要。作为数字经济的一种形式,智慧城市的关键之一是促进公民数据的公共使用。然而,未经公民同意,利用数据并不容易。在这项研究中,我们采用了技术方法来解决这些问题。用户管理访问(User-managed access, UMA)是一个众所周知的框架,用于将资源访问权限委托给Internet上的其他人。在UMA中,授权机制被设计为集中式的,以便资源所有者可以集中管理存储在不同域中的各种资源的访问权限。然而,授权机制缺乏透明度是其在智慧城市等大规模系统中实施的障碍。在这项研究中,我们开发了一个基于区块链的跨域授权架构,使资源共享生态系统成为可能,在这个生态系统中,希望利用数据的组织可以自由地相互交易。该架构通过在区块链技术上设计授权机制,解决了传统授权系统存在的透明度问题。我们将提出的架构实现为智能合约,并评估其处理性能。委派访问权限和访问资源所需的时间少于500毫秒。此外,我们发现处理时间开销的波动很小。根据这些结果,我们得出结论,所提出的体系结构的性能下降很小。
{"title":"Blockchain-based cross-domain authorization system for user-centric resource sharing","authors":"Yuki Ezawa ,&nbsp;Shohei Kakei ,&nbsp;Yoshiaki Shiraishi ,&nbsp;Masami Mohri ,&nbsp;Masakatu Morii","doi":"10.1016/j.bcra.2023.100126","DOIUrl":"10.1016/j.bcra.2023.100126","url":null,"abstract":"<div><p>User-centric data sharing is essential to encourage citizens' active participation in the digital economy. One key to smart cities, a form of the digital economy, is the promotion of public use of citizen data. Nevertheless, it is not easy to utilize data without citizens’ consent. In this study, we took a technological approach to these issues. User-managed access (UMA) is a well-known framework for delegating resource access rights to others on the Internet. In UMA, authorization mechanisms are designed to be centralized so that resource owners can centrally manage access rights for various resources stored in different domains. However, the lack of transparency in the authorization mechanism is a barrier to its implementation in large-scale systems such as smart cities. In this study, we developed a blockchain-based cross-domain authorization architecture that enables a resource-sharing ecosystem in which organizations that wish to utilize data can freely trade with each other. The proposed architecture solves the transparency problem that conventional authorization systems have had by designing the authorization mechanism on blockchain technology. We implemented the proposed architecture as smart contracts and evaluated its processing performance. The resultant time required for delegating access rights and accessing resources was less than 500 ​ms. Furthermore, we found that the fluctuation in the processing time overhead was small. Based on these results, we concluded that performance degradation with the proposed architecture is minor.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 2","pages":"Article 100126"},"PeriodicalIF":5.6,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"44313807","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 7
Improving smart contract search by semantic and structural clustering for source codes 通过对源代码的语义和结构聚类改进智能合约搜索
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-06-01 DOI: 10.1016/j.bcra.2022.100117
Alkhansaa A. Abuhashim , Chiu C. Tan

The search for smart contract source codes has drawn research attention to fulfill developers’ and researchers’ needs. Yet, the existing studies are not mature enough to address smart contracts’ technical properties and functionalities. This paper proposes a system to improve the naive search for smart contract codes; for example, Etherscan has one keyword search feature without regard to the contract structure. We consider clustering smart contracts based on developers’ preferences, which increases the probability that the resulting source codes match developers’ needs. Our experimental results show a significant improvement in the complexity of the retrieved source codes of smart contracts compared with the baseline scenario using blockchain search engines (e.g., Etherscan). Our solution reduces the number of retrieved smart contract codes the developer has to check if the codes match her/his needs by 94%, 88%, 82%, or 98%, depending on the user’s search preferences.

智能合约源代码的搜索已经引起了研究人员的关注,以满足开发人员和研究人员的需求。然而,现有的研究还不够成熟,无法解决智能合约的技术属性和功能。本文提出了一种改进智能合约代码天真搜索的系统;例如,Etherscan有一个关键字搜索功能,而不考虑合约结构。我们考虑基于开发人员偏好的智能合约集群,这增加了生成的源代码符合开发人员需求的概率。我们的实验结果表明,与使用区块链搜索引擎(例如,Etherscan)的基线场景相比,检索智能合约源代码的复杂性有了显着提高。我们的解决方案减少了检索智能合约代码的数量,开发人员必须检查代码是否符合他/她的需求,减少了94%、88%、82%或98%,具体取决于用户的搜索偏好。
{"title":"Improving smart contract search by semantic and structural clustering for source codes","authors":"Alkhansaa A. Abuhashim ,&nbsp;Chiu C. Tan","doi":"10.1016/j.bcra.2022.100117","DOIUrl":"10.1016/j.bcra.2022.100117","url":null,"abstract":"<div><p>The search for smart contract source codes has drawn research attention to fulfill developers’ and researchers’ needs. Yet, the existing studies are not mature enough to address smart contracts’ technical properties and functionalities. This paper proposes a system to improve the naive search for smart contract codes; for example, Etherscan has one keyword search feature without regard to the contract structure. We consider clustering smart contracts based on developers’ preferences, which increases the probability that the resulting source codes match developers’ needs. Our experimental results show a significant improvement in the complexity of the retrieved source codes of smart contracts compared with the baseline scenario using blockchain search engines (e.g., Etherscan). Our solution reduces the number of retrieved smart contract codes the developer has to check if the codes match her/his needs by 94%, 88%, 82%, or 98%, depending on the user’s search preferences.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 2","pages":"Article 100117"},"PeriodicalIF":5.6,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"41533463","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
WTEYE: On-chain wash trade detection and quantification for ERC20 cryptocurrencies WTEYE: ERC20加密货币的链上清洗交易检测和量化
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-03-01 DOI: 10.1016/j.bcra.2022.100108
Wei Cui , Cunnian Gao

Wash trade is a common form of volume manipulation used to attract investors into the market and mislead them into making wrong investment judgments. Wash trade transactions are even more prominent in ERC20 cryptocurrencies. In this paper, we proposed two kinds of algorithms to reserve direct evidence of wash trade based on the on-chain transaction data of ERC20 cryptocurrencies. After labeling the wash trade, we continued to obtain features of the wash trade and quantify the volume of the wash trade. Our experiments show that for most ERC20 cryptocurrencies, the rate of wash trade reached over 15%. Specifically, over 30% of UNI token transactions ​were labeled as wash trade. It is demonstrated that the activations of most ERC20 cryptocurrencies are unreal, and restoring real data is necessary for market regulation.

洗仓交易是一种常见的成交量操纵形式,用来吸引投资者进入市场,误导他们做出错误的投资判断。洗钱交易在ERC20加密货币中更为突出。本文基于ERC20加密货币链上交易数据,提出了两种保留洗盘交易直接证据的算法。在对洗涤贸易进行标记后,我们继续获得洗涤贸易的特征并量化洗涤贸易的数量。我们的实验表明,对于大多数ERC20加密货币,洗净交易率达到15%以上。具体来说,超过30%的UNI代币交易被标记为清洗交易。研究表明,大多数ERC20加密货币的激活是不真实的,恢复真实数据对于市场监管是必要的。
{"title":"WTEYE: On-chain wash trade detection and quantification for ERC20 cryptocurrencies","authors":"Wei Cui ,&nbsp;Cunnian Gao","doi":"10.1016/j.bcra.2022.100108","DOIUrl":"10.1016/j.bcra.2022.100108","url":null,"abstract":"<div><p>Wash trade is a common form of volume manipulation used to attract investors into the market and mislead them into making wrong investment judgments. Wash trade transactions are even more prominent in ERC20 cryptocurrencies. In this paper, we proposed two kinds of algorithms to reserve direct evidence of wash trade based on the on-chain transaction data of ERC20 cryptocurrencies. After labeling the wash trade, we continued to obtain features of the wash trade and quantify the volume of the wash trade. Our experiments show that for most ERC20 cryptocurrencies, the rate of wash trade reached over 15%. Specifically, over 30% of UNI token transactions ​were labeled as wash trade. It is demonstrated that the activations of most ERC20 cryptocurrencies are unreal, and restoring real data is necessary for market regulation.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 1","pages":"Article 100108"},"PeriodicalIF":5.6,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"48543239","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
TABS: Transforming automatically BPMN models into blockchain smart contracts 标签:自动将BPMN模型转换为区块链智能合约
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-03-01 DOI: 10.1016/j.bcra.2022.100115
Peter Bodorik , Christian Gang Liu , Dawn Jutla

Research on blockchains addresses multiple issues, with one being the automated creation of smart contracts. Developing smart contract methods is more difficult than mainstream software development as the underlying blockchain infrastructure poses additional complexity. We report on a new approach to developing smart contracts with the objective of automating the process to increase developer efficiency and reduce the risk of errors introduced by software developers. To support industry adoption, we use Business Process Model and Notation (BPMN) modeling to describe an application while targeting applications in the trade vertical. We describe a system that transforms a BPMN model into a multi-modal model that combines Discrete Event (DE) modeling for concurrency with Hierarchical State Machines (HSMs) to represent application functionality. Then, further transformations are used to transform the DE-HSM model into methods in smart contracts. The system lets the modeler decide which of the independent patterns should be transformed into methods of a separate smart contract that is deployed on a sidechain for the purpose of (i) reducing processing costs and/or (ii) providing privacy so that other participants in the smart contract do not have visibility into the processing of the pattern. We also briefly describe a proof-of-concept tool we built to demonstrate the feasibility of our approach.

对区块链的研究解决了多个问题,其中一个是智能合约的自动创建。开发智能合约方法比主流软件开发更困难,因为底层区块链基础设施带来了额外的复杂性。我们报告了一种开发智能合约的新方法,其目标是使流程自动化,以提高开发人员的效率并降低软件开发人员引入的错误风险。为了支持行业采用,我们使用业务流程模型和符号(BPMN)建模来描述应用程序,同时以行业垂直领域中的应用程序为目标。我们描述了一个将BPMN模型转换为多模态模型的系统,该模型结合了用于并发的离散事件(DE)建模和用于表示应用程序功能的分层状态机(hsm)。然后,使用进一步的转换将DE-HSM模型转换为智能合约中的方法。系统允许建模者决定应该将哪些独立模式转换为部署在侧链上的单独智能合约的方法,目的是(i)降低处理成本和/或(ii)提供隐私,以便智能合约中的其他参与者无法看到模式的处理。我们还简要描述了我们构建的一个概念验证工具,用于演示我们的方法的可行性。
{"title":"TABS: Transforming automatically BPMN models into blockchain smart contracts","authors":"Peter Bodorik ,&nbsp;Christian Gang Liu ,&nbsp;Dawn Jutla","doi":"10.1016/j.bcra.2022.100115","DOIUrl":"10.1016/j.bcra.2022.100115","url":null,"abstract":"<div><p>Research on blockchains addresses multiple issues, with one being the automated creation of smart contracts. Developing smart contract methods is more difficult than mainstream software development as the underlying blockchain infrastructure poses additional complexity. We report on a new approach to developing smart contracts with the objective of automating the process to increase developer efficiency and reduce the risk of errors introduced by software developers. To support industry adoption, we use Business Process Model and Notation (BPMN) modeling to describe an application while targeting applications in the trade vertical. We describe a system that transforms a BPMN model into a multi-modal model that combines Discrete Event (DE) modeling for concurrency with Hierarchical State Machines (HSMs) to represent application functionality. Then, further transformations are used to transform the DE-HSM model into methods in smart contracts. The system lets the modeler decide which of the independent patterns should be transformed into methods of a separate smart contract that is deployed on a sidechain for the purpose of (i) reducing processing costs and/or (ii) providing privacy so that other participants in the smart contract do not have visibility into the processing of the pattern. We also briefly describe a proof-of-concept tool we built to demonstrate the feasibility of our approach.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 1","pages":"Article 100115"},"PeriodicalIF":5.6,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"43294784","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Measuring node decentralisation in blockchain peer to peer networks b区块链点对点网络中节点去中心化的测量
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-03-01 DOI: 10.1016/j.bcra.2022.100109
Andrew Howell , Takfarinas Saber , Malika Bendechache

New blockchain platforms are launching at a high cadence, each fighting for attention, adoption, and infrastructure resources. Several studies have measured the peer-to-peer (P2P) network decentralisation of Bitcoin and Ethereum (i.e., two of the largest used platforms). However, with the increasing demand for blockchain infrastructure, it is important to study node decentralisation across multiple blockchain networks, especially those containing a small number of nodes. In this paper, we propose NodeMaps, a data processing framework to capture, analyse, and visualise data from several popular P2P blockchain platforms, such as Cosmos, Stellar, Bitcoin, and Lightning Network. We compare and contrast the geographic distribution, the hosting provider diversity, and the software client variance in each of these platforms. Through our comparative analysis of node data, we found that Bitcoin and its Lightning Network Layer 2 protocol are widely decentralised P2P blockchain platforms, with the largest geographical reach and a high proportion of nodes operating on The Onion Router (TOR) privacy-focused network. Cosmos and Stellar blockchains have reduced node participation, with nodes predominantly operating in large cloud providers or well-known data centres.

新的区块链平台正在以很高的节奏推出,每个平台都在争夺关注、采用和基础设施资源。几项研究测量了比特币和以太坊(即两个最大的使用平台)的点对点(P2P)网络去中心化。然而,随着对区块链基础设施的需求不断增加,研究跨多个区块链网络的节点去中心化非常重要,特别是那些包含少量节点的区块链网络。在本文中,我们提出了NodeMaps,这是一个数据处理框架,用于捕获,分析和可视化来自几个流行的P2P区块链平台的数据,如Cosmos, Stellar,比特币和闪电网络。我们比较和对比了这些平台中的地理分布、托管提供商的多样性和软件客户端差异。通过对节点数据的比较分析,我们发现比特币及其闪电网络第二层协议是广泛分散的P2P区块链平台,具有最大的地理覆盖范围和高比例的节点在洋葱路由器(TOR)以隐私为重点的网络上运行。Cosmos和Stellar区块链减少了节点参与,节点主要在大型云提供商或知名数据中心运行。
{"title":"Measuring node decentralisation in blockchain peer to peer networks","authors":"Andrew Howell ,&nbsp;Takfarinas Saber ,&nbsp;Malika Bendechache","doi":"10.1016/j.bcra.2022.100109","DOIUrl":"10.1016/j.bcra.2022.100109","url":null,"abstract":"<div><p>New blockchain platforms are launching at a high cadence, each fighting for attention, adoption, and infrastructure resources. Several studies have measured the peer-to-peer (P2P) network decentralisation of Bitcoin and Ethereum (i.e., two of the largest used platforms). However, with the increasing demand for blockchain infrastructure, it is important to study node decentralisation across multiple blockchain networks, especially those containing a small number of nodes. In this paper, we propose NodeMaps, a data processing framework to capture, analyse, and visualise data from several popular P2P blockchain platforms, such as Cosmos, Stellar, Bitcoin, and Lightning Network. We compare and contrast the geographic distribution, the hosting provider diversity, and the software client variance in each of these platforms. Through our comparative analysis of node data, we found that Bitcoin and its Lightning Network Layer 2 protocol are widely decentralised P2P blockchain platforms, with the largest geographical reach and a high proportion of nodes operating on The Onion Router (TOR) privacy-focused network. Cosmos and Stellar blockchains have reduced node participation, with nodes predominantly operating in large cloud providers or well-known data centres.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 1","pages":"Article 100109"},"PeriodicalIF":5.6,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"42358660","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 8
Cryptographic obfuscation for smart contracts: Trustless bitcoin bridge and more 智能合约的加密混淆:无信任的比特币桥等
IF 5.6 3区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS Pub Date : 2023-03-01 DOI: 10.1016/j.bcra.2022.100118
Sora Suegami

Privacy protection for smart contracts is currently inadequate. Existing solutions for privacy-preserving smart contracts either support only a limited class of smart contracts or rely on noncryptographic assumptions.

We propose a cryptographic obfuscation scheme for smart contracts based on existing blockchain mechanisms, standard cryptographic assumptions, and witness encryption. In the proposed scheme, an obfuscated smart contract does not reveal its algorithm and hardcoded secrets and preserves encrypted states. Any user can provide it with encrypted inputs and allow an untrusted third party to execute it. Although multiparty computation (MPC) among dynamically changing users is necessary, its privacy is protected if at least one user is honest. If the MPC does not finish within a period of time, anyone can cancel and restart it. The proposed scheme also supports decentralized obfuscation where even the participants of the obfuscation process cannot learn secrets in the obfuscated smart contract unless all of them are malicious. As its applications, we present a new trustless bitcoin bridge mechanism that exposes no secret key and privacy-preserving anti-money laundering built into smart contracts.

目前,智能合约的隐私保护不足。现有的保护隐私的智能合约解决方案要么只支持有限类别的智能合约,要么依赖于非加密假设。我们提出了一种基于现有区块链机制、标准加密假设和证人加密的智能合约加密混淆方案。在提出的方案中,混淆的智能合约不会泄露其算法和硬编码秘密,并保留加密状态。任何用户都可以向它提供加密的输入,并允许不受信任的第三方执行它。尽管在动态变化的用户之间进行多方计算(MPC)是必要的,但如果至少有一个用户是诚实的,那么多方计算的隐私性就得到了保护。如果MPC在一段时间内没有完成,任何人都可以取消并重新启动它。该方案还支持去中心化混淆,即使是混淆过程的参与者也无法从被混淆的智能合约中了解秘密,除非它们都是恶意的。作为其应用,我们提出了一种新的无信任比特币桥接机制,该机制不暴露密钥,并且在智能合约中内置了保护隐私的反洗钱机制。
{"title":"Cryptographic obfuscation for smart contracts: Trustless bitcoin bridge and more","authors":"Sora Suegami","doi":"10.1016/j.bcra.2022.100118","DOIUrl":"10.1016/j.bcra.2022.100118","url":null,"abstract":"<div><p>Privacy protection for smart contracts is currently inadequate. Existing solutions for privacy-preserving smart contracts either support only a limited class of smart contracts or rely on noncryptographic assumptions.</p><p>We propose a cryptographic obfuscation scheme for smart contracts based on existing blockchain mechanisms, standard cryptographic assumptions, and witness encryption. In the proposed scheme, an obfuscated smart contract does not reveal its algorithm and hardcoded secrets and preserves encrypted states. Any user can provide it with encrypted inputs and allow an untrusted third party to execute it. Although multiparty computation (MPC) among dynamically changing users is necessary, its privacy is protected if at least one user is honest. If the MPC does not finish within a period of time, anyone can cancel and restart it. The proposed scheme also supports decentralized obfuscation where even the participants of the obfuscation process cannot learn secrets in the obfuscated smart contract unless all of them are malicious. As its applications, we present a new trustless bitcoin bridge mechanism that exposes no secret key and privacy-preserving anti-money laundering built into smart contracts.</p></div>","PeriodicalId":53141,"journal":{"name":"Blockchain-Research and Applications","volume":"4 1","pages":"Article 100118"},"PeriodicalIF":5.6,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"47478030","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
期刊
Blockchain-Research and Applications
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1