Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

BIP 13 P2SH Address Format Explained for Bitcoin Wallets

BIP 13 P2SH address format explained: understand Base58Check version bytes, script hashes, network validation and the relationship to BIP 16.

BIP 13 P2SH address format guide cover

This guide explains BIP 13 P2SH address format in plain English. It covers the problem behind the BIP, why it matters and whether the proposal is part of Bitcoin today.

TL;DR

  • What it is: BIP 13 P2SH address format defines the familiar Base58Check representation used to pay a hash of a redeem script without asking the sender to understand that script. BIP 13 is the application-layer encoding, while BIP 16 defines the consensus validation of pay-to-script-hash outputs.
  • Why it matters: BIP 13 made complex script commitments usable as compact wallet destinations, while BIP 16 supplies their consensus meaning. Safe P2SH operation depends on strict network decoding, protected redeem-script or descriptor backups and independent payment verification.
  • Current position: BIP 13 P2SH address format defines the familiar Base58Check representation used to pay a hash of a redeem script without asking the sender to understand that script.

BIP 13 P2SH address format in simple English

BIP 13 P2SH address format: P2SH remains part of Bitcoin, including nested SegWit constructions, but native SegWit and Taproot addresses offer different weight, error-detection and privacy properties.

Simple example

A node operator is checking BIP 13 P2SH address format. Funds are recoverable only when the spender has the complete redeem script and the necessary keys.

Key terms in plain English

BIP:
Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
Consensus:
The shared rules full nodes use to decide whether blocks and transactions are valid.
Taproot:
A Bitcoin upgrade that added new signature and script options for spending outputs.
Node:
A computer running Bitcoin software that checks data and communicates with other peers.

Why a script needed an address

A recipient may require multisignature or another redeem script, but a payer should not need to parse that policy. A P2SH address encodes a hash commitment that ordinary wallet interfaces can handle like a destination. The recipient bears responsibility for preserving the redeem script and later satisfying it; the address alone cannot reconstruct a lost policy.

Hash and Base58Check construction

The payload contains a network-specific version byte and the 20-byte HASH160 of the redeem script, followed by a checksum before Base58 encoding. Mainnet and test networks use different version values. Implementations should decode and verify the checksum and network rather than accepting a familiar first character as proof that the entire string is valid.

BIP 13 and BIP 16 have different jobs

BIP 13 describes how applications represent and recognise the destination. BIP 16 specifies the scriptPubKey pattern and the upgraded validation that checks the redeem-script hash and executes the supplied script. An application can parse an address without proving that its node enforces or relays the related spending rules correctly.

BIP 13 P2SH address format technical diagram
BIP 13 and BIP 16 have different jobs: the fields, validation boundary and operational evidence that implementations need to agree.

Redeem-script custody

Funds are recoverable only when the spender has the complete redeem script and the necessary keys. A seed backup might reproduce keys but not an independently assembled multisignature script, key order or recovery branch. Wallet descriptors and tested exports should accompany backups. Showing the P2SH address in a screenshot is not enough recovery evidence.

Network and substitution risks

A wrong-network address can decode correctly but be unusable for the intended payment. Clipboard malware can substitute a different valid address with a correct checksum. QR codes can carry the same substitution. Wallets should display the decoded network and full destination, and high-value procedures should verify through an independently trusted channel.

Legacy and modern script types

P2SH remains part of Bitcoin, including nested SegWit constructions, but native SegWit and Taproot addresses offer different weight, error-detection and privacy properties. A wallet should identify the exact output type rather than call everything a multisig address. Migration must consider hardware support, recovery policy and fee implications.

How specialists test it

Developers test the proposal with made-up data on an isolated test network. They check normal cases and deliberately invalid cases. Different implementations should reach the same result before anyone relies on the proposal.

Frequently asked questions

What is the main point of BIP 13 P2SH address format?

BIP 13 P2SH address format: P2SH remains part of Bitcoin, including nested SegWit constructions, but native SegWit and Taproot addresses offer different weight, error-detection and privacy properties.

For BIP 13 P2SH address format, why a script needed an address?

A recipient may require multisignature or another redeem script, but a payer should not need to parse that policy.

For BIP 13 P2SH address format, what should a beginner know about hash and Base58Check construction?

The payload contains a network-specific version byte and the 20-byte HASH160 of the redeem script, followed by a checksum before Base58 encoding.

For BIP 13 P2SH address format, what should a beginner know about bip 13 and BIP 16 have different jobs?

BIP 13 describes how applications represent and recognise the destination. BIP 16 specifies the scriptPubKey pattern and the upgraded validation that checks the redeem-script hash and executes the supplied script.

Conclusion

BIP 13 made complex script commitments usable as compact wallet destinations, while BIP 16 supplies their consensus meaning. Safe P2SH operation depends on strict network decoding, protected redeem-script or descriptor backups and independent payment verification.

Primary sources

Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Overall ranking
Equihash
·
ZEC
Overall rank#1of 100AvailableAll: #3 / 831
Bitmain Antminer Z15K 525KSol Equihash Zcash Miner
Bitmain
Pre-Order
Hashrate
525KSOL
Efficiency
4.73W/KSOL
Power
2483W
Earns/kWh
41.7p
Free Shipping
Price · delivered
£6,050.00
ex VAT
Est. per month
£755.32
Payback 8 Months
Overall ranking
Equihash
·
ZEC
Overall rank#2of 100AvailableAll: #5 / 831
Bitmain Antminer Z15 Pro 840KSol Equihash Zcash Miner
Bitmain
In stock
Hashrate
840KSOL
Efficiency
3.3W/KSOL
Power
2772W
Earns/kWh
59.8p
Price · delivered
£12,505.00
ex VAT
Est. per month
£1208.50
Payback 10.3 Months
Overall ranking
SHA-256
·
BTC
Overall rank#6of 100AvailableAll: #11 / 831
Bitmain Antminer S23e Hydro 2U 865Th SHA-256 Bitcoin Miner
Bitmain
Pre-Order
Hashrate
865TH
Efficiency
10W/TH
Power
8650W
Earns/kWh
13.2p
Free Shipping
Price · delivered
£9,382.50
ex VAT
Est. per month
£834.31
Payback 11.2 Months
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

Members can read and join the discussion

Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners