mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
doc: stuff
This commit is contained in:
parent
1bb4c12707
commit
d4324ca13a
7
704.md
7
704.md
|
@ -36,7 +36,7 @@ m / purpose' / conin_type' / part1' / part2' / ... / part8'
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><b>Example</b></summary>
|
<summary><b>Example</b></summary>
|
||||||
For example, if Alice wants to build its <code>dm parent key</code> for Bob she has to:
|
If Alice wants to build he <code>dm parent key</code> for Bob then she has to:
|
||||||
<ul>
|
<ul>
|
||||||
<li>get the public key of `Bob` (in hex). Eg: <code>3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d</code></li>
|
<li>get the public key of `Bob` (in hex). Eg: <code>3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d</code></li>
|
||||||
<li>split the public key hex string in 8 chunks:</li>
|
<li>split the public key hex string in 8 chunks:</li>
|
||||||
|
@ -45,7 +45,10 @@ For example, if Alice wants to build its <code>dm parent key</code> for Bob she
|
||||||
</ul>
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
dm/<action>/index
|
We notate the above derived `direct message public key` with `dmpk`.
|
||||||
|
|
||||||
|
`dmpk/<action>/index`
|
||||||
|
|
||||||
send, receive, marketplace
|
send, receive, marketplace
|
||||||
|
|
||||||
## Exchange the `direct message parent key`
|
## Exchange the `direct message parent key`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user