Formal Verification of Supply Chain Contract Based on Coloured Petri Nets
The security of smart contracts is particularly vital to the application of blockchain in the supply chain field.Currently, most of formal verification work on smart contracts focuses on vulnerability detection, and there is still relatively little attention to how to generate secure smart contracts...
Saved in:
Published in: | Ji suan ji ke xue Vol. 50; p. 717 |
---|---|
Main Authors: | , , , |
Format: | Journal Article |
Language: | Chinese |
Published: |
Chongqing
Guojia Kexue Jishu Bu
01-01-2023
|
Subjects: | |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | The security of smart contracts is particularly vital to the application of blockchain in the supply chain field.Currently, most of formal verification work on smart contracts focuses on vulnerability detection, and there is still relatively little attention to how to generate secure smart contracts before deploying them on chain, and there are difficulties in how to effectively and stan-dardly map the properties of specific fields to smart contracts.Therefore, this paper proposes formal specification of supply chain business logic based on coloured Petri Net(CPN) before writing contracts and constructing a two-layer simulation model with a graphical interface to describe transaction state changes for formal verification and state analysis, thus reducing logic vulnerabilities at the modeling stage.Finally, a conversion method from the CPN modeling language to contracts written in Solidity is provided to improve the security and reliability of smart contracts. |
---|---|
ISSN: | 1002-137X |