Research on Smart Contract Verification and Generation Method Based on BPMN

Author:

Jin Jun1ORCID,Yan Le1,Zou Yidan1,Li Jie12,Yu Zhen1

Affiliation:

1. School of Information, Beijing Wuzi University, Beijing 101149, China

2. School of Computer Science and Engineering, Beihang University, Beijing 100191, China

Abstract

The post-deployment challenges in developing and upgrading blockchain smart contracts necessitate a high level of accuracy in their development and business logic. However, current methodologies for verifying the business logic of smart contracts frequently fail to address their alignment with end-user business requirements. This paper introduces a two-step language transformation process to bridge this gap. Initially, we establish a transformation rule from the Business Process Model and Notation (BPMN) to Prolog, enabling the translation of business processes into a Prolog representation. This step not only validates the business process logic but also ensures it meets user specifications. Subsequently, we introduce a transformation rule from the BPMN to Go, which facilitates the transformation of the BPMN model, once validated, into a Go language smart contract. To enhance usability, we have engineered a dedicated tool that streamlines this transformation process. We present a case study involving a banking loan process to exemplify the utility of our tool in creating BPMN diagrams, conducting requirement and syntax validations, and effecting the transformation to Go smart contracts. The case study and empirical results suggest that our methodology and the accompanying tool mitigate the complexities inherent in smart contract development. They also ensure the fidelity of business logic to user demands, thereby promoting the broader adoption of blockchain smart contract technology.

Funder

Beijing Natural Science Foundation

Youth Fundation of Beijing Wuzi University

Science and Technique General Program of Beijing Municipal Commission of Education

Research Base Project of Beijing Municipal Social Science Foundation

Publisher

MDPI AG

Reference18 articles.

1. (2023, December 16). Graphical Smart Contract Generation Editor. Available online: http://www.lianmenhu.com/blockchain-4658-1.

2. Li, Y.S., Li, Y., and Jin, X. (2020). Visual Blockchain Smart Contract Framework and Deployment Methods for Smart Contract Development. (CN112148278A).

3. Caterpillar: A Blockchain-Based Business Process Management System;Dumas;Bus. Process Manag.,2017

4. Tran, A.B., Lu, Q., and Weber, I. (2018, January 9–14). Lorikeet: A Model-Driven Engineering Tool for Blockchain-Based Business Process Execution and Asset Management. Proceedings of the International Conference on Business Process Management, Sydney, NSW, Australia.

5. Gajski, D.D., Abdi, S., Gerstlauer, A., and Schirner, G. (2009). Embedded System Design: Modeling, Synthesis and Verification, Springer.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3