OP_VAULT

BIP 345, OP_VAULT_RECOVER, vault opcode

A proposed pair of Bitcoin opcodes for vault withdrawals with a built-in recovery path.

OP_VAULT is a proposed tapscript opcode described in BIP 345. The proposal pairs OP_VAULT with OP_VAULT_RECOVER to support a specialized kind of covenant built for vaults. Together, the opcodes aim to enforce a delayed withdrawal path while preserving a prespecified recovery path that can move the coins to safety before the delay expires.

OP_VAULT focuses on one use case: staged vault withdrawals. That specialization gives vault designs predictable safety rules, simpler wallet behavior, and a recovery flow that stays available until the final withdrawal completes. The proposal is often discussed alongside OP_CTV, which BIP 345 uses as part of the overall design.

BIP 345 is closed. The proposal still serves as a useful reference point in discussions about covenant-enabled vault design. It helps show the tradeoff between general-purpose covenant tools and opcodes designed for one narrow security model.

References