Paper 2024/1995 Original: eprint.iacr.org/2024/1995 ↗

BitVM: Quasi-Turing Complete Computation on Bitcoin

Lukas Aumayr
Zeta Avarikioti
Robin Linus
Matteo Maffei
Andrea Pelosi
Christos Stefo
Alexei Zamyatin
Abstract

A long-standing question in the blockchain community is which class of computations are efficiently expressible in cryptocurrencies with limited scripting languages, such as Bitcoin Script. Such languages expose a reduced trusted computing base, thereby being less prone to hacks and vulnerabilities, but have long been believed to support only limited classes of payments. In this work, we confute this long-standing belief by showing for the first time that arbitrary computations can be encoded in today's Bitcoin Script without introducing any language modification or additional security assumptions, such as trusted hardware, trusted parties, or committees with an honest majority. We present BitVM, a two-party protocol that realizes a generic virtual machine by combining cryptographic primitives and economic incentives. We conduct a formal analysis of BitVM, characterizing its functionality, system assumptions, and security properties. We further demonstrate the practicality of our approach by implementing a prototype and performing an experimental evaluation: in the optimistic case (i.e., when parties agree), our protocol requires just three on-chain transactions, whereas in the pessimistic case, the number of transactions grows logarithmically with the size of the virtual machine. We exemplify the deployment potential of BitVM by building a Bitcoin-sidechain bridge application. This work not only solves a long-standing theoretical problem, but it also promises a strong practical impact, enabling the development of complex applications in Bitcoin.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2026-08-11: last updated
2024-12-10: published
Short URL
https://ia.cr/2024/1995
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2024/1995,
      author = {Lukas Aumayr and Zeta Avarikioti and Robin Linus and Matteo Maffei and Andrea Pelosi and Christos Stefo and Alexei Zamyatin},
      title = {BitVM: Quasi-Turing Complete Computation on Bitcoin},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1995},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1995}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.