Intelligent contract one-stop development system and method

A technology of smart contracts and development systems, applied in the field of blockchain, to achieve the effect of improving development efficiency, efficient and convenient testing, and improving development efficiency

Pending Publication Date: 2021-08-13
SHANGHAI WANXIANG BLOCK CHAIN CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The difficulty lies in the realization of the test framework of the smart contract, the realization of the test block chain and the realization of the single-step debugging function of the smart contract

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
  • Intelligent contract one-stop development system and method
  • Intelligent contract one-stop development system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] A kind of smart contract one-stop development system provided according to the present invention, such as figure 1 As shown, including: smart contract template management module, smart contract testing framework module and smart contract automatic compilation and deployment module;

[0048] The smart contract template management module includes: receiving command line instructions, managing the smart contract template, including uploading, downloading and deleting the smart contract template;

[0049]The smart contract test framework module includes: generating a smart contract test file, and debugging and testing the smart contract code based on the generated smart contract test file;

[0050] The smart contract automatic compilation and deployment module includes: according to the pre-configured IP, port number, and network number information of the specified blockchain, compile and deploy based on the name of the smart contract to be deployed according to the deploym...

Embodiment 2

[0071] Embodiment 2 is a preferred example of embodiment 1

[0072] At present, many applications on the blockchain, such as DAPP, usually need to rely on smart contracts to achieve. Before deploying the smart contract to the blockchain, the smart contract needs to be developed and tested to ensure that it is correct before finally running on the chain. Users use the one-stop development system and solution of the smart contract, download the smart contract template to the local through the download command, carry out secondary development based on the smart contract template, and complete the coding and development of the smart contract code. Then use the test file generation command to automatically generate the test file of the smart contract, or develop the test file of the smart contract by yourself, and execute the test file generation command to execute the test on the smart contract. When the smart contract test fails, execute the smart contract debugging command to p...

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 provides an intelligent contract one-stop development system and method. The intelligent contract one-stop development system comprises an intelligent contract template management module, an intelligent contract test framework module and an intelligent contract automatic compiling and deploying module. The intelligent contract template management module is used for receiving a command line instruction and managing an intelligent contract template, including uploading, downloading and deleting the intelligent contract template; the intelligent contract test framework module comprises the steps of generating an intelligent contract test file, and debugging and testing an intelligent contract code based on the generated intelligent contract test file; and the intelligent contract automatic compiling and deploying module is used for compiling and deploying according to a contract deploying sequence on the basis of intelligent contract names needing to be deployed according to pre-configured IP, port number and network number information of a specified block chain.

Description

technical field [0001] The present invention relates to the technical field of blockchain, in particular, to a system and method for one-stop development of smart contracts, and more specifically, to a system and solution for one-stop development of smart contracts. Background technique [0002] At present, the development of smart contracts has not been templated, resulting in the need to start from scratch for the development of each new smart contract, and the development efficiency is low. However, for the current test of smart contracts, it is necessary to deploy the smart contract to be tested on the blockchain, and then test by calling the corresponding interface of the smart contract on the blockchain. If a smart contract vulnerability is found and repaired, the smart contract needs to be re-deployed on the blockchain when testing again, resulting in a long test cycle for the entire smart contract and inefficient testing. At present, the deployment of smart contract...

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/70G06F8/60G06F8/41G06F11/36
CPCG06F8/41G06F8/60G06F8/70G06F11/362
Inventor 曾梦露
Owner SHANGHAI WANXIANG BLOCK CHAIN CO LTD
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