Paso 1 de 4
name y display_name
name es el alias corto y siempre debería estar definido. display_name es un nombre más largo que puede usar cualquier carácter y emoji.
NIP-24
BorradorEventos
Un catálogo de extras muy usados que ningún otro NIP define: campos de perfil como display_name, website, banner, bot y birthday, más los tags genéricos r, i, title y t.
Edita el formulario o el JSON: ambos se mantienen sincronizados, la insignia indica si el resultado es válido y, al tocar cualquier campo, se explica qué hace.
Aún sin firmar · Solo claves de demo. Las claves secretas de estos personajes son públicas a propósito.
Selecciona cualquier campo del formulario o del JSON para ver qué hace.
Paso 1 de 4
name es el alias corto y siempre debería estar definido. display_name es un nombre más largo que puede usar cualquier carácter y emoji.
Ningún capítulo del curso cubre este NIP todavía. El editor de arriba es la forma más rápida de empezar.
Los metadatos de perfil kind 0 se definen en NIP-01; NIP-24 les añade campos.
Las listas de seguidos kind 3 se definen en NIP-02.
Las listas de relays kind 10002 de NIP-65 reemplazan el mapa de relays en el content del kind 3.
El tag i lleva ids de contenido externo de NIP-73.
El texto de las especificaciones se cita en inglés del repositorio nostr-protocol/nips. Nuestras explicaciones y la interfaz están traducidas. Código fuente en GitHub en el commit 0046368
This NIP keeps track of extra optional fields that can added to events which are not defined anywhere else but have become de facto standards and other minor implementation possibilities that do not deserve their own NIP and do not have a place in other NIPs.
These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events:
display_name: an alternative, bigger name with richer characters than name. name should always be set regardless of the presence of display_name in the metadata.website: a web URL related in any way to the event author.banner: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen.bot: a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds.birthday: an object representing the author's birth date. The format is { "year": number, "month": number, "day": number }. Each field MAY be omitted.These are fields that should be ignored or removed when found in the wild:
displayName: use display_name instead.username: use name instead.These are extra fields not specified in NIP-02 that may be present in the stringified JSON of follow events:
{<relay-url>: {"read": <true|false>, "write": <true|false>}, ...}: an object of relays used by a user to read/write. NIP-65 should be used instead.These tags may be present in multiple event kinds. Whenever a different meaning is not specified by some more specific NIP, they have the following meanings: