Base58, Bech32, and Bech32m
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.
Loading lesson visuals...
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.
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 every idea above to open it.
It detects many encoding errors. It does not authenticate the recipient, protect against clipboard replacement with another valid address, or fix a network mismatch.
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.