mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-12-09 00:28:51 +00:00
Compare commits
1 Commits
nchat
...
nip13-pow-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2f6988c78 |
7
17.md
7
17.md
@@ -102,7 +102,7 @@ Clients SHOULD publish kind `14` events to the `10050`-listed relays. If that is
|
||||
|
||||
## Relays
|
||||
|
||||
It's advisable that relays do not serve `kind:1059` to clients other than the ones tagged in them.
|
||||
It's advisable that relays do not serve `kind:14` to clients other than the ones tagged in them.
|
||||
|
||||
It's advisable that users choose relays that conform to these practices.
|
||||
|
||||
@@ -123,11 +123,6 @@ This NIP offers the following privacy and security features:
|
||||
|
||||
The main limitation of this approach is having to send a separate encrypted event to each receiver. Group chats with more than 100 participants should find a more suitable messaging scheme.
|
||||
|
||||
## NIP-19 entity
|
||||
To create an `nchat` link:
|
||||
- `kind`: `17`
|
||||
- `special`: one or more pubkeys concatenated
|
||||
|
||||
## Implementation
|
||||
|
||||
Clients implementing this NIP should by default only connect to the set of relays found in their `kind:10050` list. From that they should be able to load all messages both sent and received as well as get new live updates, making it for a very simple and lightweight implementation that should be fast.
|
||||
|
||||
3
19.md
3
19.md
@@ -36,7 +36,6 @@ These are the possible bech32 prefixes with `TLV`:
|
||||
- `nevent`: a nostr event
|
||||
- `naddr`: a nostr _replaceable event_ coordinate
|
||||
- `nrelay`: a nostr relay (deprecated)
|
||||
- `nchat`: a nostr chat conversation
|
||||
|
||||
These possible standardized `TLV` types are indicated here:
|
||||
|
||||
@@ -45,7 +44,6 @@ These possible standardized `TLV` types are indicated here:
|
||||
- for `nprofile` it will be the 32 bytes of the profile public key
|
||||
- for `nevent` it will be the 32 bytes of the event id
|
||||
- for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For normal replaceable events use an empty string.
|
||||
- for `nchat`, see chat nip for details.
|
||||
- `1`: `relay`
|
||||
- for `nprofile`, `nevent` and `naddr`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii
|
||||
- this may be included multiple times
|
||||
@@ -55,7 +53,6 @@ These possible standardized `TLV` types are indicated here:
|
||||
- `3`: `kind`
|
||||
- for `naddr`, the 32-bit unsigned integer of the kind, big-endian
|
||||
- for `nevent`, _optionally_, the 32-bit unsigned integer of the kind, big-endian
|
||||
- for `nchat`, the NIP number of the chat.
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
5
28.md
5
28.md
@@ -133,11 +133,6 @@ Clients MAY hide event 42s for users other than the user who sent the event 44.
|
||||
}
|
||||
```
|
||||
|
||||
## NIP-19 entity
|
||||
To create an `nchat` link:
|
||||
- `kind`: `28`
|
||||
- `special`: `id` from `kind: 40`
|
||||
|
||||
## Relay recommendations
|
||||
|
||||
Clients SHOULD use the relay URLs of the metadata events.
|
||||
|
||||
@@ -5,7 +5,6 @@ reverse chronological order.
|
||||
|
||||
| Date | Commit | NIP | Change |
|
||||
| ----------- | --------- | -------- | ------ |
|
||||
| 2024-08-18 | [3aff37bd](https://github.com/nostr-protocol/nips/commit/3aff37bd) | [NIP-54](54.md) | content should be Asciidoc |
|
||||
| 2024-07-31 | [3ea2f1a4](https://github.com/nostr-protocol/nips/commit/3ea2f1a4) | [NIP-45](45.md) | [444ad28d](https://github.com/nostr-protocol/nips/commit/444ad28d) was reverted |
|
||||
| 2024-07-30 | [444ad28d](https://github.com/nostr-protocol/nips/commit/444ad28d) | [NIP-45](45.md) | NIP-45 was deprecated |
|
||||
| 2024-07-26 | [ecee40df](https://github.com/nostr-protocol/nips/commit/ecee40df) | [NIP-19](19.md) | `nrelay` was deprecated |
|
||||
@@ -48,7 +47,6 @@ reverse chronological order.
|
||||
| 2023-06-18 | [83cbd3e1](https://github.com/nostr-protocol/nips/commit/83cbd3e1) | [NIP-11](11.md) | 'image' was renamed to 'icon' |
|
||||
| 2023-04-13 | [bf0a0da6](https://github.com/nostr-protocol/nips/commit/bf0a0da6) | [NIP-15](15.md) | different NIP was re-added as NIP-15 |
|
||||
| 2023-04-09 | [fb5b7c73](https://github.com/nostr-protocol/nips/commit/fb5b7c73) | [NIP-15](15.md) | NIP-15 was merged into NIP-01 |
|
||||
| 2023-03-29 | [599e1313](https://github.com/nostr-protocol/nips/commit/599e1313) | [NIP-18](18.md) | NIP-18 was bring back |
|
||||
| 2023-03-15 | [e1004d3d](https://github.com/nostr-protocol/nips/commit/e1004d3d) | [NIP-19](19.md) | `1: relay` was changed to optionally |
|
||||
|
||||
Breaking changes prior to 2023-03-01 are not yet documented.
|
||||
|
||||
Reference in New Issue
Block a user