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

A way to convert Ethereum smart contracts into Hyperledger smart contracts

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

Active Publication Date: 2021-07-27
JINAN UNIVERSITY
View PDF4 Cites 0 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
  • A way to convert Ethereum smart contracts into Hyperledger smart contracts
  • A way to convert Ethereum smart contracts into Hyperledger smart 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 an Ethereum smart contract into a super ledger smart contract, comprising: using a machine learning method to train to obtain a conversion model; inputting Solidity source code, and presetting the smart contract code written using Solidity on the Ethereum Processing; use the trained mathematical model to perform advanced identification work, including object identification, algorithm identification, module identification, interface identification, etc., and convert the smart contract of Solidity language into the smart contract of Java language on the hyperbook. The method of the invention can realize the fast conversion from the smart contract of the Ethereum to the smart contract of the hyperledger, and save the development time and cost of the developers.

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 Patents(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