Abstract
Blockchain smart contracts can support the decentralisation of business processes, but due to smart contracts’ specifics, their development is a complicated process. Introducing model-driven development principles in smart contract development can facilitate requirement specification, design, and implementation activities. This paper presents a model-driven development method MDAsmartCD (Model-Driven Architecture-based Smart Contract Development) to alleviate smart contract development by supporting the complete MDA life cycle, covering the definition of Computation-Independent Model, Platform-Independent Model, and two instances of Platform-Specific Models. In MDAsmartCD, model transformations (model-to-model and model-to-text) are used to produce smart contract code in the Hyperledger Fabric platform Go and the Ethereum platform Solidity programming languages. The method application was demonstrated by implementing the smart contract for the hackathon solution and executing the generated Solidity and Go smart contracts in the workflow of issuing certificates for hackathon participants. During the execution of the workflow, both deployed smart contracts behaved identically and recorded analogous results in respective blockchain data storages. This demonstrated that the MDAsmartCD method enables the generation of compilable and executable smart contract code, ready for deployment on a blockchain platform.
Subject
Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science
Reference43 articles.
1. A Survey of Blockchain From the Perspectives of Applications, Challenges, and Opportunities;Monrat;IEEE Access,2019
2. Yano, M., Dai, C., Masuda, K., and Kishimoto, Y. (2020). Blockchain and Crypto Currency, Springer.
3. Smart Contract Development: Challenges and Opportunities;Zou;IEEE Trans. Softw. Eng.,2019
4. A Survey on Blockchain for Information Systems Management and Security;Berdik;Inf. Process. Manag.,2021
5. Model-Based Software Design and Testing in Blockchain Smart Contracts: A Systematic Literature Review;Escalona;IEEE Access,2020
Cited by
5 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献