nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / verifyNIP05Identifier

Function: verifyNIP05Identifier()

verifyNIP05Identifier(identifier, pubkey, logger): Promise<NIP05VerificationResult>

Verifies a NIP-05 identifier

Parameters

identifier

string

Internet identifier (user@domain.com)

pubkey

string

Public key to verify

logger

any

Logger instance

Returns

Promise<NIP05VerificationResult>

Verification result

Defined in

nips/nip-05.ts:34