Multi-language intelligent contract compiling method based on blockchain

A technology of smart contracts and compilation methods, which is applied in the field of blockchain-based multilingual smart contract compilation, can solve problems such as high learning costs, single programming language, and difficulty in mastering proficiency, so as to improve compilation efficiency, reduce learning costs, and reduce The effect of running the threshold

Active Publication Date: 2020-07-10
象链网络科技(上海)有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The single programming language that supports writing smart contracts is only one of the problems. Another problem is that the learning cost of smart contract programming languages ​​is relatively high.
For the smart contract programming language C++ of EOS, the learning cost is high and it is not easy to master
This brings certain troubles to ordinary users or developers who use smart contracts: they cannot quickly learn how to write smart contracts, and cannot deeply grasp the programming language of smart contracts.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-language intelligent contract compiling method based on blockchain
  • Multi-language intelligent contract compiling method based on blockchain
  • Multi-language intelligent contract compiling method based on blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, and the present invention will be further elaborated.

[0039] First, combine the Figure 1~5 The method for compiling multilingual smart contracts based on blockchain according to the embodiment of the present invention is described, and has broad application prospects.

[0040] Such as figure 1 As shown, the block chain-based multilingual smart contract compilation method of the embodiment of the present invention has the following steps. It should be noted that when performing the following steps, there is no sequence, and the compilation order depends on the compilation block chain smart contract itself .

[0041] Specifically, as figure 1 , 2 As shown, the expressions and assignment statements of the compiled smart contract. In this embodiment, expressions and assignment statements include mathematical operation expressions, relat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a multi-language intelligent contract compiling method based on blockchain. The method comprises the following steps: compiling an expression and an assignment statement of anintelligent contract; compiling a conditional judgment statement of the smart contract; compiling a loop statement of the intelligent contract; and compiling a function statement of the intelligent contract. During compiling, the method can be compatible with and support intelligent contracts compiled by multiple programming languages, the compiling efficiency is improved, the learning cost of different program languages is reduced, and the running threshold of the intelligent contracts is greatly reduced.

Description

technical field [0001] The invention relates to block chain smart contract technology, in particular to a block chain-based multilingual smart contract compilation method. Background technique [0002] Blockchain technology is a new type of decentralized information technology that can safely store digital transactions and other data. Information cannot be forged and tampered with. It is the underlying technology of digital currencies such as Bitcoin and Ethereum. The transaction confirmation on the blockchain is completed by the consensus of all nodes, and after the consensus is successful, it is packaged and written into the block. The blockchain maintains a public account book, which is used to store all transactions on the blockchain network. Any node on the public account book located on the storage block is a complete back, so as to ensure that it cannot be forged and tampered with, and realize information sharing. It can improve the efficiency of transactions and inf...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/41G06F8/30
CPCG06F8/42G06F8/31Y02D10/00
Inventor 汪婷婷
Owner 象链网络科技(上海)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products