Is CSFS+CAT already a general covenant primitive? Three on-chain demonstrations, and an observation for discussion

Posted by AaronZhang

Jun 26, 2026/23:37 UTC

The recent exploration into the capabilities of CSFS+CAT as general covenant primitives in blockchain technology has yielded significant insights. This inquiry has demonstrated that CSFS+CAT, when activated on Inquisition signet, can effectively mimic a wide range of functionalities traditionally associated with dedicated opcodes such as CTV, TXHASH, OP_VAULT, OP_TEMPLATEHASH, and OP_PAIRCOMMIT. The practical application of these features was illustrated through three specific implementations, each confirmed on-chain, showcasing distinct uses and benefits.

Firstly, an output binding mechanism similar to CTV's output template was successfully executed, where sha_outputs was forced to a hardcoded value, as seen in transaction 2f345180…f37e6. This demonstrates the potential for creating fixed output conditions within a transaction. Secondly, an input binding scenario was implemented, which is not typically achievable through either CTV or APO. This setup required the spend to consume a designated set of prevouts, highlighting a novel approach to managing transaction inputs detailed in transaction 7311da6e…3558.

Furthermore, an eltoo state replacement was engineered using a CSFS+CTV delegation ladder to replicate the use-case served by APO’s primitive, but through more complex O(n) delegation rather than APO's simpler O(1) rebinding. The related transactions are available at 92efc475… for funding and b96324da… for settlement.

It is important to clarify that while these demonstrations indicate a broad capability, they do not necessarily reflect efficiency; the scripts and witnesses used are larger and therefore more costly compared to those designed for dedicated opcodes. Additionally, these methods apply only to scenarios involving signer-participating spends, indicating a limitation in their applicability to keyless covenants. Despite demonstrating the feared capabilities of CAT, this should not be misconstrued as advocacy for or against its activation.

For those interested in a deeper technical understanding, a comprehensive paper detailing byte-level constructions with clickable transaction links is available at Capability Parity CSFS+CAT Covenants, which offers an opportunity for further critique and discussion.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback