Skip to content

Function: pasteKeySource()

pasteKeySource(storage?, options?): KeySource

Defined in: packages/aiui-oracle/src/keys.ts:90

The user's own key, from localStorage (the OracleKey widget writes the same slot — and the slot is ORIGIN-wide, so in a composed document one paste covers every app). Read at connect time, so pasting a new key needs no reload. In the standard chain this TRUMPS everything.

Parameters

storage?

Pick<Storage, "getItem"> = localStorage

options?

MintOptions = {}

Returns

KeySource