Lune

CCS2018Top-tier venue

BitML: A Calculus for Bitcoin Smart Contracts

Massimo Bartoletti, Roberto Zunino

Abstract

We introduce BitML, a domain-specific language for specifying contracts that regulate transfers of bitcoins among participants, without relying on trusted intermediaries. We define a symbolic and a computational model for reasoning about BitML security. In the symbolic model, participants act according to the semantics of BitML, while in the computational model they exchange bitstrings, and read/append transactions on the Bitcoin blockchain. A compiler is provided to translate contracts into standard Bitcoin transactions. Participants can execute a contract by appending these transactions on the Bitcoin blockchain, according to their strategies. We prove the correctness of our compiler, showing that computational attacks on compiled contracts are also observable in the symbolic model.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Declarative smart contractsHaoxian Chen, Gerald Whitters, Mohammad Javad Amiri, Yuepeng Wang et al.FSE 2022 · 14 citations
  2. On Identifying Sound Conditions for Frontrunning ResistanceSebastian Holler, Anna Piscitelli, Jannik Albrecht, Stephan Dübler et al.CCS 2026
  3. Staged Multi-step UTXO Workflows via Recursive InvariantsShuyang Tang, Sherman S. M. Chow, Hongfei Fu, Zihan Guo et al.OOPSLA 2026
  4. Glimpse: On-Demand PoW Light Client with Constant-Size Storage for DeFiGiulia Scaffino, Lukas Aumayr, Zeta Avarikioti, Matteo MaffeiUSENIX Security 2023

Related papers

  1. Bitcontracts: Supporting Smart Contracts in Legacy BlockchainsKarl Wüst, Loris Diana, Kari Kostiainen, Ghassan Karame et al.NDSS 2021
  2. Semantic Understanding of Smart Contracts: Executable Operational Semantics of SolidityJiao Jiao, Shuanglong Kan, Shang-Wei Lin, David Sanán et al.S&P 2020 · 82 citations
  3. Bridging Bitcoin to Second Layers via BitVM2Robin Linus Woll, Lukas Aumayr, Zeta Avarikioti, Matteo Maffei et al.USENIX Security 2026 · 6 citations
  4. A Complete Formal Semantics of eBPF Instruction Set Architecture for SolanaShenghao Yuan, Zhuoruo Zhang, Jiayi Lu, David Sanán et al.OOPSLA 2025 · 3 citations
  5. CryptoVampire: Automated Reasoning for the Complete Symbolic Attacker Cryptographic ModelSimon Jeanteur, Laura Kovács, Matteo Maffei, Michael RawsonS&P 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines