Skip to content

Commit 47b2765

Browse files
committed
docs(addressing): expand output descriptor
1 parent 0e50d67 commit 47b2765

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

addressing/output-descriptors.md

+32-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# Output Descriptors
22

3-
## Part 1: Derivation Paths
3+
At first you would generate a private key for each wallet you owned. It's already difficult to store 1 private key safely so a big UX improvement came about with BIP32.
4+
5+
> HD wallets which can be shared partially or entirely with different systems, each with or without the ability to spend coins[^3]
6+
7+
## Why Output Descriptors?
8+
9+
- [ ] [focus on xpub output descriptors, *e.g. from hardware wallets*]
10+
- [ ] Introduction to bip32
11+
- [ ] BIP44 derivation paths
12+
- [ ] BIP49 derivation paths
13+
- [ ] BIP84 derivation paths
14+
- [ ] Obtaining an xpub
15+
16+
## Diving in
17+
18+
### Part 1: Derivation Paths
419

520
```
621
m / purpose' / coin_type' / account' / change / index
@@ -15,5 +30,20 @@ m / purpose' / coin_type' / account' / change / index
1530
- `0` - **Normal Child** (index `0`)
1631
- `0'` - **Hardened Child** (index / starts at `2147483648`)
1732

18-
[1]: https://learnmeabitcoin.com/technical/derivation-paths "Derivation Paths, How HD wallets derive keys."
33+
### Part X: Obtaining an xpub
34+
35+
- https://github.com/bitcoin-core/HWI/blob/master/docs/examples.md
36+
37+
## Risks of Sharing
38+
39+
Do **NOT** share an xprv.
40+
41+
Sharing an xpub...
42+
43+
> If, and only if, the recipient *also* obtains a single private key from your wallet, the recipient can obtain all your private keys and steal your funds, just as if they had your xprv key.[^4]
44+
45+
[^1]: https://learnmeabitcoin.com/technical/derivation-paths "Derivation Paths, How HD wallets derive keys."
1946

47+
[^2]: https://bitcoin.stackexchange.com/a/95595 "Deconstructed utxo output descriptor"
48+
[^3]: https://en.bitcoin.it/wiki/BIP_0032 "BIP32"
49+
[^4]: https://en.bitcoin.it/wiki/Deterministic_wallet_tools#Risks_of_Sharing_an_Extended_Public_Key_.28xpub.29

0 commit comments

Comments
 (0)