A smart contract debugging method, device and storage medium thereof
A technology for smart contracts, debugging methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0028]According to the applicant's research, it is found that the existing smart contract is a computer protocol designed to propagate, verify or execute contracts in an informationized manner. Smart contracts allow trusted transactions without a third party, these transactions are traceable and irreversible, which can provide a security method superior to traditional contracts and reduce other transaction costs associated with contracts. Because smart contracts are codes, different from paper contracts, smart contracts have extremely high requirements for code accuracy. If the smart contract is written incorrectly, it will lead to transaction failure or even loss of ether, wasting a lot of manpower, material resources and time. Therefore, smart contracts need The debugger is used to debug the code to ensure that the operator can quickly and accurately find the error and solve it when an error occurs. However, the existing smart contract debuggers, for example, the Remix built...
no. 2 example
[0067] In order to cooperate with the smart contract debugging method provided in the first embodiment of the present invention, the second embodiment of the present invention also provides a smart contract debugging device 100 .
[0068] Please refer to Figure 4 , Figure 4 It is a block diagram of a smart contract debugging device 100 provided in the second embodiment of the present invention.
[0069] The smart contract debugging device 100 includes an OpCode instruction acquisition module 110 , a substitute instruction function determination module 120 , a symbol variable conversion module 130 and a debugging module 140 .
[0070] The OpCode instruction obtaining module 110 is used to obtain the operation code OpCode instruction of the smart contract.
[0071] The substitute instruction function determination module 120 is configured to determine the substitute instruction function corresponding to the OpCode instruction through the OpCode interpreter.
[0072] A symboli...
no. 3 example
[0080] Please refer to Figure 5 , Figure 5 The third embodiment of the present invention provides a structural block diagram of an electronic device applicable to the embodiments of the present application. The electronic device 200 provided in this embodiment may include a smart contract debugging device 100 , a memory 201 , a storage controller 202 , a processor 203 , a peripheral interface 204 , an input and output unit 205 , an audio unit 206 , and a display unit 207 .
[0081] The memory 201, storage controller 202, processor 203, peripheral interface 204, input and output unit 205, audio unit 206, and display unit 207 are electrically connected to each other directly or indirectly to realize data transmission or interact. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The smart contract debugging device 100 includes at least one software function module that can be stored in the memo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com