A Reuse-Oriented Visual Smart Contract Code Generator for Efficient Development of Complex Multi-Party Interaction Scenarios
Source abstract
Abstract
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.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Blockchain Technology Applications and Security · Ethics and Social Impacts of AI · FinTech, Crowdfunding, Digital Finance
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Faculty of Computing, Harbin Institute of Technology, Harbin 150001, China
Funding
National Key Research and Development Program of China
References (25)
Show source-provided references
1. Bitcoin: A peer-to-peer electronic cash system
2. Smart contracts: Building blocks for digital markets
3. Androulaki, E., Barger, A., Bortnikov, V., Cachin, C., Christidis, K., De Caro, A., Enyeart, D., Ferris, C., Laventman, G., and Manevich, Y. (2018, January 23–26). Hyperledger fabric: A distributed operating system for permissioned blockchains. Proceedings of the Thirteenth EuroSys Conference, Porto, Portugal.10.1145/3190508.3190538 ↗
4. Air France-KLM/Simplon.co (2023, March 15). Fizzy White Paper. Available online: https://www.axa.com/en/news/axa-goes-blockchain-with-fizzy.
5. Dwivedi, V., and Norta, A. (2021, January 25–26). Auto-generation of smart contracts from a domain-specific XML-based language. Intelligent Data Engineering and Analytics, Proceedings of the 9th International Conference on Frontiers in Intelligent Computing: Theory and Applications (FICTA 2021), Aizawl, India.
6. Dannen, C. (2017). Introducing Ethereum and Solidity, Springer.10.1007/978-1-4842-2535-6 ↗
7. VYPER: Vulnerability detection in binary code10.1002/spy2.100 ↗
8. Xu, T.A., and Xu, J. (2022). A short survey on business models of decentralized finance (DeFi) protocols. arXiv.
9. The impact of trust on innovativeness and supply chain performance10.1016/j.ijpe.2008.12.025 ↗
10. Weber, I., Xu, X., Riveret, R., Governatori, G., Ponomarev, A., and Mendling, J. (2016, January 18–22). Untrusted business process monitoring and execution using blockchain. Proceedings of the International Conference on Business Process Management, Rio de Janeiro, Brazil.10.1007/978-3-319-45348-4_19 ↗
11. Skotnica, M., Klicpera, J., and Pergl, R. (2020, January 9–10). towards model-driven smart contract systems–code generation and improving expressivity of smart contract modeling. Proceedings of the EEWC, Bolzano, Italy.
12. Qin, P., Tan, W., Guo, J., and Shen, B. (2021). Intelligible description language contract (IDLC)—A novel smart contract model. Inf. Syst. Front., 1–18.10.1007/s10796-021-10138-4 ↗
13. Wöhrer, M., and Zdun, U. (2020, January 3–6). Domain specific language for smart contract development. Proceedings of the 2020 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), Toronto, ON, Canada.10.1109/ICBC48266.2020.9169399 ↗
14. Automatic smart contract generation using controlled natural language and template10.1147/JRD.2019.2900643 ↗
15. (2022, December 01). Google Blockly. Available online: https://developers.google.com/blockly.
16. Guida, L., and Daniel, F. (2019, January 5–9). Supporting reuse of smart contracts through service orientation and assisted development. Proceedings of the 2019 IEEE International Conference on Decentralized Applications and Infrastructures (DAPPCON), Newark, CA, USA.10.1109/DAPPCON.2019.00017 ↗
17. Visual and user-defined smart contract designing system based on automatic coding10.1109/ACCESS.2019.2920776 ↗
18. DuPont, Q. (2017). Bitcoin and Beyond, Routledge.
19. Feist, J., Grieco, G., and Groce, A. (2019, January 27). Slither: A static analysis framework for smart contracts. Proceedings of the 2019 IEEE/ACM 2nd International Workshop on Emerging Trends in Software Engineering for Blockchain (WETSEB), Montreal, QC, Canada.10.1109/WETSEB.2019.00008 ↗
20. Mohanty, D. (2018). Ethereum for Architects and Developers, Springer.10.1007/978-1-4842-4075-5 ↗
21. Daramola, O., and Thebus, D. (2020). Architecture-centric evaluation of blockchain-based smart contract e-voting for national elections. Informatics, 7.10.3390/informatics7020016 ↗
22. Frantz, C.K., and Nowostawski, M. (2016, January 12–16). From institutions to code: Towards automated generation of smart contracts. Proceedings of the 2016 IEEE 1st International Workshops on Foundations and Applications of Self* Systems (FAS* W), Augsburg, Germany.10.1109/FAS-W.2016.53 ↗
23. Review of smart contract technology and application based on block chain
24. Fdhila, W., Rinderle-Ma, S., Knuplesch, D., and Reichert, M. (July, January 27). Change and compliance in collaborative processes. Proceedings of the 2015 IEEE International Conference on Services Computing, New York, NY, USA.10.1109/SCC.2015.31 ↗
25. Weingaertner, T., Rao, R., Ettlin, J., Suter, P., and Dublanc, P. (2018, January 20–22). Smart contracts using blockly: Representing a purchase agreement using a graphical programming language. Proceedings of the Crypto Valley Conference on Blockchain Technology (CVCBT), Zug, Switzerland.10.1109/CVCBT.2018.00012 ↗