the Profil

the Profil

profile

The profile is a basic resource; it describes the account, the group, and the project.

profil content:

user metadata: the content is set to a stringified JSON object {name: , about: , picture: } describing the user who created the event. Extra metadata fields may be set. A relay may delete older events once it gets a new one for the same pubkey.

example:

{
    "id": "7977aa2147b03bfff94a321e49d471f855ff212a1ede21dfed0fedaefdca746c",
    "pubkey": "2ff035cfc68b23a31528711487466bd318589e0cc402090489a68e4ddcfd5faa",
    "created_at": 1758738187,
    "kind": 0,
    "tags": [],
    "content": "{\"name\":\"AccountExample\",\"about\":\"This account describes an group or an organisation. It is an example of what can be done with NOSTR to provide a censorship resitence presence.\\nThere can be many lines.\\n\",\"picture\":\"https://derkueken.de/account-example/raster-picture.png\",\"display_name\":\"i'm an account example\",\"website\":\"https://derkueken.de\",\"banner\":\"https://derkueken.de/account-example/rastergrafik.png\"}",
    "sig": "d002b363ed852f4e22b4fdd9ecff23cd7feb801f584c81afe5617975f94ee423b3d32ff1e7715f46d53efd3b864d54688f139f03077aad48269cec8c1e598080"
}

Fields:

  • name:
  • 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
  • about:
  • picture:
  • website: website
  • banner: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen.

NOSTR specific:

Additional fields: NIP24

  • 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.

External Identities in Profiles:

NIP39

"tags": [
    ["i", "github:semisol", "9721ce4ee4fceb91c9711ca2a6c9a5ab"],
    ["i", "twitter:semisol_public", "1619358434134196225"],
    ["i", "mastodon:bitcoinhackers.org/@semisol", "109775066355589974"]
    ["i", "telegram:1087295469", "nostrdirectory/770"]
],

nessesary lists

  • Relay List Metadata - To define the relays the group publishes to.
  • interests - a list of tag
  • following - a list of public keys to follow
This post and comments are published on Nostr.