iContractBot: A Chatbot for Smart Contracts' Specification and Code Generation

03/16/2021
by   Ilham Qasse, et al.
0

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 domain-specific 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 conversation.

READ FULL TEXT
research
10/24/2020

The Benefits of Deploying Smart Contracts on Trusted Third Parties

The hype about Bitcoin has overrated the potential of smart contracts de...
research
12/21/2021

Chat2Code: Towards conversational concrete syntax for model specification and code generation, the case of smart contracts

The revolutionary potential of automatic code generation tools based on ...
research
05/18/2019

Developing secure Bitcoin contracts with BitML

We present a toolchain for developing and verifying smart contracts that...
research
01/22/2021

Probabilistic Framework For Loss Distribution Of Smart Contract Risk

Smart contract risk can be defined as a financial risk of loss due to cy...
research
03/10/2023

Watch the Gap: Making code more intelligible to users without sacrificing decentralization?

The potential for blockchain technology to eliminate the middleman and r...
research
11/28/2021

Semantic Code Search for Smart Contracts

Semantic code search technology allows searching for existing code snipp...
research
07/19/2020

STAN: Towards Describing Bytecodes of Smart Contract

More than eight million smart contracts have been deployed into Ethereum...

Please sign up or login with your details

Forgot password? Click here to reset