Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for converting ethereum intelligent contracts into hyperledger intelligent contracts

A smart contract and converted technology, applied in the blockchain field, can solve problems such as wasting time and increasing development costs, and achieve the effect of simple method process, saving development costs, and promoting rapid production landing

Active Publication Date: 2018-09-28
JINAN UNIVERSITY
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the later stage, developers are very likely to transfer the smart contract of Ethereum to the hyperbook
And this kind of manual transfer of Ethereum's smart contract to the smart contract on the hyperbook will not only waste a lot of time, but also increase the development cost
On the other hand, there is currently no way to manually convert

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
  • Method for converting ethereum intelligent contracts into hyperledger intelligent contracts
  • Method for converting ethereum intelligent contracts into hyperledger intelligent contracts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Solidity is a high-level language for implementing smart contracts on Ethereum, influenced by C++, Python, and JavaScript, and aimed at the Ethereum Virtual Machine. Solidity is a statically typed language. Static type language means that the data type is determined during compilation or before running. When writing code, the data type of the variable must be clearly specified. Hyperledger's smart contracts are implemented using Java, which is also a statically typed language, thus providing a possibility for conversion between the two. Only by analyzing the types and finding the conversion rules between the two, the conversion from Solidity to Java language can be realized. The syntax of Solidity is close to JavaScript, and it is an object-oriented language. Java is also an object-oriented language. Therefore, the transition from Solidity to Java on Hyperledger is completely feasible.

[0027] A method for converting an Ethereum smart contract into a Hyperledger smar...

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 method for converting ethereum intelligent contracts into hyperledger intelligent contracts. The method comprises the following steps of: carrying out training by using a machine learning method so as to obtain a conversion model; inputting a Solidity source code and preprocessing an intelligent contract code, compiled by using Solidity, on an ethereum; and carrying out high-class recognition work such as object recognition, algorithm recognition, module recognition and interface recognition by using a trained mathematic model, and converting an intelligent contract of a Solidity language into an intelligent contract of a Java language on a hyperledger. The method is capable of realizing rapid conversion from ethereum intelligent contracts to hyperledger intelligent contracts, so that the development time and development cost of the developers are saved.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a method for converting a smart contract on an Ethereum into a smart contract on a hyperledger. Background technique [0002] With the development of blockchain technology, different kinds of blockchains have been extended. The current relatively successful ones are Ethereum and Hyperledger. [0003] Smart contracts are a concept proposed by Nick Szabo around 1990, almost at the same age as the Internet. A smart contract is an agreement that automates the execution of tasks that would otherwise have been done manually. However, due to the lack of a possible execution environment, smart contracts have not been applied to the actual production process. However, with the emergence of blockchain technology, people realized that blockchain can provide a trusted execution environment for smart contracts. In the Ethereum blockchain, a smart contract is a system participant that...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/51G06N3/08
CPCG06F8/51G06N3/08
Inventor 翁健谢斐罗伟其张悦李明
Owner JINAN UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products