Update 108.md

NIP-104 uses the user's sk and the gate note creator's pk

Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
This commit is contained in:
Christian Krueger 2023-10-19 09:52:33 -06:00 committed by GitHub
parent 1ab71fd083
commit 5b501c0ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
108.md
View File

@ -113,7 +113,7 @@ APP.get("/:noteId/:paymentHash")
`kind:56` `kind:56`
`.content` the `secret` encrypted via [NIP-04](https://github.com/nostr-protocol/nips/blob/master/04.md)'s encrypt function between the gated note's creator's pubkey and your pubkey. `.content` the `secret` encrypted via [NIP-04](https://github.com/nostr-protocol/nips/blob/master/04.md)'s encrypt function between the gated note's creator's pubkey and your prikey.
`.tag` MUST include the following: `.tag` MUST include the following: