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
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 ,...
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...
THE LEGAL NATURE OF PUBLIC PROCUREMENT AGREEMENTS AND THE FEATURES OF CONTRACTING IN ELECTRONIC FORM
THE LEGAL NATURE OF PUBLIC PROCUREMENT AGREEMENTS AND THE FEATURES OF CONTRACTING IN ELECTRONIC FORM
In the article, based on the analysis of the contractual process, with the help of analytical, formal-logical and comparative legal methods, the legal nature of the peculiarities o...
Implementation of Salam and Istishna’ Contracts in Islamic Financial Institutions
Implementation of Salam and Istishna’ Contracts in Islamic Financial Institutions
Islamic financial institutions are continually innovating in the field of financing, one of which is through salam and istishna' contracts. The implementation of these contracts ho...
A COMPARATIVE ANALYSIS OF SMART CONTRACTS AND ISLAMIC CONTRACTS
A COMPARATIVE ANALYSIS OF SMART CONTRACTS AND ISLAMIC CONTRACTS
A smart contract is a computer protocol contract of which its innovation rooted from the traditional contract. However, Sharia-compliant transaction necessitates a contract to fulf...
SMART consulting contracts- An operator perspective
SMART consulting contracts- An operator perspective
Abstract
The nature of operator / consultant relationship is constantly evolving under the stresses of resource demand / supply gap and emerging oilfield technolo...
Benchmarking Hayai-Annotation Plants: A Re-evaluation Using Standard Evaluation Metrics
Benchmarking Hayai-Annotation Plants: A Re-evaluation Using Standard Evaluation Metrics
Abstract
The rapid growth of next-generation sequencing (NGS) technology has led to a surge in the determination of whole genome sequences in pla...
An extensible genome annotation workbench based on the Galaxy Platform
An extensible genome annotation workbench based on the Galaxy Platform
Introduction
Falling costs of genetic sequencing have allowed sequencing and annotation of the genomes of non-model organism. In annotating non-mod...

