Javascript must be enabled to continue!
An annotation assisted smart contracts generation method
View through CrossRef
AbstractWith the rapid development of blockchain technology, the demand and complexity of smart contracts have sharply increased. However, smart contracts not only have high security requirements, but also have unique development languages that conventional software developers find difficult to quickly adapt to. Therefore, how to efficiently develop secure and reliable smart contracts is a key issue. Therefore, we propose an annotation guided intelligent contract automatic generation method based on the Char-RNN network. It utilizes annotation information from the source code of smart contracts as semantic assist, and enhances the clustering performance for functionally similar smart contracts, which can obtain more accurate features of smart contracts. At the same time, to enhance the applicability of the model, the method achieves automatic generation of code at multiple levels such as contracts, functions, interfaces, libraries, etc., to meet the development needs of different users. To evaluate the effectiveness of our method, we conducted experiments on the automatically generated smart contract using the BLUE metrics and VaaS security detection tool. The experimental results showed that compared with existing methods, the smart contract generated by our method improved the average BLEU score by 27% and the accuracy by 7.6%.
Title: An annotation assisted smart contracts generation method
Description:
AbstractWith the rapid development of blockchain technology, the demand and complexity of smart contracts have sharply increased.
However, smart contracts not only have high security requirements, but also have unique development languages that conventional software developers find difficult to quickly adapt to.
Therefore, how to efficiently develop secure and reliable smart contracts is a key issue.
Therefore, we propose an annotation guided intelligent contract automatic generation method based on the Char-RNN network.
It utilizes annotation information from the source code of smart contracts as semantic assist, and enhances the clustering performance for functionally similar smart contracts, which can obtain more accurate features of smart contracts.
At the same time, to enhance the applicability of the model, the method achieves automatic generation of code at multiple levels such as contracts, functions, interfaces, libraries, etc.
, to meet the development needs of different users.
To evaluate the effectiveness of our method, we conducted experiments on the automatically generated smart contract using the BLUE metrics and VaaS security detection tool.
The experimental results showed that compared with existing methods, the smart contract generated by our method improved the average BLEU score by 27% and the accuracy by 7.
6%.
Related Results
Generative AI-Driven Smart Contract Optimization for Secure and Scalable Smart City Services
Generative AI-Driven Smart Contract Optimization for Secure and Scalable Smart City Services
Smart cities use advanced infrastructure and technology to improve the quality of life for their citizens. Collaborative services in smart cities are making the smart city ecosyste...
Smart contract generation model based on code annotation and AST-LSTM tuning
Smart contract generation model based on code annotation and AST-LSTM tuning
Abstract
With the wide application of smart contracts in many fields, the number, types, and complexity of smart contracts are showing a rapidly increasing trend. However ,...
Reinventing Smart Water Management System through ICT and IoT Driven Solution for Smart Cities
Reinventing Smart Water Management System through ICT and IoT Driven Solution for Smart Cities
Purpose: Worldwide water scarcity is one of the major problems to deal with. Smart Cities also faces this challenging problem due to its ever-increasing population and limited sour...
Smart Contract Technology Potential in Mitigating Defects of Islamic Banks’ Tawarruq Operations
Smart Contract Technology Potential in Mitigating Defects of Islamic Banks’ Tawarruq Operations
Smart contracts are computer codes that represent contract terms and are designed to run on a blockchain platform, automatically enforced upon receiving predetermined inputs. This ...
Kajian Pembangunan Smart Society Kota Bandung
Kajian Pembangunan Smart Society Kota Bandung
Abstract. Rancasari sub-district which is included in the Gedebage SWK with the theme of the technopolis area has a strong position in smart development because of the interest of ...
On Observing Contracts: Deontic Contracts Meet Smart Contracts
On Observing Contracts: Deontic Contracts Meet Smart Contracts
Smart contracts have been proposed as executable implementations enforcing real-life contracts. Unfortunately, the semantic gap between these allows for the smart contract to diver...
Why and how developers maintain smart contracts
Why and how developers maintain smart contracts
Abstract
Smart contracts, i.e., self-executing contracts written in code, have gained popularity in recent years due to the introduction of blockchain technology. These c...
Pet Euthanasia and Human Euthanasia
Pet Euthanasia and Human Euthanasia
Photo ID 213552852 © Yuryz | Dreamstime.com
Abstract
A criticism of assisted death is that it’s contrary to the Hippocratic Oath. This opposition to assisted death assumes that dea...

