SNIP-04: Genesis Event Declaration
draft optional
This SNIP defines a new tag for kind:0 metadata events to let users declare their genesis event — the post they personally identify as their origin on Nostr — using an oc (origin claim) tag.
Motivation
Nostr users may wish to designate a particular event (typically a kind:1) as their personal "first post" or entry into the network — whether or not it was chronologically first. This can be used for:
- Self-declared "first contact"
- Collectible or commemorative events
- Badging and profile display
- Historical timeline anchoring
Unlike i tags (which are reserved for external identities in NIP-39), the oc tag is meant for internal references to other Nostr events.
Tag Format
["oc", "<eventid>", "<relay_url>"]
<eventid>— The hex-encoded ID of the event the user claims as their genesis<relay_url>— (mandatory) A relay URL hint where the event may be found
Example
First Post
{
"kind": 1,
"id": "14a9e08c0871512b8f42611b74ee99c86688f3a5b49ed6f3bf9e5fc47f6aa3ce",
"pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
"created_at": 1747505218,
"tags": [],
"content": "My first post",
"sig": "5fddbbd1d00dbaa9fac1d236640db11b49644d5d845927fd7afdc547aaa351a91ed530b9a5cd05df2694c7b0419919640ef1a3ce53b0eaad3d31afd769b96083"
}
OC Claim
{
"kind": 0,
"id": "5eba233afebbe11fb5c90e9fcccade5a1318c445b47b0ec747178368c10f5114",
"pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
"created_at": 1747505535,
"tags": [
[
"oc",
"14a9e08c0871512b8f42611b74ee99c86688f3a5b49ed6f3bf9e5fc47f6aa3ce",
"ws://localhost:10547"
]
],
"content": "{\"name\":\"Test Name\",\"about\":\"I like turtles\"}",
"sig": "f07331ff1bdb2a2a4a07212acd164620bed557420cdc75bcd5485358050995f98345d922fbc2c885cc1f74d87cefea15c7cd9f5fc6fd71f08d4baf7c8e26b188"
}
Rules and Recommendations
Clients SHOULD:
- Validate that the referenced event exists
- Verify the event was authored by the same pubkey as the metadata
- Use the relay hint if provided, but also try public/default relays
- Display the origin event prominently (e.g., "Joined Nostr with this post")
Clients MAY:
- Allow users to filter feeds to show only genesis posts
- Render a badge or "since" indicator on the user's profile
Rationale for the oc Tag
This avoids reusing the i tag meant for external services and introduces a semantic tag for internal content referencing. It may later be extended for use in other kinds (e.g., project origin, thread origin, etc.).
Future Extensions
- Standardizing origin events for projects, groups, or protocol announcements
- Time-anchored genesis events for audit trails or discovery features (badges? BADGES!)
Cited links
Discussion
Connect a key to comment.