• Asynchronously tries to verify NIP05.

    Parameters

    • nip05: string

      The nip05 string.

    • publicKey: string

      The public key string to verify against.

    • timeout: number = 1000

      The fetch timeout in milliseconds (Optional).

    Returns Promise<boolean>

    - A promise that resolves to a boolean that indicates if the nip05 has been verified.

    Async

    Example

    const isNip05Verified = await isNip05Verified(alice@smartvaults.app, aliciesPublicKey);
    

Generated using TypeDoc