2022
DOI: 10.48550/arxiv.2203.03054
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Verification of Bitcoin Script in Agda using Weakest Preconditions for Access Control

Fahad F. Alhabardi,
Arnold Beckmann,
Bogdan Lazar
et al.

Abstract: This paper addresses the verification of Bitcoin smart contracts using the interactive theorem prover Agda. It focuses on two standard smart contracts that govern the distribution of Bitcoins, Pay to Public Key Hash (P2PKH) and Pay to Multisig (P2MS). Both are written in Bitcoin's low-level language script, and provide the security property of access control to the distribution of Bitcoins.The paper introduces an operational semantics of the script commands used in P2PKH and P2MS, and formalises it in the Agda… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2022
2022
2022
2022

Publication Types

Select...
1

Relationship

0
1

Authors

Journals

citations
Cited by 1 publication
(1 citation statement)
references
References 21 publications
0
1
0
Order By: Relevance
“…During the past decades, the weakest precondition was extended to the weakest preexpectation of probabilistic programs [11][12][13]. Therefore, we can use the weakest preexpectation to demonstrate that an expected probability arrives for a pointed postcondition, e.g., verifying Bitcoin's smart contracts [38] and checking the validity of algebraic safety assertions [39]. The SNC and WSC are also used to compute successor state axioms in planning [40,9,14].…”
Section: Weakest Sufficient Condition (Wsc)mentioning
confidence: 99%
“…During the past decades, the weakest precondition was extended to the weakest preexpectation of probabilistic programs [11][12][13]. Therefore, we can use the weakest preexpectation to demonstrate that an expected probability arrives for a pointed postcondition, e.g., verifying Bitcoin's smart contracts [38] and checking the validity of algebraic safety assertions [39]. The SNC and WSC are also used to compute successor state axioms in planning [40,9,14].…”
Section: Weakest Sufficient Condition (Wsc)mentioning
confidence: 99%