Skip to content

@lelantos-org/sdk / internal / ReadOnlyWalletInternals

Interface: ReadOnlyWalletInternals ​

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:19

What a viewing-key wallet is built from.

Extended by ​

Properties ​

cache ​

ts
readonly cache: NoteCache;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:31

The in-memory note cache. Mutating it bypasses the wallet's locks.


file ​

ts
readonly file: NotesFile;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:33

The live notes file (notes and sync cursor).


J ​

ts
readonly J: Jubjub;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:21


keys ​

ts
readonly keys: 
  | ViewingKey
  | FullViewingKey;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:23

Raw key material: a viewing key of either tier.


noteSource ​

ts
readonly noteSource: NoteSource;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:25


noteStore ​

ts
readonly noteStore: NoteStore;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:24


nullifiers ​

ts
readonly nullifiers: NullifierMemo | undefined;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:29

Note id → nullifier; absent for an incoming-tier key.


nullifierStore ​

ts
readonly nullifierStore: NullifierStore;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:26


P ​

ts
readonly P: Poseidon;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:20


scanner ​

ts
readonly scanner: Scanner;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:27

Methods ​

reconcileSpentOnChain() ​

ts
reconcileSpentOnChain(): Promise<void>;

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:36

Mark notes whose nullifiers the mirrored spent set holds as spent.

Returns ​

Promise<void>


storedNotes() ​

ts
storedNotes(): readonly StoredNote[];

Defined in: @lelantos-org/sdk/dist/wallet/surface/internals.d.ts:34

Returns ​

readonly StoredNote[]