What createSealedRatchetStorage needs.
const options: SealedRatchetStorageOptions = { storage: localStorage, signer: account, owner: account.pubkey }; Copy
const options: SealedRatchetStorageOptions = { storage: localStorage, signer: account, owner: account.pubkey };
Readonly
The account signer; every value is encrypted to owner with its nip44.
owner
nip44
What createSealedRatchetStorage needs.
Example