wagmi
React Hooks for Ethereum
... the useConnect hook to connect an injected wallet (e.g. MetaMask) to the app. Finally, we show the connected account's address with useAccount and allow them to disconnect with useDisconnect. First, configure your desired chains to be used by wagmi, and the providers you want to use.