Skip to Content

seedEncryptionKeys

seedEncryptionKeys(address: string, keys: object): void

Defined in: src/react/useEncryption.ts:684 

Seed (or merge) raw key hex into the in-memory store without signing.

Used by platform polyfills that hydrate from SecureStore / keychain where one version may be missing — callers must not require both versions to exist before the other becomes usable (#561).

Existing versions are preserved when the corresponding argument is omitted. Pass an explicit empty merge is not supported; omit the field to leave it.

Each provided key must be 64 hex characters (32-byte AES key).

Parameters

ParameterType

address

string

keys

object

keys.current?

string

keys.legacy?

string

Returns

void

Last updated on