English

Emulating OP_RAND in Bitcoin

Cryptography and Security 2025-02-14 v2

Abstract

This paper proposes a method of emulation of \verb|OP_RAND| opcode on Bitcoin through a trustless interactive game between transaction counterparties. The game result is probabilistic and doesn't allow any party to cheat, increasing their chance of winning on any protocol step. The protocol can be organized in a way unrecognizable to any external party and doesn't require some specific scripts or Bitcoin protocol updates. We will show how the protocol works on the simple \textbf{Thimbles Game} and provide some initial thoughts about approaches and applications that can use the mentioned approach.

Keywords

Cite

@article{arxiv.2501.16451,
  title  = {Emulating OP_RAND in Bitcoin},
  author = {Oleksandr Kurbatov},
  journal= {arXiv preprint arXiv:2501.16451},
  year   = {2025}
}

Comments

7 pages, 3 figures

R2 v1 2026-06-28T21:20:39.439Z