← Back to Bitcoin Improvement Proposals
BIPinformationalopcodestransactionsscript

BIP 443: OP_CHECKCONTRACTVERIFY

Hi all, This is a draft for the formal specifications of the `OP_CHECKCONTRACTVERIFY` (`CCV`) opcode. `CCV` enables to build Script-based state machines that span across multiple transactions, by providing an ergonomic tool to commit to - and introspect - the Script and possibly some _data_ that is committed inside inputs or outputs. Related to this PR: - [Implementation in bitcoin-core](https://github.com/bitcoin/bitcoin/pull/32080) - [Post on delving bitcoin](https://delvingbitcoin.org/t/op

No reviews
bigspider·Updated Jun 3, 2025·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

Hi all,

This is a draft for the formal specifications of the OP_CHECKCONTRACTVERIFY (CCV) opcode.

CCV enables to build Script-based state machines that span across multiple transactions, by providing an ergonomic tool to commit to - and introspect - the Script and possibly some data that is committed inside inputs or outputs.

Related to this PR:

Not covered in this draft:

  • sigops budget (benchmarks needed)
  • activation logic
  • policy considerations (if any)

I recommend delving bitcoin for high level discussions about alternative implementations, applications, etc.

Discussion (0 threads)

Loading discussions...