Update 704.md

This commit is contained in:
Vlad Stan 2023-04-10 17:04:02 +03:00 committed by GitHub
parent 0d66a29bde
commit 8d1fc60a9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
704.md
View File

@ -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: