Expand description
Processing proprietary PSBT keys related to taproot-based OP_RETURN (or tapret) commitments.
NB: Wallets supporting tapret commitments must do that through the use of
deterministic bitcoin commitments crate (bp-dpc
) in order to ensure
that multiple protocols can put commitment inside the same transaction
without collisions between them.
This module provides support for marking PSBT outputs which may host tapreturn commitment and populating PSBT with the data related to tapret commitments.
Enums§
- Errors processing tapret-related proprietary PSBT keys and their values.
Constants§
- Proprietary key subtype for PSBT inputs containing the applied tapret tweak information.
- Proprietary key subtype holding 32-byte commitment which will be put into tapret tweak.
- Proprietary key subtype marking PSBT outputs which may host tapreturn commitment.
- Proprietary key subtype holding merkle branch path to tapreturn tweak inside the taptree structure.
- PSBT proprietary key prefix used for tapreturn commitment.