arrow
Return

Visual and User-Defined Smart Contract Designing System Based on Automatic Coding

delete2019-01-01
delete45
delete
OA
AI
D
Dianhui Mao
F
Fan Wang *
Y
Yalei Wang
Z
Zhihao Hao
DOI:10.1109/ACCESS.2019.2920776delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Smart contract applications based on Ethereum blockchain have been widely used in many fields. They are developed by professional developers using specialized programming languages like solidity. It requires high requirements on knowledge of the specialized field and the proficiency in contract programming Thus, it is hard for normal users to design a usable smart contract based on their own demands. Most current studies about smart contracts focus on the security of coding while lack of friendly tools for users to design the specialized templates of contracts coding. This paper provides a visual and user-defined smart contract designing systems. It makes the development of domain-specific smart contracts simpler and visualization for contract users. The system implements the domain-specific features extraction about the crawled data sets of smart contract programs by TF-IDF and K-means++ clustering algorithm. Then, it achieves the automatic generation of unified basic function codes by Char-RNN (improved by LSTM) based on the domain-specific features. The system adopts Google Blockly and links the generated codes with UI controls. Finally, it provides a set of specialized templates of basic functions for users to design smart contracts by the friendly interface. It reduces the difficulty and costs of contract programming. The paper offers a case study to design contracts by users. The designed contracts were validated on the existing system to implement the food trading and traders' credit evaluation. The experimental results show that the designed smart contracts achieve good integration with the existing system and they can be deployed and compiled successfully.
Keywords:
Smart contract
Char-RNN
LSTM
automatic coding

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

No organization information available
Cited Papers

Cited Papers

ChemInform Abstract: Glutaraldehyde in Bio‐Catalysts Design: A Useful Crosslinker and a Versatile Tool in Enzyme Immobilization
err2014-05-08
err0
PREAI
errOveimar Barbosa; Claudia Ortiz; Angel Berenguer‐Murcia; Rodrigo Torres; Rafael C. Rodrigues; Roberto Fernandez‐Lafuente
errShare
errSave
Deep learning in neural networks: An overview
err2015-01-01
err1.3W
errOAAI
errSchmidhuber, Juergen
errShare
errSave
Use of Cervid Serosurveys to Monitor Eastern Equine Encephalitis Virus Activity in Northern New England, United States, 2009–2017
err2021-11-04
err0
errOAAI
errJohn-Paul Mutebi; Abigail A Mathewson; Susan P Elias; Sara Robinson; Alan C Graham; Patti Casey; Charles B Lubelczyk
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Robust amphiphobic coatings from bi-functional silica particles on flat substrates
err2013-05-01
err0
PREAI
errDean Xiong; Guojun Liu; E.J. Scott Duncan
errShare
errSave
researcher View more