Canton dApp Booster
    Preparing search index...

    Return shape of useConnect. connect opens the picker and rejects with ConnectCancelledError where the user closed it, which connectError mirrors; disconnect clears the local party and status even if the wallet's own call fails.

    interface UseConnectResult {
        connect: () => Promise<void>;
        connectError: Error | undefined;
        disconnect: () => Promise<void>;
        isConnected: boolean;
        isConnecting: boolean;
    }
    Index
    connect: () => Promise<void>
    connectError: Error | undefined
    disconnect: () => Promise<void>
    isConnected: boolean
    isConnecting: boolean