What are the types of bitcoin addresses and which one to choose?

What are the types of bitcoin addresses and which one to choose?

Introduction

Bitcoin is a digital form of currency that has grown in popularity over the years. One of the most important aspects of using Bitcoin is the type of address used to access funds. There are several types of Bitcoin addresses, and it’s important to understand the differences between them in order to choose the best one for your needs. In this article, we will discuss the various types of Bitcoin addresses and the advantages and disadvantages of each.



Advancedbitcoin


Advancedbitcoin

Main

  • There are several address formats on the Bitcoin network: Legacy (P2PKH), Script (P2SH), SegWit (P2WPKH), and Taproot (P2TR).
  • Each type of bitcoin address is distinguished by the technologies used and the benefits for the user – in particular, the ability to pay lower transaction fees.
  • As of August 2022, the most popular bitcoin address standard is SegWit.
  • The latest in the protocol of the first cryptocurrency appeared addresses of the Taproot format, or Bech32m. It was implemented along with the activation of the update in November 2021.

How to distinguish between address formats in the bitcoin network?

There are several types of addresses in the bitcoin network. They can be easily distinguished by the prefix – the characters at the beginning of the address:

  1. Legacy (P2PKH): starts with a number 1. Example: 1N4Qbzg6LSXUXyXu2MDuGfzxwMA7do8AyL.
  2. Script (P2SH): starts with a number 3. Example: 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy.
  3. SegWit (P2WPKH): starts with “bc1q“. Example: bc1qfg9t7fwn0atn4yf9spca5502vk8dyhq8a9aqd8.
  4. Taproot (P2TR): starts with “bc1p“. Example: bc1peu5hzzyj8cnqm05le6ag7uwry0ysmtf3v4uuxv3v8hqhvsatca8ss2vuwx.

What is a bitcoin address in Legacy format?

The legacy address is the very first address standard in the bitcoin network, proposed by Satoshi Nakamoto. Otherwise, it is called P2PKH (Pay To Public Key Hash), since it requires the recipient to sign a signature calculated from the private key and the public key.

A Legacy address consists of three parts:

  • prefix;
  • the public key generated as a result of applying the SHA256 and RIPEMD algorithms to the private key;
  • check sum.

Both incoming and outgoing transfers from such addresses are supported by all wallets and applications running on the Bitcoin network. The main disadvantage of Legacy addresses is high commissions. They also have a low speed of double hashing of the checksum and more weight in QR codes.

What are the differences between Script (P2SH) and Legacy?

Script addresses appeared in Bitcoin Improvement Proposal BIP-0016 in January 2012 thanks to Bitcoin Foundation Chief Scientist Gavin Andresen.

They have the same structure as Legacy addresses, but start with the number 3. Such addresses assume that when transferring funds, the recipient must have a script that matches the hash script. This feature allows you to reduce the transfer fee, pass the fee on to the recipient, and create multi-signature addresses.

What are the benefits of the SegWit format?

In the spring of 2016, developers Peter Welle and Greg Maxwell proposed a new kind of address called Bech32 in the BIP-0173 update. It is also called Segregated Witness (SegWit) or P2WPKH (Pay to Witness Public Key Hash).

Such addresses use the SegWit protocol, which allows you to reduce the block size in the Bitcoin network by removing the signature from it, which makes transaction fees even lower than when using Script or Legacy. The corresponding update was activated at the end of August 2017.

As of 2022, SegWit is considered the industry standard and is supported by all popular bitcoin wallets. According to the website Transactionfee.infoabout 85% of all outgoing transactions in mid-August 2022 were made from SegWit addresses.

Taproot – the best kind of bitcoin address?

An update to the bitcoin protocol called Taproot has been waiting for several years. Its activation was completed in November 2021.

The upgrade included important technical changes, in particular the implementation of the Schnorr signature scheme and the MAST concept. Taproot is supposed to increase the efficiency and scalability of the Bitcoin blockchain. However, there is another consequence of the update – a new address format called Pay-to-Taproot (P2TR) or Bech32m.

The main advantage of Taproot addresses for their owners is the lowest fees compared to other formats and cheaper payments on the Lightning Network.
However, Taproot has a big drawback – this type still supports only a small number of wallets. In mid-August 2022, only 0.56% of all outgoing transfers in the Bitcoin network committed from addresses of this type.

The gradual spread of the new standard is the norm for the decentralized Bitcoin network, which is used by a huge number of applications and users. A similar situation was observed after the introduction of SegWit.

Is it possible to transfer bitcoins between addresses of different formats?

Today Legacy, Script and SegWit are fully compatible with each other. That is, both incoming and outgoing transfers can be freely made between them.

The situation is somewhat different with Taproot. Most non-custodial wallets in use support sending transactions to an address like Bech32m, but do not have the functionality to create such an address. Also, not all cryptocurrency exchanges allow you to send funds to a Taproot address. The current situation with the implementation of Taproot in popular bitcoin wallets can be viewed on the website bitcoin wiki.

P2TR address transactions are supported by many used bitcoin block explorers, for example block chair or Blockstream.

FAQ

What is a bitcoin address?

A Bitcoin address is a unique identifier with which a user can send and receive cryptocurrency. Each BTC address is unique and generated through complex encryption mechanisms. Serves as an analogue of a bank account in the bitcoin network.

What is the best bitcoin wallet format?

As of 2022, we recommend using SegWit – it is the modern standard, allows you to pay low fees for transfers on the Bitcoin network and is supported by most wallets. In the future, this format is likely to replace Taproot.

How to choose the type of bitcoin address?

Often, a bitcoin storage application allows you to choose an address format at the stage of creating an address.

How many characters are in a bitcoin wallet address?

The legacy address for the first cryptocurrency consists of 34 characters, SegWit addresses (Bech32) most often include 42 characters, Taproot (Bech32m) – 62 characters.

How many bitcoin addresses are there?

According to Glassnode, in August 2022, there were more than 38 million addresses in the Bitcoin network with a non-zero balance. Transactions sent or received daily about 1 million bitcoin addresses.

Subscribe to bitcoinlinux on social networks

Found a mistake in the text? Select it and press CTRL+ENTER

bitcoinlinux Newsletters: Keep your finger on the pulse of the bitcoin industry!

Conclusion

In conclusion, bitcoin addresses come in two main types: P2PKH and P2SH. Each has its own advantages and disadvantages, and it is up to the user to decide which one to use. Regardless of which type of address is chosen, it is important to keep in mind that bitcoin transactions are irreversible and it is the user’s responsibility to ensure that the address they are sending to is the correct one.

FAQ

What are the types of bitcoin addresses and which one to choose?

Answer:

There are two types of Bitcoin address formats: Legacy and SegWit. Legacy addresses consist of a string of 26-35 alphanumeric characters and typically begin with a ‘1’. SegWit addresses start with a ‘3’ and consist of a string of 24-34 characters. Depending on the wallet provider, users may have the option to choose between these address formats.

Generally, SegWit addresses are recommended as they offer a much lower transaction fee. Additionally, SegWit addresses are also compatible with a larger number of services and exchanges.

The post What are the types of bitcoin addresses and which one to choose? appeared first on bitcoinlinux.com.