1. Introduction to various BTC addresses

There are many types of BTC addresses, which are introduced below:

1️⃣. P2PK (Pay-To-Public-Key): Pay to public key. In fact, it is a public key. The block reward transaction of the coinbase transaction in block 0 is directly paid to the public key. This type of address holds about 9% of BTC. Due to cost and privacy issues, it has been abandoned.

2️⃣. P2PKH (Pay-to-Public-Key-Hash): Pay to the hash of the public key. This is the common address starting with 1. The public key is hashed through SHA-256 and RIPEMD-160, encoded through Base58, and a checksum is introduced. This type of address holds about 43% of BTC. It is still in use, but not as popular.

3️⃣. P2MS (Pay-to-Multisig): Pay to a multi-signature public key. The multi-signature version of P2PK. This type of address holds about 0.0002% of BTC. Like P2PK, it has been abandoned due to cost and privacy issues.

4️⃣. P2SH (Pay-to-Script-Hash): Pay a script hash. It is the common address starting with 3. It is almost the same as P2PKH, but P2PKH is a public key hash, and P2SH is a redeem script hash. The redeem script can determine how to use the received BTC in the future. This brings about the feasibility of many smart contracts. Multi-signature wallets, time locks, etc. can be implemented in this way. And the Nested SegWit mentioned later also uses this solution. The BTC holdings of this type of address account for about 24%. Because of the subsequent upgrade of SegWit, it is not so popular now.

5️⃣. P2WPKH (Pay-to-Witness-Public-Key-Hash): Public key hash for payment to segregated witness. It is a common address starting with bc1q. It is the SegWit version of P2PKH. Because Bech32 encoding is used instead of Base58, the address looks different. It becomes 42 characters at the beginning of bc1q, and there are no uppercase characters. This type of address holds about 20% of BTC.

6️⃣. P2WSH (Pay-to-Witness-Script-Hash): Script hash for payment to segregated witness. It is the SegWit version of P2SH. It also starts with bc1q, but is 62 bits long. Because the hash only uses SHA-256, not RIPEMD-160, the length is longer. This type of address holds about 4% of BTC.

7️⃣. Nested SegWit (P2SH-P2WPKH and P2SH-P2WSH): It is actually a P2SH address, but only supports SegWit. The background is that the SegWit upgrade introduced the bc1q address (P2WPKH and P2WSH), which is a soft fork. Only upgraded wallets/tools can transfer funds to the bc1q address. If a person wants his address to be transferred by old wallets/tools and can use SegWit to reduce the handling fee at the same time, Nested SegWit is introduced, that is, the SegWit script is introduced in P2SH to solve this problem. Now SegWit has completed the upgrade, and all btc wallets/tools support SegWit.

8️⃣. P2TR (Pay-to-Taproot). The address starting with bc1p that we see every day. Taproot uses the Schnorr signature algorithm, which has better privacy and can also reduce transaction fees. The encoding uses Bech32m, so it is a 62-character string starting with bc1p. The BTC holdings of this type of address account for about 0.1%.

btc address type

2. Common address classification

The above is a more detailed classification. Daily wallets/tools are generally divided into 4 categories:

1️⃣. Legacy: A P2PKH (Pay-to-Public-Key-Hash) address starting with 1.

2️⃣. Nested SegWit: P2SH (Pay-to-Script-Hash) address starting with 3, which is compatible with the address of the SegWit protocol.

3️⃣. Native SegWit: P2WPKH (Pay-to-Witness-Public-Key-Hash) and P2WSH (Pay-to-Witness-Script-Hash) addresses starting with bc1q.

4️⃣. Taproot: P2TR (Pay-to-Taproot) address starting with bc1p.

3. Frequently Asked Questions

Q1: Can different types of addresses transfer money to each other? Will the coins be lost?

Transfers are of course possible, and they are all legitimate BTC mainnet addresses. If you are the receiver, you can receive the money once the transaction is confirmed on the mainnet. If you are the sender, if you are using an old wallet/tool ​​that may not be upgraded, it may not support transfers to Native SegWit or Taproot, and it cannot recognize the address and send transactions, so you will not lose your coins.


Q2: For example, many cex accounts support multiple addresses for recharge. Which one is better?

binance deposit btc

The priority is Taproot > Native SegWit > Nested SegWit > Legacy. Because Taproot and Native SegWit optimize the structure of transaction data, the transaction fee will be relatively lower.

#BTC☀

$BTC

BTC
BTC
63,702.87
-1.66%