Author: Dr Maxim Orlovsky 2022-01-16 17:41:22
Published on: 2022-01-16T17:41:22+00:00
This document proposes additional fields for BIP 174 PSBTv0 and BIP 370 PSBTv2 that allow for pay-to-contract key tweaking data to be included in a PSBT of any version. The proposal abstracts details of specific P2C protocols and provides universal method for spending previous outputs containing P2C tweaks, applied to the public key contained within any standard form of the scriptPubkey. The proposal introduces a new `PSBT_IN_P2C_TWEAK` field which contains the original key as a field key and the tweak as a field value. P2C-tweaked public keys are already exposed in the PSBT_IN_REDEEM_SCRIPT, PSBT_IN_WITNESS_SCRIPT, PSBT_IN_TAP_INTERNAL_KEY and PSBT_IN_TAP_LEAF_SCRIPT fields. The proposal is compatible with the existing consensus rules and does not require any modifications.
Updated on: 2023-06-15T15:14:53.779089+00:00