Skip to content

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

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

Usage

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

Parameters

config

AlchemyAccountsConfig the account config which contains the client store