Add nfile - #899
Conversation
| - for `nevent` it will be the 32 bytes of the event id | ||
| - for `nrelay`, this is the relay URL | ||
| - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For non-parameterized replaceable events, use an empty string. | ||
| - for `nfile`, it is the "original hash" (`ox` from NIP 95) of the file being referenced. |
|
NIP-96 has So which url of these two below do you think should be inside the
For the NIP-94 |
|
The way NIPs 94/96 are written, it's hard to point to a "host" without coupling to it. What I'm proposing is that |
|
With nip95 one would search by While nip96 idea was to If you already have a bunch of fully-resolved download urls there isn't much need for the |
This would allow you to still dereference the hash and find the image if all alt urls in the nfile are dead, and the image has been replicated to another host. I am starting to feel like nips 94/95/96 need to be combined into a single NIP that operates based on the same mental model. I feel like there are many conflicting visions here. |
|
An alternative approach, that actually exists in the wild: #904 |
This adds a new entity that points to a static file hosted at one or more urls.