Close Menu
  • Coins
    • Bitcoin
    • Ethereum
    • Altcoins
    • NFT
  • Blockchain
  • DeFi
  • Metaverse
  • Regulation
  • Other
    • Exchanges
    • ICO
    • GameFi
    • Mining
    • Legal
  • MarketCap
What's Hot

Shiba Inu Team Most Active Voice in SHIB Community Disappears

13/07/2026

Brazil freezes $2 billion in assets after US sanctions target PCC money laundering network

13/07/2026

Lighter Goes Live After Eight-Month Beta — What This Means for Traders

13/07/2026
Facebook X (Twitter) Instagram
  • Back to NBTC homepage
  • Privacy Policy
  • Contact
X (Twitter) Telegram Facebook LinkedIn RSS
NBTC News
  • Coins
    1. Bitcoin
    2. Ethereum
    3. Altcoins
    4. NFT
    5. View All

    Strategy Controls Nearly Two-Thirds of Bitcoin Held by Public Companies as Corporate Holdings Reach $82.9B

    13/07/2026

    Bitcoin whale places $31M short bet – Will BTC drop to $60K again?

    13/07/2026

    Could Bitcoin’s 21 Million Supply Cap Change? Zcash Co-Founder Makes Bold Proposal

    13/07/2026

    Analyst warns Bitcoin could slide to $56,550 amid Iran reversal

    13/07/2026

    Ethereum faces $87M short bet – Can ETH bulls defend $1,580?

    13/07/2026

    Analyst Sees Upside for ETH Ahead of Glamsterdam Upgrade

    13/07/2026

    Ethereum price climbs toward $1,800 as short squeeze and risk-on rally gather pace

    13/07/2026

    Ethereum Foundation Disbands Protocol Support Team in Latest Restructuring

    13/07/2026

    Shiba Inu Team Most Active Voice in SHIB Community Disappears

    13/07/2026

    Ripple, Kansas Athletics strike multi-year XRP branding deal

    13/07/2026

    Ripple Prime cleared $3 trillion. How much of it actually touches XRP?

    13/07/2026

    Hoskinson Recounts Cardano Rise From $0.025 to $3.10, Says He Hasn’t Lost Faith in ADA

    13/07/2026

    Welcomed by Robinhood Chain — And Why It’s Not Just Hype

    11/07/2026

    BIG3 NFT Buyers Sue Ice Cube’s Basketball League Over Alleged Unfulfilled Promises

    08/07/2026

    Cristiano Ronaldo Retirement Puts Billion-Dollar NFT Market to the Test

    06/07/2026

    Bonk-Owned NFT Marketplace Exchange Art to Shut Down on August 1

    04/07/2026

    Shiba Inu Team Most Active Voice in SHIB Community Disappears

    13/07/2026

    Brazil freezes $2 billion in assets after US sanctions target PCC money laundering network

    13/07/2026

    Lighter Goes Live After Eight-Month Beta — What This Means for Traders

    13/07/2026

    Base Launches Direct Bitcoin to Euro Swaps — What It Means for Users

    13/07/2026
  • Blockchain

    Base Launches Direct Bitcoin to Euro Swaps — What It Means for Users

    13/07/2026

    SodaBot Integrates with SportixAI to Advance AI-Powered SportsFI Infrastructure

    13/07/2026

    China Launches Blockchain Warehouse Receipt Platform for Non-Ferrous Metals

    13/07/2026

    BounceBit Introduces Exclusive Chain Explorer for Real-Time Market Insights

    13/07/2026

    BNB Chain Remains Top-1 Chain With Active Stablecoin Addresses, But There’s a Catch

    13/07/2026
  • DeFi

    DeFi may be ‘quietly re-rating’ given outperformance against Bitcoin: Bitwise

    11/07/2026

    Abraxas Capital Deposits $140M in Crypto Into DeFi Lending Protocol Spark

    11/07/2026

    Massive $491M USDT Transfer to Aave Sparks DeFi Liquidity Speculation

    11/07/2026

    Here’s why Uniswap is betting on execution over higher LP incentives

    11/07/2026

    Aave Shares Major Whale Deposit — Implications for DeFi Investors

    11/07/2026
  • Metaverse

    Is Solana Gaming Back? Kintara Activity Fuels Renewed Optimism in Onchain MMOs

    24/06/2026

    The Sandbox launches AI game engine ‘The Sandbox Studio’ for next-generation creators

    10/06/2026

    Meta commits $13M in funding for Oversight Board through 2028

    29/05/2026

    Why Animoca’s Yat Siu says the future is 100 billion AI agents

    07/05/2026

    ‘8,000 Jobs’—Polymarket Sees Tech Layoff Surge As Meta AI Push Bites

    18/04/2026
  • Regulation

    Sandeep Nailwal Backs AI Job Growth

    13/07/2026

    Trump Views Cryptocurrency as ‘Powerful’ — His Family Cashed Out $1.9B

    13/07/2026

    Can Tokenized Stocks Become a $3 Trillion Market? Securitize CEO Reveals Big Expansion Plan

    13/07/2026

    Will They Signal Further Rate Hike?

    13/07/2026

    MiCA Euro Stablecoins Surge 128% as EU Compliance Reshapes Market

    13/07/2026
  • Other
    1. Exchanges
    2. ICO
    3. GameFi
    4. Mining
    5. Legal
    6. View All

    Lighter Goes Live After Eight-Month Beta — What This Means for Traders

    13/07/2026

    Crypto.com Hires Former Barclays and LSEG Executive to Lead Institutional Expansion

    13/07/2026

    EU moves to block retail investors from explosive boom of multibillion-dollar prediction markets

    13/07/2026

    Route2FI Amplifies OKX’s €50M Push for Europe — What Comes Next

    13/07/2026

    ICO market slows sharply with only six completions in 2026

    30/04/2026

    South Korea Poised to Lift Ban on Domestic ICOs After 7 Years

    19/12/2025

    Why 2025’s Token Boom Looks Both Familiar and Dangerous

    31/10/2025

    ICO for bitcoin yield farming chain Corn screams we’re so back

    22/01/2025

    Yield Guild Games Sunsets YGG Play Publishing Unit, Cuts 35 Jobs

    06/07/2026

    GO1 and Xiaohai Set up Potential Rematch at EWC 2026 Fatal Fury Bracket in Paris

    06/07/2026

    Nexus Acquires Homegrown App Marketplace One Store, Expanding into Global Web3 Game Hub

    21/06/2026

    GMATRIXS and Plum Protocol Partner to Blend GameFi with Meme Assets, Driving Multi-Chain Web3 User Experience

    16/06/2026

    Why Bitcoin miners are holding 1.19M BTC despite 10% mining stock losses

    13/07/2026

    Bitdeer Invests $36M in Nevada Mining Rig Factory to Boost SEALMINER Production

    12/07/2026

    American Bitcoin Q2 Results Due August 3 as Investors Watch Mining Margins

    12/07/2026

    Bitdeer Sells All 227.5 BTC Mined Last Week, Holdings Drop to Zero

    11/07/2026

    Brazil freezes $2 billion in assets after US sanctions target PCC money laundering network

    13/07/2026

    The failures and follies of Trump’s crypto White House

    13/07/2026

    How’s India Looking in the Global Crypto Regulation Race?

    13/07/2026

    UK’s bold new crypto rules promise to unlock global trading, but huge compliance hurdles still threaten the rollout

    13/07/2026

    Shiba Inu Team Most Active Voice in SHIB Community Disappears

    13/07/2026

    Brazil freezes $2 billion in assets after US sanctions target PCC money laundering network

    13/07/2026

    Lighter Goes Live After Eight-Month Beta — What This Means for Traders

    13/07/2026

    Base Launches Direct Bitcoin to Euro Swaps — What It Means for Users

    13/07/2026
  • MarketCap
