@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Interface WalletStateCipher

    The authenticated boundary in front of the store. open must refuse a sealed snapshot it did not seal for the same wallet, a store that can be modified would otherwise advance the persisted checkpoints past owned history. walletSnapshotCipher is the shipped implementation.

    interface WalletStateCipher {
        seal(snapshot: string): Promise<string>;
        open(sealed: string): Promise<string>;
    }
    Index
    • Parameters

      • snapshot: string

      Returns Promise<string>

    • Parameters

      • sealed: string

      Returns Promise<string>