Performance detection method of smart contract on block chain

A smart contract and detection method technology, applied in the blockchain field, can solve problems such as low detection efficiency and complex performance detection operations, and achieve the effect of improving detection efficiency and simple and convenient detection steps

Active Publication Date: 2018-07-20
深圳圣马歌科技有限公司
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above technical problems, the embodiment of the present invention provides a performance detection method and device for smart contracts on the block chain, which can solve the technical problems of complex performance detection operations and low detection efficiency in the prior art.

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
  • Performance detection method of smart contract on block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention.

[0029] See figure 1 , figure 1 It is a schematic flowchart of an embodiment of a method for detecting the performance of a smart contract on a blockchain in an embodiment of the present invention. Such as figure 1 Shown, including:

[0030] Step S100: Generate a detection page according to the json file output by the compiled smart contract;

[0031] Step S200: Obtain the user's detection request parameters on the detection page;

[0032] Step S300...

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 embodiment of the invention discloses a performance detection method of a smart contract on a block chain. The method includes: generating a detection page according to a json file output by the compiled smart contract; acquiring detection request parameters of a user on the detection page; and entering a corresponding detection process according to the detection request parameters, and returning a detection result after the detection process ends. According to the embodiment of the invention, detection pages can be automatically generated for various smart contracts, detection request parameters input by the user can be acquired on the detection pages, fully automatic detection can be carried out, detection steps are simple and convenient, and detection efficiency is improved.

Description

Technical field [0001] The invention relates to the technical field of block chains, in particular to a method for detecting the performance of smart contracts on a block chain. Background technique [0002] Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain also has anti-tamper characteristics. Ethereum is a block chain implementation scheme. Smart contracts are executable codes on Ethereum. Truffle is usually used to develop smart contracts. Among them, truffle is a development framework of Ethereum. [0003] The smart contract in the prior art is generally used to perform performance detection using a command line after the truffle console invokes the web3 interface. The operation is complicated and difficult for ordinary users to grasp, the performance detection takes a long time, and the detection efficiency is low. Summary of the invention [000...

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): G06F11/34G06F11/30G06Q40/04G06F8/41
CPCG06F8/427G06F11/302G06F11/3409G06Q40/04
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