Aug 04, 2023
DOI:
Published in: International Conference On Systems Engineering
Publisher: Springer Nature Switzerland
The trending large language model-based ChatGPT service, originally meant to be used as conversational agent, has been adopted in many areas - from programming to entertainment. On the other side, development of smart contracts for various blockchain platforms represents a time and effort demanding task due to their special characteristics. In this paper, we explore how ChatGPT can be leveraged for the purpose of automated smart contract generation with aims to reduce the time and effort required for their development. For our case studies, we consider Solidity and DAML smart contract languages. As an outcome, we propose a model-driven framework treating the problem as a dialogue in a specific context between a user on one hand, facilitated via a smart contract model, and a ChatGPT service, on the other hand. According to our results, the approach seems promising, especially due to its flexibility.
Copyright © 2024 Al Ain University. All Rights Reserved.