Automatic smart contract generation using controlled natural language and template

被引:19
|
作者
Tateishi, T. [1 ]
Yoshihama, S. [1 ]
Sato, N. [1 ]
Saito, S. [1 ]
机构
[1] IBM Res Tokyo, Tokyo 1038510, Japan
关键词
Distributed ledger - Blockchain;
D O I
10.1147/JRD.2019.2900643
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Smart contracts, which are widely recognized as key components of blockchain technology, enable automatic execution of agreements. Since each smart contract is a computer program that autonomously runs on a blockchain platform, their development requires much effort and care compared with the development of more common programs. In this paper, we propose a technique to automatically generate a smart contract from a human-understandable contract document that is created using a document template and a controlled natural language (CNL). The automation is based on a mapping from the document template and the CNL to a formal model that can define the terms and conditions in a contract including temporal constraints and procedures. The formal model is then translated into an executable smart contract. We implemented a toolchain that generates smart contracts of Hyperledger Fabric from template-based contract documents via a formal model. We then evaluated the feasibility of our approach through case studies of two types of real-world contracts in different domains.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] Leveraging Large Language Models for Automatic Smart Contract Generation
    Napoli, Emanuele Antonio
    Barbara, Fadi
    Gatteschi, Valentina
    Schifanella, Claudio
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 701 - 710
  • [2] Using natural language generation in automatic route description
    Dale, R
    Geldof, S
    Prost, JP
    JOURNAL OF RESEARCH AND PRACTICE IN INFORMATION TECHNOLOGY, 2005, 37 (01): : 89 - 105
  • [3] Combining Natural Language Processing and Blockchain for Smart Contract Generation in the Accounting and Legal Field
    Monteiro, Emiliano
    Righi, Rodrigo
    Kunst, Rafael
    da Costa, Cristiano
    Singh, Dhananjay
    INTELLIGENT HUMAN COMPUTER INTERACTION, PT I, 2021, 12615 : 307 - 321
  • [4] Automatic smart contract comment generation via large language models and in-context learning
    Zhao, Junjie
    Chen, Xiang
    Yang, Guang
    Shen, Yiheng
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 168
  • [5] Automatic Smart Contract generation for Internet of Media Things
    Allouche, Mohamed
    Mitrea, Mihai
    Moreaux, Alexandre
    Kim, Sang-Kyun
    ICT EXPRESS, 2021, 7 (03): : 274 - 277
  • [6] Automatic Generation of Natural Language Explanations
    Costa, Felipe
    Ouyang, Sixun
    Dolog, Peter
    Lawlor, Aonghus
    COMPANION OF THE 23RD INTERNATIONAL CONFERENCE ON INTELLIGENT USER INTERFACES (IUI'18), 2018,
  • [7] Automatic Generation of Coherent Natural Language Texts
    Marchenko, Oleksandr
    Isoieva, Mariam
    FLEXIBLE QUERY ANSWERING SYSTEMS, FQAS 2023, 2023, 14113 : 79 - 92
  • [8] The Automatic Generation of Smart Contract Based on Configuration in the Field of Government Services
    Zhang, Yaoyu
    Zhang, Jiarui
    Zhang, Han
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2022, E105D (12) : 2066 - 2074
  • [9] Automated Generation of LTL Specifications For Smart Home IoT Using Natural Language
    Zhang, Shiyu
    Zhai, Juan
    Bu, Lei
    Chen, Mingsong
    Wang, Linzhang
    Li, Xuandong
    PROCEEDINGS OF THE 2020 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2020), 2020, : 622 - 625
  • [10] Automatic Assertion Generation from Natural Language Specifications Using Subtree Analysis
    Zhao, Junchen
    Harris, Ian G.
    2019 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2019, : 598 - 601