Everything You Should Know About Bitcoin Address Formats

Everything You Should Know About Bitcoin Address Formats

- Advertisement -

A wallet address, comprising a string of 26-35 alphanumeric characters, is all it takes to send and receive bitcoin. Any bitcoin address can be used to transfer cryptocurrency to any other address on the network, provided the sender’s wallet software supports that address type. With multiple address formats to choose from, and wallet providers and exchanges only supporting certain address types, it pays to familiarize yourself with the differences.

Also read: Bitcoin Cash-Focused Ifwallet Implements Cash Accounts Name System

Address Formats Are the Internet Protocol of Bitcoin

Just as there are multiple versions of the Internet Protocol, such as IPv4 and IPv6, there are multiple bitcoin address formats. Most of the time, these don’t come into conflict with one another, with transactions zipping seamlessly across the network between custodial and non-custodial wallets. There are three Bitcoin Core address formats to choose from, P2PKH, P2SH, and bech32, with only a handful of service providers supporting all of them. There’s a good chance your preferred wallet or exchange doesn’t support at least one of these formats, with bech32 the likeliest to be omitted.

Learning the pros, cons and quirks of each address format will enable you to choose a compatible bitcoin wallet, exchange or platform. It will also furnish you with a deeper knowledge of Bitcoin’s inner workings, and reveal the trade-offs that come with each format in terms of security, flexibility and functionality.

Everything You Should Know About Bitcoin Address Formats

P2PKH or Legacy Address Format

If your bitcoin address starts with a 1, you’re using a P2PKH or legacy address, for example 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2. This was Bitcoin’s original address format and it still works faithfully to this day. P2PKH, incidentally, stands for Pay-to-Pubkey Hash i.e pay to a hash of the recipient’s public key. Legacy addresses are not segwit compatible, but you can still send BTC from a P2PKH address to a segwit address without any problems. The average fee when sending from a P2PKH address is likely to be higher than when sending from a segwit address, however, because legacy address transactions are larger in size.

- Advertisement -

P2SH Address Format

P2SH addresses are structured similarly to P2PKH, but start with a 3 instead of a 1, for example 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy. P2SH, which stands for pay to script hash, enables more elaborate functionality than legacy addresses. The P2SH script function is most commonly used for multisig addresses which can specify, for example, that multiple digital signatures are required to authorize the transaction. This address format is also used to enable non-native segwit transactions using a process known as P2WPKH-in-P2SH. The average person sending and receiving coins doesn’t need to concern themselves with the more complex functionality that the P2SH format can bestow: all that matters is that this address type is widely supported and can be used to send funds to both P2PKH and bech32 addresses.

Bech32 Address Format

Bech32 addresses look distinctly different from the P2-style addresses. Each one starts with “bc1” and is longer than a legacy or P2SH address on account of this prefix. Bech32 is the native segwit address format, and is supported by the majority of software and hardware wallets, but a minority of exchanges. Ledger and Keepkey wallets currently don’t support bech32, for instance, and while most exchanges enable sending funds to bech32 addresses, they don’t enable users to receive them with this format. At present, less than 1 percent of BTC is stored in bech32 addresses, although this number is increasing slowly.

Everything You Should Know About Bitcoin Address Formats
Bech32 adoption

Bitcoin Cash Address Formats

Bitcoin Cash addresses can follow either the legacy format (which starts with a 1) or more commonly the Cash Address (Cash Addr) format. It’s based on bech32 and starts with ‘q’ or ‘bitcoincash:q’. BCH wallets can support both formats, with tools enabling users to switch between Cash Addr and legacy formats. The primary reason for using the Cash Addr format is to distinguish BCH from BTC and thereby prevent funds being sent to the wrong address.

- Advertisement -

Which BTC and BCH address formats do you most commonly use? Let us know in the comments section below.


Images courtesy of Shutterstock and P2sh.info.


Need to calculate your bitcoin holdings? Check our tools section.

Everything You Should Know About Bitcoin Address Formats
Kai Sedgwick

Kai’s been playing with words for a living since 2009 and bought his first bitcoin at $19. It’s long gone. He’s previously written white papers for blockchain startups and is especially interested in P2P exchanges and DNMs.

Source

Previous Articles:

- Advertisement -

Latest

Man Faces Prison for Hiding $13M in CryptoPunk NFT Sales from IRS

Pennsylvania man Waylon Wilcox faces up to six years in prison after pleading guilty to concealing over $13 million in CryptoPunks NFT sales income.Wilcox...

Gold-Backed Cryptocurrencies Surge as Investors Seek Digital Safe Haven

Gold-backed cryptocurrencies like Paxos Gold (PAXG) and Tether Gold (XAUT) have surged over 24% year-to-date to all-time highs above $3,300.While tokenized gold has thrived...

Mantra (OM) token plummets 90% in 24 hours, wipes out $6B market cap

Mantra (OM) token has crashed over 90% in 24 hours, plummeting from $6.3 to under $0.50, wiping out most of its $6 billion market...

Crypto Gaming Tokens Plummet, Vanish from Top 100 as Market Struggles

Gaming tokens have disappeared from the top 100 cryptocurrency rankings by market cap despite having six representatives a year ago.Eve Frontier launched a 10-day...

Trump to impose new semiconductor tariffs on electronics within months

Commerce Secretary Howard Lutnick clarified that recent tariff exemptions for consumer electronics are only temporary.New semiconductor-focused tariffs are expected within "a month or two"...

Must Read

7 Best Audiobooks on Cybersecurity

Cybersecurity has become an essential topic in our increasingly digital world. As technology evolves and becomes more integrated into our daily lives, the importance...