dAppBooster
    Preparing search index...
    • WalletStatusVerifier Component

      Checks the wallet connection and chain synchronization status.

      • If wallet is not connected, displays fallback component (default: ConnectWalletButton)
      • If wallet is connected but on wrong chain, provides option to switch networks
      • If wallet is connected and on correct chain, renders children

      Type Parameters

      • P extends object

      Parameters

      Returns FC<P>

      <WalletStatusVerifier chainId={1}>
      <MyProtectedComponent />
      </WalletStatusVerifier>