@argantom/argantom
    Preparing search index...

    Interface BackStore

    A backing store capable of persisting encrypted account and ledger info.

    interface BackStore {
        del(key: string): Promise<void>;
        get(key: string): Promise<Uint8Array<ArrayBuffer> | null>;
        list(): Promise<string[]>;
        set(key: string, val: Uint8Array<ArrayBuffer>): Promise<void>;
    }

    Implemented by

    Index

    Methods

    Methods

    • Delete an item from the store.

      Parameters

      • key: string

      Returns Promise<void>

    • Get an item from the store.

      Parameters

      • key: string

      Returns Promise<Uint8Array<ArrayBuffer> | null>

    • List items in the store.

      Returns Promise<string[]>

    • Set an item in the store.

      Parameters

      • key: string
      • val: Uint8Array<ArrayBuffer>

      Returns Promise<void>