das Profil

das Profil

das Profil

Das Profil ist eine basis resource, es beschreibt den Account, die Gruppe, das Vorhaben.

Profil Inhalt:

Benutzer-Metadaten: Der Inhalt wird auf ein stringifiziertes JSON-Objekt {name: <Spitzname oder vollständiger Name>, about: , picture: } gesetzt, das den Benutzer beschreibt, der das Ereignis erstellt hat. Es können zusätzliche Metadatenfelder festgelegt werden. Ein Relay kann ältere Ereignisse löschen, sobald es ein neues für denselben öffentlichen Schlüssel erhält.

Beispiel:

{
"content": "{\"name\":\"AccountExample No.3\",\"about\":\"The description of an example as an example.  \\nThe example describes how a group can be managed in NOSTR, what kind of Data you need, what you can do with it and how. The profile creator can be a tool in this work flow.\\n\\nThis account describes an group or an organization. It is an example of what can be done with NOSTR to provide a censorship residence presence.\\nLaws may change and what was formerly accepted can be illegal tomorrow or even today.\\nMaybe tomorrow it is not longer allowed to show how to build a censorship residence presence in the Internet because censorship take place. \\n\",\"picture\":\"https://derkueken.de/account-example/raster-picture.png\",\"display_name\":\"i'm an account example No.3\",\"website\":\"https://accountexample-no-3.npub.pro/\",\"banner\":\"https://derkueken.de/account-example/rastergrafik.png\",\"lud16\":\"accountexample1@getalby.com\"}",
"created_at": 1761034263,
"id": "863cfc5ff1fca31edb560a57a70c3d29daeec3f4461baa9e75437b9d78ba6202",
"kind": 0,
"pubkey": "ec958f133faae0d4382fc446828650dfe8e461eefff5bc40f408dee1d55c7009",
"sig": "56139fbee3321d8ff8077a17306e1d0e829d3d78912ad0b62885d582f7d9a67f03ac6df663f144e2ed5e85eacdce1820706df6d8696cc633cc071d1af356d428",
"tags": [
    [
    "i",
    "fid1",
    "a proof"
    ],
    [
    "i",
    "fid2",
    "second proof"
    ]
]
}

Felder:

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

Einige clienten benutzen name Andere display_name.

NOSTR spezifisch:

Zusätzliche Felder: NIP24

  • bot: Ein boolescher Wert, um zu verdeutlichen, dass der Inhalt ganz oder teilweise das Ergebnis einer Automatisierung ist, beispielsweise durch Chatbots oder Newsfeeds.
  • birthday: Ein Objekt, das das Geburtsdatum des Autors angibt. Das Format lautet { „year“: Zahl, „month“: Zahl, „day“: Zahl }. Jedes Feld KANN weggelassen werden.

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"]
],

notwenige Listen

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