Simulation check method and device for a blockchain smart contract

A smart contract and inspection method technology, applied in the blockchain field, can solve the problems of low inspection efficiency and achieve the effect of efficient inspection

CN109800174AInactive Publication Date: 2019-05-24北京八分量信息科技有限公司
4 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2019-05-24
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a simulation check method and device for a blockchain smart contract, and the method comprises the steps: building a check environment of the blockchain smart contract in advance; setting an intelligent contract loading entrance and an inspection rule loading entrance in the inspection environment;loading an inspection rule into the inspection environment through the inspection rule loading entrance; loading a to-be-checked smart contract into the checking environment through the smart contract loading entrance; and performing simulation operation in the inspection environment according to the inspection rule and the to-be-inspected smart contract, and inspecting the to-be-inspected smart contract by using the inspection rule. The invention provides a simulation check method and device for a blockchain intelligent contract, and the method and device can achieve the check of the intelligent contract more efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of block chains, in particular to a simulation inspection method and device for block chain smart contracts. Background technique

[0002] Smart contracts are an important part of blockchain technology. In order to enable smart contracts to run efficiently in the blockchain, smart contracts need to be checked before using them. In the prior art, the inspection of smart contracts is mainly carried out manually, and the inspection efficiency is low. Contents of the invention

[0003] The embodiment of the present invention provides a simulation inspection method and device for a blockchain smart contract, which can perform smart contract inspection more efficiently.

[0004] On the one hand, the embodiment of the present invention provides a simulation checking method of a blockchain smart contract, including:

[0005] Pre-establish the inspection environment of the blockchain smart contract; [0...

Examples

Embodiment Construction

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0059] Such as figure 1 As shown, the embodiment of the present invention provides a simulation checking method of a block chain smart contract, the method may include the following steps:

[0060] Step 101: Pre-establish the inspection environment of the blockchain smart contract;

[0061] Step 102: Setting smart contract loading entry and inspection...