Documentation
    Preparing search index...

    Interface MockAccount

    A named mock account.

    const alice = MOCK_ACCOUNTS[0];
    alice.pubkey.length === 64;
    interface MockAccount {
        about: string;
        displayName: string;
        name: string;
        pubkey: string;
        readRelays: readonly string[];
        writeRelays: readonly string[];
    }
    Index

    Properties

    about: string

    Kind-0 about text.

    displayName: string

    Kind-0 display name.

    name: string

    Short handle, e.g. alice.

    pubkey: string

    Deterministic 64-hex pubkey.

    readRelays: readonly string[]

    Relays this account reads from (NIP-65).

    writeRelays: readonly string[]

    Relays this account writes to (NIP-65).