AutoConnect
AutoConnect last connected wallet on page reload or revisit.
Note: If you are using ConnectButton
or ConnectEmbed
components, You don't need to use this component as it is already included.
This is useful if you are manually connecting the wallets using the useConnect
hook and want to auto connect the last connected wallets on page reload or revisit.
You can also use the useAutoConnect
hook to achieve the same result.
To check if the wallet in in the process of auto connecting, you can use the useIsAutoConnecting
hook.
Example