TeachMeBitcoin

P2WSH Overview

From TeachMeBitcoin, the free encyclopedia Reading time: 2 min

P2WSH: Native SegWit Multisig

P2WSH (Pay-to-Witness-Script-Hash) is the most efficient and secure way to implement collaborative custody (multisig) on the Bitcoin network today. It removes the need for P2SH wrappers and utilizes the full 32-byte security of the SHA256 algorithm.

1. Maximum Fee Discount

P2WSH is the "Holy Grail" of fee efficiency for multisig users.

2. Advanced Security

As we discussed in the P2SH-P2WSH module, native SegWit multisig uses 32-byte (256-bit) hashes.

3. The bc1q... Address

P2WSH addresses look very similar to P2WPKH addresses, but they are significantly longer.

4. The Standard for Modern Custody

From hardware wallet multisig setups to Lightning Network channels, P2WSH is the engine that powers modern Bitcoin scripting. It is clean, efficient, and highly secure.

Feature Legacy P2SH Native P2WSH
Address Prefix 3 bc1q
Hash Length 20 Bytes 32 Bytes
Fee Discount 0% 75% (Witness Area)
Collision Resistance High Extreme

In the next section, we will analyze the ScriptPubKey Structure of P2WSH.

☕ Help support TeachMeBitcoin

TeachMeBitcoin is an ad-free, open-source educational repository curated by a passionate team of Bitcoin researchers and educators for public benefit. If you found our articles helpful, please consider supporting our hosting and ongoing content updates with a clean donation:

Ethereum: 0x578417C51783663D8A6A811B3544E1f779D39A85
Bitcoin: bc1q77k9e95rn669kpzyjr8ke9w95zhk7pa5s63qzz
Solana: 4ycT2ayqeMucixj3wS8Ay8Tq9NRDYRPKYbj3UGESyQ4J
Address copied to clipboard!