M03 · Edition 0.1
Derivation, xpubs and descriptors
Free · no registration
Objective
Understand how to describe a wallet without giving away the ability to spend.
Understanding the topic
A hierarchical wallet derives many keys from a root. A path identifies the branch in use. On mainnet, BIP84 commonly uses m/84'/0'/0' for the first single-signature SegWit account. BIP48 P2WSH uses m/48'/0'/0'/2' for the first multisignature account. The apostrophe marks hardened derivation. Changing the account, network or script type can produce different addresses from the same mnemonic.
An xpub is an extended public key that can derive certain descendant public keys. It is not a spending password, but it can reveal a family of addresses. A master fingerprint is a short identifier useful for associating records. By itself it cannot guarantee identity or prevent collisions.
A descriptor specifies how to construct scripts and addresses, including the script type, keys, origins and derivation paths. A watch-only descriptor containing public keys enables monitoring without signing. The word “descriptor” does not guarantee that all its contents are public. Some formats can include private keys. Never upload a real descriptor to the course.
Recovering a multisignature wallet normally requires the full policy in addition to one signer’s words. Preserve the threshold, participants, xpubs, paths, network, script type and discovery data. The descriptor checksum helps catch transcription errors. It does not authenticate the participants.
Practice
- Read a fictitious path and explain its purpose, coin, account and branch. Do not enter real keys.
- Distinguish a receiving address, a participant’s xpub and a complete descriptor.
- Prepare a private recovery form with empty field labels and a separate place to keep the documentation.
Show what you know
Explain why an empty wallet after restoration does not prove loss. Check the network, passphrase, script, account, path and discovery settings.
Common question
Can an xpub be published without consequences? It does not normally allow spending on its own, but it exposes private information and may increase other risks in particular cryptographic combinations.
Pause point
Keep the form in the course without any sensitive values.
1. What information might be missing if you try to recover a multisignature wallet with just one seed?
- The device’s color.
- The policy and the other participants’ public keys.
- A social media password.
Show answer
The policy and the other participants’ public keys.Reconstructing the scripts requires the full policy as well as the threshold number of private keys.
You can keep reading without an account. To share progress with TutorAI, activate a code.