SelectedWalletAccountContextProvider

function SelectedWalletAccountContextProvider(children): Element;

Saves the selected wallet account's storage key to a persistant storage. In future sessions it will try to return that same wallet account, or at least one from the same brand of wallet if the wallet from which it came is still in the Wallet Standard registry.

Parameters

ParameterTypeDescription
childrenSelectedWalletAccountContextProviderPropsThe child components that will have access to the selected wallet account context

Returns

Element

A React component that provides the selected wallet account context to its children

On this page