@cdr-kit/react/Hooks/useCdrWallet
useCdrWallet
Lightweight wallet connect for the simple path: pairs with <CdrProvider>'s built-in injected connector. Bring your own wallet stack (Privy / RainbowKit) for the rich path.
import { useCdrWallet } from "@cdr-kit/react"
Signature
function useCdrWallet(): {
address?: Hex;
isConnected: boolean;
isConnecting: boolean;
error: Error | null;
connect: () => void;
disconnect: () => void;
};