Skip to content

Add sticker pack kinds 10031 and 30031 to Event Kinds table#2410

Open
vincenzopalazzo wants to merge 1 commit into
nostr-protocol:masterfrom
vincenzopalazzo:add-sticker-kinds-10031-30031
Open

Add sticker pack kinds 10031 and 30031 to Event Kinds table#2410
vincenzopalazzo wants to merge 1 commit into
nostr-protocol:masterfrom
vincenzopalazzo:add-sticker-kinds-10031-30031

Conversation

@vincenzopalazzo

Copy link
Copy Markdown

Summary

Registers two event kinds used by the open sticker-pack directory specified in Sonar Stickers:

kind description range
30031 Sticker packs addressable (3000039999)
10031 User sticker pack list replaceable (1000019999)

These deliberately sit one slot above the NIP-51 / NIP-30 custom-emoji kinds 30030 (emoji set) and 10030 (user emoji list). Stickers reuse a similar event shape (title / image / description / emoji tags on the pack, a-tag pointers on the list) but must not collide with emoji kinds, or clients would parse sticker packs as emoji sets and installed-pack lists as emoji lists.

Spec highlights

  • Pack format marker: sonar-sticker-pack-v1 (pack_format tag + recommended t discovery tag)
  • Sticker image bytes live on HTTPS Blossom-compatible servers; events carry sticker tags with shortcode, URL, sha256, MIME, optional dim/alt/emoji
  • Sent sticker references include the plaintext hash so edited addressable packs cannot silently change old messages
  • Full format: https://sonarprivacy.xyz/docs/#SONAR-STICKERS (source: SONAR-STICKERS.md)

Related

Notes

This only extends the Event Kinds index in the README (with an external-spec reference, same pattern as Marmot / NKBIP / joinstr). A full NIP document can follow once multiple independent clients implement the format.

Reserve kinds used by the Sonar sticker-pack directory (and reusable by
any Nostr client):

- 30031: addressable sticker pack (sits above emoji set 30030)
- 10031: replaceable user installed-pack list (sits above user emoji list 10030)

Spec: https://sonarprivacy.xyz/docs/#SONAR-STICKERS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant