Reviewed Aug 2026
DE
BA-04 · LESSON 02

Base58, Bech32, and Bech32m

KEY DEFINITIONS

Terms used in this lesson

Witness
Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
Taproot
A Bitcoin output and spending design that can combine a public-key path with privately committed alternative scripts.
Signet
A Bitcoin test network whose blocks require authorization by a configured signing challenge.
Regtest
A private Bitcoin test network where the operator can create blocks instantly for repeatable experiments.
SHA-256
A cryptographic hash function used throughout Bitcoin to produce fixed-size 256-bit digests.

Bitcoin addresses are human-readable encodings with a network marker and error-detecting checksum. Three formats exist because Bitcoin added new spending types over time.

45 min Difficulty 1/5 Not started

Loading lesson visuals...

01

Learn the idea

Base58Check, Bech32, and Bech32m are text encodings used for Bitcoin destinations. Each carries network or version information and a checksum that detects many typing errors. Base58Check is used for legacy address families. Bech32 encodes witness version 0, while Bech32m is required for witness versions 1 through 16, including Taproot version 1.

GUIDED EXPLANATION1/5 ideas inspected
1

Start from a payload

A wallet first has a script-related payload, such as a 20-byte key hash or a witness version plus witness program. The text does not create the condition.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionA valid address checksum proves the payment is going to the intended person.

It detects many encoding errors. It does not authenticate the recipient, protect against clipboard replacement with another valid address, or fix a network mismatch.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.