Optional
disableQueue
disableQueue?: boolean
getPublicKey
getPublicKey: (() => string | Promise<string>)
Optional
getRelays
getRelays?: (() => Record<string, {
read: boolean;
write: boolean;
}> | Promise<Record<string, {
read: boolean;
write: boolean;
}>>)
Optional
name
name?: string
Optional
nip04
nip04?: {
decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
Optional
nip44
nip44?: {
decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
signEvent
signEvent: ((template: EventTemplate) => Event | Promise<Event>)