Reykjavik UniversityHáskólinn í ReykjavíkQasse, IlhamMishra, ShaileshHamdaqa, Mohammad2023-02-172023-02-172021-06I. Qasse, S. Mishra and M. Hamdaqa, "iContractBot: A Chatbot for Smart Contracts’ Specification and Code Generation," in 2021 IEEE/ACM Third International Workshop on Bots in Software Engineering (BotSE), Madrid, Spain, 2021, pp. 35-38. doi: 10.1109/BotSE52550.2021.000159781665444682 (eISBN)https://hdl.handle.net/20.500.11815/4000Pre-print (Óritrýnt handrit)Recently, Blockchain technology adoption has expanded to many application areas due to the evolution of smart contracts. However, developing smart contracts is non-trivial and challenging due to the lack of tools and expertise in this field. A promising solution to overcome this issue is to use Model-Driven Engineering (MDE), however, using models still involves a learning curve and might not be suitable for non-technical users. To tackle this challenge, chatbot or conversational interfaces can be used to assess the non-technical users to specify a smart contract in gradual and interactive manner. In this paper, we propose iContractBot, a chatbot for modeling and developing smart contracts. Moreover, we investigate how to integrate iContractBot with iContractML, a domainspecific modeling language for developing smart contracts, and instantiate intention models from the chatbot. The iContractBot framework provides a domain-specific language (DSL) based on the user intention and performs model-to-text transformation to generate the smart contract code. A smart contract use case is presented to demonstrate how iContractBot can be utilized for creating models and generating the deployment artifacts for smart contracts based on a simple conversation35-38eninfo:eu-repo/semantics/openAccessChatbotsBlockchainDomain specific languages (Computer science)Ethereum (Databases)Hyperledger composerModel-driven engineeringSmart contractsHugbúnaðargerðHugbúnaðarverkfræðiLíkönSamskiptaforritSamskiptatækniSamningarNetöryggiiContractBot: A chatbot for smart contracts’ specification and code generationinfo:eu-repo/semantics/conferenceObject2021 IEEE/ACM Third International Workshop on Bots in Software Engineering (BotSE)10.1109/BotSE52550.2021.00015