mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Update 704.md
This commit is contained in:
parent
0d66a29bde
commit
8d1fc60a9a
2
704.md
2
704.md
|
@ -57,7 +57,7 @@ We notate the above derived `direct-message parent key` with `dmpk`. Then we ca
|
|||
|
||||
The client (creator of the `dmpk`) must:
|
||||
- use a new send key (`dmpk/1/<index>`) for each event it signs. It starts from `0` and increments after an event is signed.
|
||||
- create filters for the public keys it expects to receive messages to (`dmpk/2/<index>`). It is recommended to listen for the next `10` keys and increment the index once a key is used (see [BIP-44 address gap logic](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#user-content-Address_gap_limit)).
|
||||
- create filters for the public keys it expects to receive messages to (`dmpk/2/<index>`). It is recommended to listen for the next `10` public keys and increment the index once a key is used (see [BIP-44 address gap logic](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#user-content-Address_gap_limit)).
|
||||
|
||||
## Exchange the `direct-message parent key`
|
||||
If `Alice` wants to signal `Bob` that she is ready to use this NIP (for more privacy) she must:
|
||||
|
|
Loading…
Reference in New Issue
Block a user