SNIP-01: Minecraft Authentication

covers13378008

⚡tephen

published

draft optional

This SNIP defines kind:13378008: an event used to associate a Nostr pubkey with a Minecraft username. It enables identity linking and potential authentication/authorization workflows for Minecraft servers or clients integrated with Nostr.

Motivation

Logging into Minecraft using nostr?! 😂

Prerequisites

This SNIP relies on NIP-78

  • "d" — Used as a unique identifier for this type of metadata. Must be "mcauth" for this SNIP to apply.
Example NIP-78 Event
{
    "kind": 30078,
    "id": "df4e3ba0c3210de6211b20edc5f41b96a1e3245c01041b2a34f8b08bb9f08079",
    "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    "created_at": 1746975750,
    "tags": [
        [
            "d",
            "mcauth"
        ]
    ],
    "content": "minecraft username goes here",
    "sig": "4292c5c871277766919e23a895720194a13c66c34b5788f3392bccfda30670c99b93c7d0402807c90cf33a955250644cb2c1b5c5865e9c6fdacbff8a8d863191"
}

Content

The .content field MUST contain the Minecraft username in plain text.

Tags

  • "d" — Used as a unique identifier for this type of metadata. Must be "mcauth" for this SNIP to apply.

Author

The .pubkey field is treated as the Nostr user claiming the Minecraft username.

Example Event

{
    "kind": 13378008,
    "id": "de6c00deab6bbee2eef61d8192fe923c78da9d2fcc6bb16fd80c41e50c7835ff",
    "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
    "created_at": 1746975382,
    "tags": [
        [
            "d",
            "mcauth"
        ]
    ],
    "content": "minecraft username goes here",
    "sig": "15809b3ecc2cd281d03381d3a26e7d8b5087117023094705bcaf967bf2364de29e5179cfcfecf65b62175c1d91892f5ad38685a70ce8d4f23cc4b5726200a6fb"
}

Discussion

2 comments · 2 correspondents · since 2026-02-11

Connect a key to comment.