Nostr archive

NIP-94: File Metadata

A Crays archive page for NIP-94, explaining what it does, where it fits in Nostr and why it matters for identity, apps, relays and real-world systems.

NIP-94 defines a file metadata event that lets Nostr clients reference uploaded files with hashes, MIME types and descriptive tags.

What it standardizes

It supports media sharing, file organization and verification without assuming that relays themselves store the actual file bytes.

  • Protocol layer. NIP-94 is not a consumer product. It is a convention that clients, relays or adjacent services may choose to support.
  • Interoperability. The value is not that every app looks the same. The value is that different apps can understand the same signed data.
  • Optionality. NIPs are implementation possibilities. Builders should implement the pieces that serve their product, security model and user journey.

Implementation notes

Clients can publish metadata about where a file can be downloaded, what type it is and what hash verifies it.

  • Client responsibility. Clients need to explain the feature clearly because the user sees an experience, not a spec.
  • Relay responsibility. Relays may support only the parts that fit their storage, moderation, authentication and business model.
  • Indexing responsibility. Search, discovery and context often require extra indexers or opinionated clients on top of the raw protocol.

Crays relevance

Crays can use file metadata for creator media, venue documents, event assets, content previews and verification of shared material.

  • Crays.net. Profiles, creator pages and social proof need portable identity rather than a closed account table.
  • Crays World. Real venues need local context, member state, reputation and payments that can survive app changes.
  • DAO path. Future governance needs signed identity, membership context and auditable participation signals.

Risks and design discipline

File hosting still requires storage, moderation, copyright handling, malware screening and privacy rules.

  • Do not overpromise. A NIP gives a shared format. It does not magically solve onboarding, moderation, UX or custody.
  • Keep the private key away. Any feature that increases private-key exposure increases the attack surface.
  • Use plain language. Most users need outcomes: login, pay, publish, vote, prove status, access a venue.
Back to the Crays Nostr page