Skip to content

Kind 10019: Nutzap Informational

Overview

Nutzap Informational events (Kind 10019) specify the configuration a user requires to receive Nutzaps, which are P2PK Cashu tokens used for Nostr-native payments. This event indicates the mints a user trusts, the relays where they'll read token events from, and the public key that should be used to P2PK-lock receiving Nutzaps.

Specification

PropertyValue
Kind Number10019
Event RangeReplaceable
Defined inNIP-61

Content Format

The content field is not specified in NIP-61 and is presumably empty or unused for this event kind.

Tags

Tag NameDescriptionFormatRequired
relayRelays where the user will read token events from["relay", "<relay-url>"]Yes
mintMints the user explicitly agrees to use to receive funds["mint", "<mint-url>", "<optional-base-unit-1>", "<optional-base-unit-2>"]Yes
pubkeyPublic key that MUST be used to P2PK-lock receiving Nutzaps["pubkey", "<p2pk-pubkey>"]Yes

Client Behavior

Clients should:

  1. Publish this event to allow others to send Nutzaps to the user
  2. Ensure the pubkey specified is not the user's main Nostr public key, but corresponds to the privkey field encrypted in a user's NIP-60 wallet event
  3. List only mints that support NUT-11 (P2PK) and NUT-12 (DLEQ proofs)
  4. Normalize and deduplicate mint URLs as described in NIP-65

Relay Behavior

Relays simply store and serve these events, with no special behavior required.

Use Cases

  • Advertising capability and configuration for receiving Nutzaps (P2PK Cashu tokens)
  • Specifying trusted mints for ecash transactions
  • Establishing a secure payment channel through Nostr

Example

json
{
  "id": "fa0f1a8d56ee95a3312c8252bb935d4e9822b3fa869d5c944b4bbf234037fbcf",
  "pubkey": "a48380f4cfcc1ad5378294fcac36439770f9c878dd880ffa94bb74ea54a6f243",
  "created_at": 1683121234,
  "kind": 10019,
  "tags": [
    ["relay", "wss://relay1.example.com"],
    ["relay", "wss://relay2.example.com"],
    ["mint", "https://mint1.example.com", "usd", "sat"],
    ["mint", "https://mint2.example.com", "sat"],
    ["pubkey", "02eaee8939e3565e48cc62967e2fde9d8e2a4b3ec0081f29eceff5c64ef10ac1ed"]
  ],
  "content": "",
  "sig": "37c0598e112963610c6621bc557fe76801012c00db3a6b73b7826b9715abf910de336e37c8a078e0d78faf189e0b87454de14b69b46d8e3d7b9d3cfc29c53e70"
}

References

Notes

  • The pubkey specified in this event MUST NOT be the user's main Nostr public key
  • Clients should guide users to only use mints that support P2PK (NUT-11) and DLEQ proofs (NUT-12)
  • Mint URLs should be normalized and deduplicated according to NIP-65 guidance