Update nip-94 change replaceable to addressable

This commit is contained in:
haorendashu 2024-10-11 19:02:13 +08:00 committed by GitHub
parent 7202571a17
commit 8e14c531bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
94.md
View File

@ -58,7 +58,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
* A simple way to distribute configurations and software updates.
* Use as a movable media for notes.
1. Clients upload a file to media service and get a file link and other file infomations.
2. Clients send a File Metadata event and this event must contain a ```d``` tag, it means that this event is replacable.
2. Clients send a File Metadata event and this event must contain a ```d``` tag, it means that this event is addressable.
3. If a client want to sends notes with this file, it should imports this event with ```nostr:naddr``` style uri.
4. When other clients vist a note with kind 1063 naddr style uri, it should find this event and display it like a normal media file.
5. If this file's owner want to change the media service, he can upload this file to other media service and resend a File Metadata event with the same ```d``` tag.