reconnect

This method will use the current state in the client store and attempt to restore connected instances of previously used accounts and the signer.

Import

1import { reconnect } from "@account-kit/core";

Usage

1import { reconnect } from "@account-kit/core";
2import { config } from "./config";
3
4await reconnect(config);

Parameters

config

AlchemyAccountsConfig the account config which contains the client store