Documentation

    Class EnokiFlow

    Use registerEnokiWallets instead

    Index

    Constructors

    Properties

    $zkLoginSession: WritableAtom<
        { initialized: boolean; value: null
        | ZkLoginSession },
    >
    $zkLoginState: WritableAtom<ZkLoginState>

    Accessors

    Methods

    • Parameters

      • input: {
            clientId: string;
            extraParams?: Record<string, unknown>;
            network?: "mainnet" | "testnet" | "devnet";
            provider: AuthProvider;
            redirectUrl: string;
        }

      Returns Promise<string>

    • Parameters

      Returns Promise<CreateZkLoginZkpApiResponse>

    • Returns Promise<null | ZkLoginSession>

    • Parameters

      • hash: string = window.location.hash

      Returns Promise<null | string>

    • Returns Promise<void>

    MMNEPVFCICPMFPCPTTAAATR