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 条
  • [11] Automatic Generation System of Virtual Agent's Motion using Natural Language
    Ishii, Ryo
    Katayama, Taichi
    Higashinaka, Ryuichiro
    Tomita, Junji
    18TH ACM INTERNATIONAL CONFERENCE ON INTELLIGENT VIRTUAL AGENTS (IVA'18), 2018, : 357 - 358
  • [12] MyProLang - My Programming Language A Template-Driven Automatic Natural Programming Language
    Bassil, Youssef A.
    Barbar, Aziz M.
    WCECS 2008: WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, 2008, : 225 - 230
  • [13] (Semi) automatic Assertion Generation from Controlled Chinese Natural Language: A Practice in Aerospace Industry
    Liu, Shiyu
    Li, Dongfang
    Chen, Yasha
    Yang, Guang
    2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 778 - 782
  • [14] Smart Contract Locator (SCL) and Smart Contract Description Language (SCDL)
    Lamparelli, Andrea
    Falazi, Ghareeb
    Breitenbuecher, Uwe
    Daniel, Florian
    Leymann, Frank
    SERVICE-ORIENTED COMPUTING, ICSOC 2019, 2020, 12019 : 195 - 210
  • [15] A library for automatic natural language generation of spanish texts
    Garcia-Mendez, Silvia
    Fernandez-Gavilanes, Milagros
    Costa-Montenegro, Enrique
    Juncal-Martinez, Jonathan
    Javier Gonzalez-Castano, F.
    EXPERT SYSTEMS WITH APPLICATIONS, 2019, 120 : 372 - 386
  • [16] The Glass Ceiling of Automatic Evaluation in Natural Language Generation
    Colombo, Pierre
    Peyrard, Maxime
    Noiry, Nathan
    West, Robert
    Piantanida, Pablo
    13TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING AND THE 3RD CONFERENCE OF THE ASIA-PACIFIC CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, IJCNLP-AACL 2023, 2023, : 178 - 183
  • [17] A Survey of Automatic Code Generation from Natural Language
    Shin, Jiho
    Nam, Jaechang
    JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2021, 17 (03): : 537 - 555
  • [18] AUTOMATIC-GENERATION OF TEXTS IN NATURAL-LANGUAGE
    DANLOS, L
    ANNALES DES TELECOMMUNICATIONS-ANNALS OF TELECOMMUNICATIONS, 1989, 44 (1-2): : 94 - 100
  • [19] Automatic generation of portable parallel natural language parsers
    Manousopoulou, AG
    Manis, G
    Tsanakas, P
    Papakonstantinou, G
    NINTH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 1997, : 174 - 177
  • [20] Extracting Formal Smart-Contract Specifications from Natural Language with LLMs
    Leiter, Gabriel
    Arruda, Filipe
    Antonino, Pedro
    Sampaio, Augusto
    Roscoe, A. W.
    FORMAL ASPECTS OF COMPONENT SOFTWARE, FACS 2024, 2024, 15189 : 109 - 126