Development of blockchain smart contracts is more difficult than mainstream software development, because the underlying blockchain infrastructure poses additional complexity. To ease the developer's task of writing smart contract, we use Business Process Model and Notation (BPMN) modeling to describe application requirements for trade of goods and services and then transform automatically the BPMN model into the methods of a smart contract. In our previous research, we described our approach and a tool to Transform Automatically BPMN models into Smart contracts (TABS). In this article, we describe how the TABS approach is augmented with the support for a BPMN trade transaction that is a collaboration by several actors. Our approach analyzes the BPMN model to determine which patterns in the BPMN model are suitable for use as trade transactions and show those patterns to the developer who decides which ones should be deployed as trade transactions. We describe how our approach automatically transforms the BPMN model into a smart contract that provides a transaction mechanism to enforce the transactional properties of the nested transactions. Our approach greatly reduces the developer's task as synchronization of collaborative activities is provided by our approach, so that the developer needs to code only isolated tasks with well-defined inputs and outputs. We also overview the TABS+ tool we built as a proof of concept to show that our approach is feasible, and we provide estimates on the cost of supporting the nested trade transactions.
30 March 2025 in Blockchain: Research and Applications
The aquaculture industry faces significant challenges related to sustainability, productivity, and fish welfare. Key issues include managing environmental conditions, disease, pests, and data integration from various sensors and monitoring systems. The BigFish project aims to address these challenges through advanced analytics and machine learning, focusing on three case studies in Atlantic salmon farms: predicting oxygen levels, reducing sea lice infestations, and improving data interaction and visualization. Predictive models for oxygen levels and sea lice infestation, as well as natural language interfaces for data visualization, demonstrate the potential for improved decision-making and management practices in aquaculture. Early results indicate the effectiveness of these approaches, highlighting the importance of data-driven solutions in enhancing industry sustainability and productivity.
This paper addresses the challenge of creating smart contracts for applications represented using Business Process Management and Notation (BPMN) models. In our prior work we presented a methodology that automates the generation of smart contracts from BPMN models. This approach abstracts the BPMN flow control, making it independent of the underlying blockchain infrastructure, with only the BPMN task elements requiring coding. In subsequent research, we enhanced our approach by adding support for nested transactions and enabling a smart contract repair and/or upgrade. To empower Business Analysts (BAs) to generate smart contracts without relying on software developers, we tackled the challenge of generating smart contracts from BPMN models without assistance of a software developer. We exploit the Decision Model and Notation (DMN) standard to represent the decisions and the business logic of the BPMN task elements and amended our methodology for transformation of BPMN models into smart contracts to support also the generation script to represent the business logic represented by the DMN models. To support such transformation, we describe how the BA documents, using the BPMN elements, the flow of information along with the flow of execution. Thus, if the BA is successful in representing the blockchain application requirements using BPMN and DMN models, our methodology and the tool, called TABS, that we developed as a proof of concept, is used to generate the smart contracts directly from those models without developer assistance.