There are two main formats for Bitcoin addresses: the compressed and uncompressed formats. The compressed format is the standard and preferred method.
The compressed format is shorter, typically 34 characters long, and uses a single character to indicate whether the address is compressed or not. The uncompressed format is longer, usually 66 characters, and doesn't have this indicator.
Bitcoin addresses are case-sensitive, so be careful when copying and pasting them.
Bitcoin Address Format
A Bitcoin address is a unique string of characters that identifies a specific destination on the network, allowing users to transfer Bitcoins to that address.
Bitcoin addresses are typically between 26 and 35 characters in length.
Each Bitcoin address is unique and corresponds to a specific private key.
Address Types
Bitcoin address format has undergone several changes over the years, and it's essential to understand the different types to make the most of your hardware wallet and save on fees.
There are several types of Bitcoin addresses, each with its own characteristics and uses. Taproot addresses, also known as P2TR, are the latest and most advanced format, offering greater security, privacy, flexibility, and scaling to the Bitcoin network.
Taproot addresses can be identified by their format, which starts with "bc1". They are case-insensitive and offer better security, lower fees, and more flexible multi-key transactions. Taproot example: bc1p5d7rjq7g6r4jdyhzks9smlaqtedr4dekq08ge8ztwac72sfr9rusxg3297
P2WPKH, or native SegWit, addresses are a modern and efficient address format. They start with "bc1q" and are not case-sensitive, offering better resistance to input errors and lower transaction fees.
Script addresses, on the other hand, are used for multi-sig addresses and require several key signatures to authorize the transaction. They start with the number 3 and can have upper and lowercase characters, making them case-sensitive.
Legacy addresses, also known as P2PKH, are the original and oldest Bitcoin address format. Although not commonly used today, supporting this format in applications is still recommended to ensure compatibility with older legacy wallets.
Here's a quick reference guide to help you identify the different types of Bitcoin addresses:
Understanding the different types of Bitcoin addresses can help you make informed decisions when sending and receiving Bitcoin. By choosing the right address type, you can save on fees and ensure compatibility with your hardware wallet.
Address Formats
Bitcoin address formats can be a bit confusing, but understanding the different types can help you navigate the world of cryptocurrency.
A Bech32 address starts with the identifier bc1 and is compatible with most software and hardware wallets. However, most exchanges don't support this format.
Legacy addresses, on the other hand, start with a 1 and are the original address format of Bitcoin. These addresses are larger, which means the fee for payment is generally higher.
You can identify a Bitcoin Cash address by looking for the string 'bitcoin cash:q' or a letter q at the beginning. This format helps to separate a BCH address from a BTC address, preventing accidental fund transfers.
Here is a quick reference guide to the different address types:
Segwit addresses, which start with bc1q, are now widely supported and can help prevent problems when transacting with an exchange or service that doesn't support Taproot.
P2PKH
P2PKH is a type of address format used in Bitcoin.
A P2PKH address contains a public key hash and corresponds to a P2PKH locking script.
The address is a Base58Check encoding of the public key hash, which includes a version byte prefix of 00.
This prefix forces the first character of the address to be a 1, helping to distinguish it from a P2SH address.
P2PKH addresses start with a 1, making them easily identifiable.
Legacy address transactions, which are P2PKH transactions, are larger, resulting in higher fees.
Base58
Base58 is a way of encoding data, specifically used for creating Bitcoin addresses. It's a Base58Check encoding of a public key hash, which is a shortened version of a public key.
The first character of a Base58 address is always a number, and this helps distinguish it from a similar-looking P2SH address. For P2PKH addresses, this number is always 1, while P2SH addresses start with the number 3.
A P2PKH address is a type of Base58 address that contains a public key hash and corresponds to a P2PKH locking script. These addresses are designed for use with P2PKH locking scripts and are the original style of Bitcoin addresses.
Here's a quick rundown of the different types of Base58 addresses:
These addresses were designed by Satoshi for easy sending and receiving of bitcoins, and they're still widely used today.
Universal Access
Bitcoin addresses are surprisingly flexible, and you can send from one type to another with ease.
Most types of Bitcoin addresses are cross-compatible, meaning you can send from one type to another without any issues.
If you encounter a problem sending to a certain type of address, it's likely due to your wallet client or the service you're using.
Updating or upgrading to a wallet that supports the latest types of addresses can resolve the issue.
Legacy and SegWit
Legacy addresses, also known as Pay-to-Public-Key-Hash (P2PKH), start with the digit "1" and were the original address format of Bitcoin. They're still widely used, but have many drawbacks.
Legacy addresses incur the most expensive transaction fees when sending payments, limiting the Bitcoin network's ability to scale. They're also case-sensitive, often causing unwanted errors.
To use SegWit addresses, you need to check if your wallet or exchange supports Native or Nested SegWit. A compatibility matrix can help you determine which type of address your wallet or exchange supports.
Here's a quick reference guide to help you understand the different types of addresses:
- P2SH-wrapped: "3" addresses (Nested SegWit)
- P2SH-P2WPKH: "3" addresses (Nested SegWit)
- Bech32: "bc1" addresses (Native SegWit)
- P2WPKH: "bc1" addresses (Native SegWit)
- P2PKH: "1" addresses (Legacy)
Native SegWit Bech32 addresses, starting with "bc1", are the standard now and can save you up to 80% in transaction fees vs. legacy addresses. They're also case-insensitive and help the network scale.
P2SH
A P2SH address starts with the digit 3 and is a Base58Check encoding of a 20-byte script hash, including a version byte prefix of 05. This helps distinguish it from a similar-looking P2PKH address.
The first character of a P2SH address is always a 3, making it easy to identify.
P2SH addresses are often used by multi-signature wallets, which is why you'll see this address type frequently used in that context.
SegWit Usage
SegWit adoption has been steadily increasing since its activation on August 24, 2017. Transactions that spend from SegWit addresses now represent â…” of daily Bitcoin transactions.
To use SegWit addresses, you'll need to check if your wallet or exchange supports Native or Nested SegWit. You can find this information using a compatibility matrix, which shows that "Bech32" refers to "bc1" addresses (Native SegWit) and "P2SH-wrapped" refers to "3" addresses (Nested SegWit).
If your wallet or exchange supports SegWit, you can send funds from your legacy "1" addresses to a "bc1" address to gain the benefits of Native SegWit. This will save you up to 80% on transaction fees.
Here's a quick guide to using Native SegWit Bech32 addresses in Ledger Live:
- Add an account to add a "bc1" address
- Copy your Native SegWit address
- Send funds from your legacy "1" address to your new "bc1" address
Similarly, you can use Nested SegWit "3" addresses in Ledger Live or Trezor Suite by sending funds from your legacy "1" addresses to a "3" address.
To check if your wallet or exchange supports SegWit, you can use the following compatibility matrix:
Remember to double-check with your vendor to ensure that they support SegWit addresses, as some may not.
P2PKH or Legacy
Legacy addresses, also known as Pay to Public Key Hash (P2PKH), are the original address format of Bitcoin. They start with the digit "1" and are still used by some vendors and exchanges.
These addresses were once the standard address type up until August 2017. Many now advise against using them due to their drawbacks. They incur the most expensive transaction fees when sending payments and limit the Bitcoin network's ability to scale.
Legacy addresses are also case-sensitive, which often causes unwanted errors. This is because they are a Base58Check encoding of the public key hash, including a version byte prefix of 00 to force the first character of the address to be a 1.
Some wallets, like Ledger, still support legacy "1" addresses, but they also support Native SegWit, which is a more efficient and scalable option. If your vendor is still using Legacy addresses, it's worth considering switching to a more modern address type.
Sources
Featured Images: pexels.com