Skip to main content
9th World Conference on Information Systems and Technologies

Full Program »

Smart Contract Code Generation From Platform Specific Model For Hyperledger Go

Model Driven Architecture (MDA) together with Unified Modelling Language (UML) presents a framework which transfers the emphasis of devel-opment from source code to the higher level of abstraction i.e., models. In this paper, we demonstrate the application of MDA principles for generating smart contract code executed on a blockchain. Even though blockchain smart contracts are not in all cases a classic type of object-oriented software, which UML is in-tended for, we demonstrate the possibility to adapt to this specific implementa-tion platform. MDA Platform Specific Model (PSM) is used as an input for trans-formation algorithm which maps PSM metamodel elements to Go Chaincode el-ements and produces Go chaincode. In PSM, UML class and sequence diagrams are used for specifying structural and behavioural aspects of the smart contract. MOFM2T transformation language and Acceleo tool are employed for the im-plementation of this algorithm. The results of the algorithm execution were demonstrated using example chaincode for machine learning model validation.

Mantas Jurgelaitis
Kaunas University of Technology, Faculty of Informatics, Department of Information Systems
Lithuania

Vaidotas Drungilas
Kaunas University of Technology, Faculty of Informatics, Department of Information Systems
Lithuania

Lina Čeponienė
Kaunas University of Technology, Faculty of Informatics, Department of Information Systems
Lithuania

Evaldas Vaičiukynas
Kaunas University of Technology, Faculty of Informatics, Department of Information Systems
Lithuania

Rita Butkienė
Kaunas University of Technology, Faculty of Informatics, Department of Information Systems
Lithuania

Jonas Čeponis
Kaunas University of Technology, Faculty of Informatics, Department of Computer Science
Lithuania

 


Powered by OpenConf®
Copyright ©2002-2020 Zakon Group LLC