NBTC News
Home»Bitcoin»P2PKH, P2SH, P2WPKH, and more
Bitcoin

P2PKH, P2SH, P2WPKH, and more

NBTCBy NBTC10/05/2024No Comments8 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email


Originally published on Unchained.com.

Unchained is the official US Collaborative Custody partner of Bitcoin Magazine and an integral sponsor of related content published through Bitcoin Magazine. For more information on services offered, custody products, and the relationship between Unchained and Bitcoin Magazine, please visit our website.

If you’ve been using bitcoin for a while, you’ve probably noticed that some bitcoin addresses appear quite different from others. You may have also seen discussion around several acronyms beginning with “P2,” such as P2PKH or P2WSH. If you’re unfamiliar with what these acronyms mean, here we’ll look through all the standardized on-chain methods for receiving bitcoin throughout its history and explain some essential differences that make each method unique.

P2PK

Pay-to-Public-Key (P2PK) is the original method of receiving bitcoin, and it does not involve an address. Instead, as the name suggests, bitcoin is paid directly to an exposed public key. The first ever bitcoin transaction from one person to another used P2PK, when Satoshi Nakamoto sent coins to Hal Finney in Block 170.

P2PK is no longer used because it is a more expensive, less private, and less secure way of receiving bitcoin than subsequent methods.

