nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createNIP05Metadata

Function: createNIP05Metadata()

createNIP05Metadata(identifier, metadata): Record<string, unknown>

Creates metadata event with NIP-05 identifier

Parameters

identifier

string

Internet identifier

metadata

Record<string, unknown> = {}

Additional metadata

Returns

Record<string, unknown>

Metadata event content

Defined in

nips/nip-05.ts:101