CTV vault output descriptor

Posted by sjors

Jun 10, 2025/12:12 UTC

The renewed focus on prioritizing OP_CTV (BIP 119) for enabling vaults in Bitcoin, over alternatives such as OP_CCV and the retracted OP_VAULT, brings to light the potential for more secure and efficient vault constructions. Vaults are advanced mechanisms for securing bitcoins, providing users with a way to safeguard their funds from theft or loss of access. The discussion around OP_CTV vaults, notably influenced by James O'Beirne's simple CTV vault design, suggests an evolution towards using ephemeral (dust) anchors and taproot script paths to enhance security and integration within existing wallet infrastructures.

One proposed method for constructing vaults involves a simple 2-of-2 multisig arrangement. This would allow either party involved to spend coins after a specified number of blocks, incorporating a delay mechanism for added security. However, challenges arise due to limitations imposed by BIP 68 on time and height locks, necessitating periodic movement of coins to maintain access.

The proposed CTV-based vault solution aims to address these issues by allowing coins to be moved into a vault state, where they can be securely held until conditions for release are met. This system benefits from a dual-layer security approach, where coins can be moved back to a pre-defined state without signatures if there is suspicion of compromise. This fallback mechanism ensures that parties have ample time to resolve disputes or recover from potential security breaches.

The descriptor for such a vault could resemble a combination of multisig and conditional constructs, enabling both immediate and delayed pathways for unvaulting coins. This structure not only facilitates recovery in case of key compromise but also offers flexibility in managing fund security. The concept of integrating CTV into vault designs underscores a broader ambition to achieve greater security and usability in cryptocurrency storage, aligning with the technical and operational realities of current wallet software and infrastructure standards.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

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

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

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

Give Feedback