Quick facts

P2PKH

Pay-to-Public-Key-Hash (P2PKH) was available for use at bitcoin’s beginning, and it showed up on the blockchain for the first time less than two weeks after the genesis block. P2PKH makes several improvements upon P2PK, such as utilizing an address. As discussed in our earlier article, addresses contain a checksum that helps prevent typos and lost bitcoin.

P2PKH addresses are typically 34 or 33 characters in length (but could theoretically be as short as 26 characters), and they are encoded in Base58 format. They begin with a prefix of 1 and are currently responsible for receiving and securing 43% of the mined bitcoin supply, more than any other address type.

Upgrade your Bitcoin security and get access to exclusive discounts on Unchained financial services. Visit our website to learn more.

Creating a P2PKH address involves putting a single public key through hash functions SHA-256 and RIPEMD-160. This shortens the amount of data, which in turn helps save block space and transaction fees for the user. It also introduces further resistance to reverse-engineering the private key beyond the already believed-to-be-unbreakable secp256k1 elliptic curve.

Quick facts

P2MS

Pay-to-Multisig (P2MS) is a trivial transaction type that was only briefly relevant and has never been responsible for holding more than 100 bitcoin at one time across all network participants. Nevertheless, P2MS is a part of bitcoin’s history.

P2MS was introduced as a standard script in early 2012, as specified by BIP 11. However, this transaction type suffered from the same problems as P2PK since it included exposed public keys and did not use any address format. It also limited the number of public keys in a multisig quorum to three. Within months P2MS would be replaced by an alternative method for receiving bitcoin into a multisig arrangement called P2SH, which we will cover next.

Quick facts

P2SH

Pay-to-Script-Hash (P2SH) was introduced to bitcoin as a soft fork in accordance with BIP 16 on April 1, 2012. Like most forks, the story behind it is fascinating. P2SH shares a lot in common with P2PKH. The main difference is that the address is created by hashing a redeem script instead of hashing a single public key.

A redeem script can be thought of as coded instructions specifying how bitcoin received to the P2SH address can be spent in the future. There could be a wide range of possibilities, including multiple different public keys. The receiver, not the sender, determines the script details, and the spending instructions are not exposed publicly until bitcoin is spent out of the address.

While advanced users can construct complex scripts, the most common uses for P2SH have been to create Nested SegWit addresses (covered below) and multisig wallets. For example, a script can include three public keys and specify that signatures from any two of the corresponding private keys can spend the bitcoin. This would create a 2-of-3 multisig address.

Get $100 off Unchained IRA and receive 1-year free of Bitcoin Magazine Pro market research ($250 value). Visit unchained.com and enter code “btcmag” at checkout.

P2SH addresses are exactly 34 characters in length, and they begin with a prefix of 3, as specified by BIP 13. Before the soft fork on April 1st, a handful of transactions experimented with this alternative prefix, the first of which is found in Block 170,052.

Quick facts

P2WPKH

Pay-to-Witness-Public-Key-Hash (P2WPKH) is the first of two address types introduced to bitcoin upon the SegWit soft fork in August 2017. The story behind this extremely important and particularly contentious soft fork is documented in a book called The Blocksize War, written by Jonathan Bier.

P2WPKH is the SegWit variant of P2PKH, which at a basic level, means that choosing this address type rather than older P2PKH addresses will help you save money on transaction fees when moving your bitcoin around.

SegWit addresses look quite different from the older address types because, per BIP 173, they use Bech32 encoding instead of Base58. Most notably, there are no capital letters in Bech32. P2WPKH addresses can be identified by a prefix of bc1q and a character length of exactly 42.

Quick facts

P2WSH

Pay-to-Witness-Script-Hash (P2WSH) is the SegWit variant of P2SH. The main advantage to using P2WSH over P2SH is that it can help lower transaction fees, and the primary reason to use a script hash instead of a public key hash is to accommodate multisig arrangements.

