Bitcoin Address Types Compared: P2PKH, P2SH, P2WPKH, And More

  • 📰 BitcoinMagazine
  • ⏱ Reading Time:
  • 76 sec. here
  • 4 min. at publisher
  • 📊 Quality Score:
  • News: 37%
  • Publisher: 53%

Technical News

Sponsored

A deeper look at standardized on-chain methods for receiving bitcoin and the essential differences that make each method unique.

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

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.

While advanced users can construct complex scripts, the most common uses for P2SH have been to create Nested SegWit addresses 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.

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.Pay-to-Witness-Script-Hash is the SegWit variant of P2SH.

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.

 

Thank you for your comment. Your comment will be published after being reviewed.
Please try again later.
We have summarized this news so that you can read it quickly. If you are interested in the news, you can read the full text here. Read more:

 /  🏆 461. in ERROR

Coin Coin Latest News, Coin Coin Headlines

Similar News:You can also read news stories similar to this one that we have collected from other news sources.

Bitcoin Cash & Bitcoin SV Pumping as Bitcoin Minetrix Nears Exchange ListingCrypto Blog
Source: Crypto_Potato - 🏆 568. / 51 Read more »

Bitcoin Generates 24 Time More Fees Compared to EthereumRules could solve Bitcoin's security problem, but will their success last?
Source: Utoday_en - 🏆 295. / 63 Read more »

Bitcoin to $17.7 Trillion Market Cap? Top Expert Does Not Deny This PossibilityWilly Woo's analysis on Bitcoin raises questions about its trajectory compared to $17 trillion gold
Source: Utoday_en - 🏆 295. / 63 Read more »

Countdown to Bitcoin Halving: A Feast of Opportunities in the Bitcoin EcosystemAs the Bitcoin halving countdown begins, which segments and tracks within the Bitcoin ecosystem deserve attention?
Source: hackernoon - 🏆 532. / 51 Read more »

How to "Become The Money" - Bitcoiner Michael Saylor Shares GuidanceVocal Bitcoin advocate Michael Saylor has issued a key Bitcoin statement to the community
Source: Utoday_en - 🏆 295. / 63 Read more »

Once unprofitable BTC miners are turning their machines back on — AnalystPreviously unprofitable Bitcoin miners may now be coming back online amid Bitcoin’s recent price rise.
Source: Cointelegraph - 🏆 562. / 51 Read more »