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

Bitget Wallet expands stablecoin payments with Visa, Mastercard, and Ripple integration

31/03/2026

EY warns firms they must own the wallet to keep their customers

31/03/2026

Is Pengu card the next step for Pudgy Penguins’ real-world utility?

31/03/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

    Price Breaks All-Time High Record Again – Here’s What We Know

    04/08/2025

    Bitcoin Switzerland? El Salvador to Host First Fully Native Bitcoin Capital Markets

    04/08/2025

    Bitcoin Breaks $119K, but XLM and HBAR Aren’t Impressed by Its Meager Percentage Gain

    04/08/2025

    High-Stakes Consolidation Could Define Q3 Trend

    04/08/2025

    Ethereum Price Faces Downside Risk, Bears Prepare for Fresh Move

    30/03/2026

    Will Ethereum Price Crash Below $2,000 Again Amid Whale Sell-Offs

    30/03/2026

    Targets $2,500 as Recovery Gains Strength

    29/03/2026

    Ethereum price drops below $2,200, but a bullish reversal is brewing

    29/03/2026

    The Sui Ecosystem’s Top 3 Altcoin Performers

    29/07/2025

    Floki Launches $69000 Guerrilla Marketing Challenge With FlokiUltras3

    28/07/2025

    Crypto Beast denies role in Altcoin (ALT) crash rug pull, blames snipers

    28/07/2025

    $1.6 Billion XRP Surge: Here’s What’s Unfolding

    28/07/2025

    Courtyard Dominate Top 10 Weekly NFT Performers by Sales Volume

    31/03/2026

    ZNS Connect Unveils New NFT Collection for Free on Soneium

    29/03/2026

    Pudgy Penguins and Floki Lead NFT Social Activity as Engagement Hits New 2026 Heights

    26/03/2026

    NFT buyers surge 100% weekly, Ethereum dominates sales volume

    25/03/2026

    Bitget Wallet expands stablecoin payments with Visa, Mastercard, and Ripple integration

    31/03/2026

    EY warns firms they must own the wallet to keep their customers

    31/03/2026

    Is Pengu card the next step for Pudgy Penguins’ real-world utility?

    31/03/2026

    ‘Be Greedy When Others Are Fearful,’ Metaplanet CEO Quotes Buffett as Crypto Fear Goes Extreme

    31/03/2026
  • Blockchain

    Google launches Gemini 3.1 Flash Lite as fastest and cheapest Gemini 3 model

    31/03/2026

    Onyx Launches Goliath Mainnet With 100K TPS

    30/03/2026

    DePINed Joins Kaizen Finance to Drive Launch of No-Code Tokens

    30/03/2026

    Last Chance Migrate BEP2 Tokens Before Beacon Chain Sunset!

    30/03/2026

    Ethereum and BNB Chain Dominate

    30/03/2026
  • DeFi

    Aave rolls out v4 on Ethereum, aiming to expand DeFi into real-world credit markets

    31/03/2026

    MixMax and GamePad.co Join Forces to Tackle DeFi Scalability and Performance Challenges

    31/03/2026

    Inside Aave’s governance battle as DeFi giant prepares for upgrade

    30/03/2026

    Nova.AI Joins Forces With Spores Network To Advance DeFi User Experience Through AI and Web3 Integration

    30/03/2026

    Crypto’s CLARITY Act could be a headwind for DeFi tokens ring-fencing yield, analyst says

    30/03/2026
  • Metaverse

    Mark Zuckerberg’s Meta launches new AI initiative after metaverse retreat

    25/03/2026

    Meta partners with Arm to develop new CPUs for AI deployments

    24/03/2026

    Land values capitulate as $24M metaverse plot collapses to just $9,000

    20/03/2026

    Meta to shutter Horizon Worlds metaverse on VR in favor of mobile

    18/03/2026

    Meta expands AI agent push with Moltbook acquisition

    10/03/2026
  • Regulation

    EY warns firms they must own the wallet to keep their customers

    31/03/2026

    ‘Be Greedy When Others Are Fearful,’ Metaplanet CEO Quotes Buffett as Crypto Fear Goes Extreme

    31/03/2026

    RWA Perpetuals Surge in 2026 as Gold and Silver Hit Record Volatility

    31/03/2026

    Japan’s Crypto Industry Faces Critical Test Ahead of Snap Election

    31/03/2026

    SOL-focused Forward Industries has had a tough run, but CIO says it’s positioned for success

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

    Bitget Wallet expands stablecoin payments with Visa, Mastercard, and Ripple integration

    31/03/2026

    Is Pengu card the next step for Pudgy Penguins’ real-world utility?

    31/03/2026

    Binance Vietnam expands presence with new general manager role amid crypto pilot program

    31/03/2026

    Exchange listings doubled this cycle, despite token project weakness

    31/03/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

    Why 2025 Will See the Comeback of the ICO

    26/12/2024

    World of Elements v1.12 introduces skill trees, Hubitz location

    30/03/2026

    PlaysOut Taps CacheWallet to Drive Secure Web3 Gaming Framework

    26/03/2026

    Zach Lowe: Celtics’ offense struggles since Tatum’s return, Luka Doncic’s historic scoring season, and LeBron’s pivotal role in Lakers’ surprise playoff success

    23/03/2026

    Controversial Statements from the Solana Foundation President: “These Altcoins Are Dead”

    20/03/2026

    Bitcoin hashrate posts first-quarter drop for first time in 6 years as miners pivot to AI

    31/03/2026

    Will the bitcoin hashrate stall as miners pivot to AI and reshape decentralization?

    31/03/2026

    Bitdeer Targets 180 MW Tydal Facility by 2026

    31/03/2026

    Bitcoin Mining Companies Are Shifting to the AI Sector Every Day

    29/03/2026

    Kalshi gets temporary Nevada ban in dispute over sports betting

    31/03/2026

    South Korea tax agency seeks private crypto custodian after security lapses

    31/03/2026

    What It Means for Your Portfolio

    30/03/2026

    The Last 1% May Be the Dangerous Part

    30/03/2026

    Bitget Wallet expands stablecoin payments with Visa, Mastercard, and Ripple integration

    31/03/2026

    EY warns firms they must own the wallet to keep their customers

    31/03/2026

    Is Pengu card the next step for Pudgy Penguins’ real-world utility?

    31/03/2026

    ‘Be Greedy When Others Are Fearful,’ Metaplanet CEO Quotes Buffett as Crypto Fear Goes Extreme

    31/03/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

Related Posts

Price Breaks All-Time High Record Again – Here’s What We Know

04/08/2025

Bitcoin Switzerland? El Salvador to Host First Fully Native Bitcoin Capital Markets

04/08/2025

Bitcoin Breaks $119K, but XLM and HBAR Aren’t Impressed by Its Meager Percentage Gain

04/08/2025

High-Stakes Consolidation Could Define Q3 Trend

04/08/2025
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

Bitget Wallet expands stablecoin payments with Visa, Mastercard, and Ripple integration

31/03/2026

EY warns firms they must own the wallet to keep their customers

31/03/2026

Is Pengu card the next step for Pudgy Penguins’ real-world utility?

31/03/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.