Like P2WPKH, a P2WSH address begins with a prefix of bc1q. However, it has a longer character length of exactly 62. Unlike the address types covered thus far, P2WSH addresses are created using the SHA-256 hashing function alone, without including RIPEMD-160, resulting in the increased character length. This was implemented cautiously, adding extra protection from a fairly nuanced and extremely unlikely multisig attack vector.

Quick facts

Nested SegWit (P2SH-P2WPKH and P2SH-P2WSH)

Nested SegWit (also known as Wrapped SegWit) is technically not a different address type than we’ve covered above. Still, it is a unique way to use previously discussed address types in a manner that was temporarily useful for the bitcoin community.

When the SegWit soft-fork occurred, not all bitcoin nodes, software, and services immediately upgraded to support the new Native SegWit address types, P2WPKH and P2WSH. Only the entities that did upgrade could send to these new addresses. This meant that folks who wanted the ability to receive bitcoin from anybody (including those who hadn’t upgraded) couldn’t use a Native SegWit wallet yet. However, since SegWit offered cheaper transaction fees, most people were keen to begin using it.

The crafty solution to this dilemma was to utilize the P2SH transaction type. The entities that had not yet implemented SegWit could still send bitcoin to P2SH addresses—which, as discussed above, are built with a redeem script specifying the instructions on how the bitcoin can be spent later on. As it turns out, these instructions could incorporate the new SegWit spending model, providing users with a bridge to reduced fees. Therefore, the P2SH addresses using this trick became known as Nested SegWit, and they played a significant role in the SegWit adoption process.

On the surface, Nested SegWit addresses are indistinguishable from other P2SH addresses, so the supply of bitcoin held in this arrangement is unknowable. Additionally, since all modern bitcoin tools can now send directly to Native SegWit addresses, there is no longer any good reason to use Nested SegWit.

Quick facts

P2TR

Pay-to-Taproot (P2TR) is the newest address type, made available by the Taproot soft-fork in November 2021. P2TR adoption remains quite low at the time of writing, and many bitcoin softwares and services are still working on integration.

While P2WPKH and P2WSH are known as SegWit V0, P2TR is considered SegWit V1. Notably, P2TR utilizes a digital signature algorithm called Schnorr, which differs from the ECDSA format used in earlier bitcoin transaction types. Schnorr signatures have several advantages, including additional transaction fee reductions and increased privacy.

Regarding privacy, the key and signature aggregations made possible by Schnorr allow multisig addresses to be indistinguishable from singlesig, and the full spending conditions for a P2TR address are not necessarily revealed publicly. The creator of the address can even include multiple customized redeem scripts to choose from in order to spend the bitcoin later.

P2TR addresses are 62 characters long, and they use Bech32m encoding, a slightly modified version of Bech32, as described in BIP 350. P2TR addresses can be identified by their unique bc1p prefix.

Quick facts

Reference chart

Now that we have covered all standardized methods to receive bitcoin on-chain, some of the quick facts and address features can be combined into a convenient chart for reference.

Originally published on Unchained.com.

Unchained is the official US Collaborative Custody partner of Bitcoin Magazine and an integral sponsor of related content published through Bitcoin Magazine. For more information on services offered, custody products, and the relationship between Unchained and Bitcoin Magazine, please visit our website.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
NBTC

NBTC is the editorial account for NBTC News, covering Bitcoin, Ethereum, DeFi, blockchain infrastructure, exchanges, mining, regulation and digital asset markets. The editorial team focuses on clear sourcing, timely updates and practical context for crypto readers.

Related Posts

Strategy Controls Nearly Two-Thirds of Bitcoin Held by Public Companies as Corporate Holdings Reach $82.9B

13/07/2026

Bitcoin whale places $31M short bet – Will BTC drop to $60K again?

13/07/2026

Could Bitcoin’s 21 Million Supply Cap Change? Zcash Co-Founder Makes Bold Proposal

13/07/2026

Analyst warns Bitcoin could slide to $56,550 amid Iran reversal

13/07/2026
Add A Comment

Comments are closed.

Top Posts
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

Your source for the serious news. This website is crafted specifically to for crazy and hot cryptonews. Visit our main page for more tons of news.

We're social. Connect with us:

Facebook X (Twitter) LinkedIn RSS
Top Insights

Shiba Inu Team Most Active Voice in SHIB Community Disappears

13/07/2026

Brazil freezes $2 billion in assets after US sanctions target PCC money laundering network

13/07/2026

Lighter Goes Live After Eight-Month Beta — What This Means for Traders

13/07/2026
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

Type above and press Enter to search. Press Esc to cancel.