← Back to Bitcoin Improvement Proposals
BIPinformationalkey-managementscript

BIP48: Add p2tr script type derivation

BIP48 currently defines script types only for p2wsh and p2sh-p2wsh, but not for the newer p2tr. This PR proposes defining the the script_type for p2tr as `3`, to provide a clear standard for the derivation to use in p2tr scripts.

No reviews
ben-kaufman·Updated May 13, 2025·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

BIP48 currently defines script types only for p2wsh and p2sh-p2wsh, but not for the newer p2tr.

This PR proposes defining the the script_type for p2tr as 3, to provide a clear standard for the derivation to use in p2tr scripts.

Discussion (0 threads)

Loading discussions...