OP_CC: A simple introspection opcode to enable cheaper consolidations

Something similar can be achieved with OP_CHECKCONTRACTVERIFY (CCV). I’m a bit rusty on the exact parameters, but in the simplest form you would have a taptree with a single leaf that requires that all value flow to output0 of the same spk with no signatures. This would enable signatureless consolidation with external fee payment. A UTXO using this construction would also be spendable with the key spend as normal to any destination.

cc @salvatoshi

1 Like