Asset Details
MbrlCatalogueTitleDetail
Do you wish to reserve the book?
A novel method using LSTM-RNN to generate smart contracts code templates for improved usability
by
Li, Haisheng
, Zuo, Min
, Xu, Cheng-Zhong
, Zhang, Bob
, Hao, Zhihao
, Mao, Dianhui
, Yen, Jerome
, Zhao, Zhihua
in
Blockchain
/ Coding
/ Contracts
/ Cryptography
/ Machine learning
/ Multimedia
/ Recurrent neural networks
/ Security
/ Semantics
2023
Hey, we have placed the reservation for you!
By the way, why not check out events that you can attend while you pick your title.
You are currently in the queue to collect this book. You will be notified once it is your turn to collect the book.
Oops! Something went wrong.
Looks like we were not able to place the reservation. Kindly try again later.
Are you sure you want to remove the book from the shelf?
A novel method using LSTM-RNN to generate smart contracts code templates for improved usability
by
Li, Haisheng
, Zuo, Min
, Xu, Cheng-Zhong
, Zhang, Bob
, Hao, Zhihao
, Mao, Dianhui
, Yen, Jerome
, Zhao, Zhihua
in
Blockchain
/ Coding
/ Contracts
/ Cryptography
/ Machine learning
/ Multimedia
/ Recurrent neural networks
/ Security
/ Semantics
2023
Oops! Something went wrong.
While trying to remove the title from your shelf something went wrong :( Kindly try again later!
Do you wish to request the book?
A novel method using LSTM-RNN to generate smart contracts code templates for improved usability
by
Li, Haisheng
, Zuo, Min
, Xu, Cheng-Zhong
, Zhang, Bob
, Hao, Zhihao
, Mao, Dianhui
, Yen, Jerome
, Zhao, Zhihua
in
Blockchain
/ Coding
/ Contracts
/ Cryptography
/ Machine learning
/ Multimedia
/ Recurrent neural networks
/ Security
/ Semantics
2023
Please be aware that the book you have requested cannot be checked out. If you would like to checkout this book, you can reserve another copy
We have requested the book for you!
Your request is successful and it will be processed during the Library working hours. Please check the status of your request in My Requests.
Oops! Something went wrong.
Looks like we were not able to place your request. Kindly try again later.
A novel method using LSTM-RNN to generate smart contracts code templates for improved usability
Journal Article
A novel method using LSTM-RNN to generate smart contracts code templates for improved usability
2023
Request Book From Autostore
and Choose the Collection Method
Overview
Recently, the development of blockchain technology has given us an opportunity to improve the security and trustworthiness of multimedia. With the applications of blockchain technology, smart contracts have been widely used in many industries. However, the current development of smart contracts faces many challenges. One of the challenges is that the coding process is complicated for developers, leading to unnormalized code and can cause development and maintenance issues. Also, this is an important limitation factor in the development of smart contracts. To solve this problem, this paper proposes a method of generating contract templates based on the Long Short-Term Memory Recurrent Neural Network (LSTM-RNN) to simplify the coding process. First, the contracts available online were crawled, before detecting the vulnerabilities of these contracts. Contracts with less vulnerabilities are used as training data. For better generation effects, the Abstract Syntax Tree (AST) and the word2vec are used to extract the lexical unit sequence features to obtain a word vector in order to analyze the semantics of the code. Afterwards, the generated sequence vector features are fed to LSTM-RNN for template generation. The efficiency of four types of vectorization method models were tested and the results showed that the Skip-Gram+ HS used in this paper achieved the highest performance. In addition, a security test was conducted based on the contracts before and after using the contract templates for normalized coding. The results show that the proposed method is not only a beneficial attempt to combine deep learning with blockchain technology, but also provides an effective guidance for improving the security of smart contracts.
Publisher
Springer Nature B.V
Subject
This website uses cookies to ensure you get the best experience on our website.