EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

A Reuse-Oriented Visual Smart Contract Code Generator for Efficient Development of Complex Multi-Party Interaction Scenarios

Xinzhe Shen, Wenyu Li, Hanchuan Xu, Xiao Wang, Zhongjie Wang

Applied Sciences · 11.07.2023 · 13 (14) · 8094

DOI: 10.3390/app13148094 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Applied Sciences, online erschienen am 11.07.2023. Verfasst von Xinzhe Shen und 4 weiteren Autor:innen. Die Arbeit wurde bisher 11-mal zitiert (Crossref) und nennt 25 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Key Research and Development Program of China.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Multi-party interaction scenarios usually involve interaction and collaboration between multiple participants, such as business negotiation, teamwork, etc. In multi-party interaction scenarios, trust mechanisms are needed to ensure the use of rights and the fulfillment of obligations. The use of blockchain and smart contracts to establish a decentralized trust mechanism is a solution. The development process of smart contracts may require experts in different fields to design them together, and it is difficult for non-experts to understand smart contract code. The traditional method of smart contract development is for the developer to manually write the smart contract code, which may lead to low development efficiency and the inability of the scene participants to understand the smart contract code. To address this challenge, we propose a reuse-oriented visual smart contract generator to efficiently develop complex multi-party interaction scenarios. This paper proposes a model based on BPMN that uses smart contracts to express the process of multi-party interaction so that the parties in various domains understand the business requirements. Then, a multi-layer reusable library is proposed and used to generate a visual solidity code. We also integrate code compilation, security checking, and deployment into the target blockchain environment for testing. The function of the tool is verified in the case of flight delay insurance, which shows that it can aid the automated development of smart contracts for multi-party interaction scenarios. At the same time, the feasibility of the tool is verified by five cases selected from the literature, which shows that it can aid the development of smart contracts to achieve a high degree of reusability.

Förderung

  • National Key Research and Development Program of China

Zitieren

APA

Shen, X., Li, W., Xu, H., Wang, X., & Wang, Z. (2023). A Reuse-Oriented Visual Smart Contract Code Generator for Efficient Development of Complex Multi-Party Interaction Scenarios. Applied Sciences, 13(14), 8094. https://doi.org/10.3390/app13148094

Vancouver

Shen X, Li W, Xu H, Wang X, Wang Z. A Reuse-Oriented Visual Smart Contract Code Generator for Efficient Development of Complex Multi-Party Interaction Scenarios. Applied Sciences. 2023;13(14):8094. doi:10.3390/app13148094

BibTeX
@article{Shen2023,
  author = {Shen, Xinzhe and Li, Wenyu and Xu, Hanchuan and Wang, Xiao and Wang, Zhongjie},
  title = {A Reuse-Oriented Visual Smart Contract Code Generator for Efficient Development of Complex Multi-Party Interaction Scenarios},
  journal = {Applied Sciences},
  year = {2023},
  volume = {13},
  number = {14},
  pages = {8094},
  doi = {10.3390/app13148094}
}
Kostenlos starten →