Skip to content
docs

KeyringState

Defined in: keyring.ts:97

Everything the keyring stores through KeyringStorage: sources, accounts and the active account. Contains no secrets.

accounts: AccountMeta[]

Defined in: keyring.ts:103

Every account, hidden ones included.


activeAccountId: string | null

Defined in: keyring.ts:105

The account the app shows, or null when there is none.


optional pendingSecretDeletes?: string[]

Defined in: keyring.ts:110

Removed sources whose secret is not deleted yet. removeSource writes the id here first, so a failed or interrupted delete is finished on the next Keyring.load.


sources: SourceMeta[]

Defined in: keyring.ts:101

Every key source.


version: 1

Defined in: keyring.ts:99

Format version; Keyring.load refuses any other.