Skip to content

Commit

Permalink
remove NIP-04
Browse files Browse the repository at this point in the history
  • Loading branch information
gudnuf authored and Egge21M committed Oct 18, 2024
1 parent ec3bfa3 commit 0663344
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 18.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ Tags are an optional array of `[tag, value, value, ...]` tuples that can be used

- type: `nostr`
- target: `<nprofile>`
- tags: `[["n","04", "17"]]`
- tags: `[["n", "17"]]`

The `n` tag specifies the NIPs the receiver supports. At lease one type of Nostr direct message MUST be specified. For [NIP-04](https://github.com/nostr-protocol/nips/blob/master/04.md) and [NIP-17](https://github.com/nostr-protocol/nips/blob/master/17.md) direct messages, the sender sends a `PaymentRequestPayload` as the message content.
The `n` tag specifies the NIPs the receiver supports. At least one tag value MUST be specified. For [NIP-17](https://github.com/nostr-protocol/nips/blob/master/17.md) direct messages, the sender sends a `PaymentRequestPayload` as the message content.

Note that the use of NIP-04 direct messages is strongly discouraged, since it reveals metadata about sender and receiver public keys.
[NIP-04](https://github.com/nostr-protocol/nips/blob/master/04.md) SHOULDNT be used because it is deprecated and reveals metadata about sender and receiver public keys.

#### HTTP POST

Expand Down

0 comments on commit 0663344

Please sign in to comment.