Optionaloptions: SessionKeyWalletPluginOptions | SessionKeyWalletPluginRestoreOptionsReadonlyconfigThe [[SessionKit]] configuration parameters for this [[WalletPlugin]].
ReadonlyidReadonlymetadataThe metadata for the [[WalletPlugin]] itself.
OptionaltranslationsAny translations this plugin requires
A method to return the data that needs to persist for the plguin - Used in serialization
A method to return the data that needs to persist for the plguin - Used in serialization
Check if all actions in a transaction are whitelisted.
Array of actions to check
True if all actions are whitelisted
Return a copy of this [[WalletPlugin]] with its own session data.
Get the primary wallet that this session key wallet wraps.
The primary wallet plugin
Get the public key of the session key.
The public key as a string
Get the whitelist of contracts and actions this session key can sign.
Array of whitelist entries
Check if an action is whitelisted for signing with the session key.
The action to check
True if the action is whitelisted
Request the [[WalletPlugin]] to log in a user and return a [[WalletPluginLoginResponse]].
The [[LoginContext]] for the [[WalletPlugin]] to use.
Optional method that is used to signal to the wallet plugin to logout the user.
A promise that resolves when the wallet plugin logout process is complete.
Serialize the [[WalletPlugin]] ID and data into a plain object.
Requests the [[WalletPlugin]] to sign a transaction and return a [[WalletPluginSignResponse]]]
The transaction to sign.
The [[TransactContext]] for the [[WalletPlugin]] to use.
Wallet plugin that wraps a primary wallet and routes transactions based on whitelist. Whitelisted actions are signed with the session key, others fall back to primary wallet.