doc: reorder

This commit is contained in:
Vlad Stan 2023-04-10 11:57:09 +03:00 committed by GitHub
parent 7f7b8b3b7a
commit 1bb4c12707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
704.md
View File

@ -30,8 +30,9 @@ m / purpose' / conin_type' / part1' / part2' / ... / part8'
- this NIP defines the `purpose` `25709'` (`dm` -> `0x646d` -> `25709`) for deriving `Direct Messages` related keys
- nostr `coin_type'` is `1237'` (see [NIP-06](https://github.com/nostr-protocol/nips/blob/master/06.md))
- `part1' / part2' / ... / part8'` is the public key hex string (of the peer) split in 8 chunks:
- the reason for splitting is that each level of the path can have a max value of 2<sup>32</sup>-1
- the reason for using the peer's (`Bob`) public key is to always arive at the same value even if prio state is lost
- the reason for splitting the public key is that each level of the path can have a max value of 2<sup>32</sup>-1
<details>
<summary><b>Example</b></summary>