Re: [bitcoin-dev] Using OP_VAULT to improve DLCs

2023-01-19 Thread Billy Tetrud via bitcoin-dev
That's an interesting mechanism. Since the goal of OP_VAULT was to avoid being another general covenant proposal, that avenue could be blocked by requiring that for a transaction spending a utxo with a script using OP_UNVAULT, the script (or taproot tree) must *only* contain that one opcode call (p

[bitcoin-dev] Using OP_VAULT to improve DLCs

2023-01-13 Thread Ben Carman via bitcoin-dev
Hi list, After reading through James's OP_VAULT proposal this week, I had a realization that this can be used for more than a deep cold storage wallet. Instead of vaulting and unvaulting, we can just send to a OP_UNVAULT output. When using OP_UNVAULT if we set the `recovery-spk-hash` to a burn a