upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/06.md
diff options
context:
space:
mode:
authorSeth For Privacy <github.5dbwg@simplelogin.com>2023-04-04 14:11:50 -0400
committerGitHub <noreply@github.com>2023-04-04 14:11:50 -0400
commit59e51957842a46838901c5e48242cd3a9cfd3185 (patch)
tree6ef8b07cd9d65a5ea72e8825235b50ed28fa1d8a /06.md
parentc6e14c808775ec6ca0a721fe273b4de7124dd143 (diff)
Use account instead of address_index
Diffstat (limited to '06.md')
-rw-r--r--06.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/06.md b/06.md
index b731c49..4ae571f 100644
--- a/06.md
+++ b/06.md
@@ -8,8 +8,8 @@ Basic key derivation from mnemonic seed phrase
8 8
9[BIP39](https://bips.xyz/39) is used to generate mnemonic seed words and derive a binary seed from them. 9[BIP39](https://bips.xyz/39) is used to generate mnemonic seed words and derive a binary seed from them.
10 10
11[BIP32](https://bips.xyz/32) is used to derive the path `m/44'/1237'/0'/0/<address_index>` (according to the Nostr entry on [SLIP44](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)). 11[BIP32](https://bips.xyz/32) is used to derive the path `m/44'/1237'/<account>'/0/0` (according to the Nostr entry on [SLIP44](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)).
12 12
13A basic client can simply use an `address_index` of `0` to derive a single key. For more advanced use-cases you can increment `address_index`, allowing generation of practically infinite keys from the 5-level path. 13A basic client can simply use an `account` of `0` to derive a single key. For more advanced use-cases you can increment `account`, allowing generation of practically infinite keys from the 5-level path with hardened derivation.
14 14
15Other types of clients can still get fancy and use other derivation paths for their own other purposes. 15Other types of clients can still get fancy and use other derivation paths for their own other purposes.