Author: Jeremy 2021-03-10 23:55:43
Published on: 2021-03-10T23:55:43+00:00
Bitcoin developers, including Jeremy Rubin, Nullc, and Sipa, are aware of a technique called script delegation in Bitcoin that allows for the delegation of a UTXO to a specific instance of a script without modifications to Bitcoin. Rubin created a brief explainer to document the technique since it is not widely known. The process involves creating a transaction with an output D that has the script S using an arbitrary coin B or scanning the chain for any UTXOs bound to S. Then, using UTXO A, one signs a transaction with two inputs, one being D, and SIGHASH_NONE, which signs all inputs but none of the outputs. This effectively delegates the control of the holder's coin to the specific instance of the script S, allowing the script to authorize almost any transaction they want. Advanced topics include revocation, cross-input delegation, partial spending authorizations, delegation after time, multiple delegates, sequenced contingent delegation, CTV-specific P2SH non-coin delegation, and redelegation, among others.
Updated on: 2023-05-21T01:57:03.714833+00:00