GitHub
Docs
useAutoConnect

useAutoConnect

Hook for auto connecting to the wallet.

Get the most recently connected wallets and account from localStorage and auto connect to the wallet.

import { useAutoConnect } from '@heapup/smartkit-hooks'
 
useAutoConnect()

Automatically called internally in smartkit.