Lit Controller
const litAuthProvider = new LitAuthProvider(
    stytchProjectId: string,
    baseUrl: string,
    walletType?: WalletType,
    aa?: AaDetails
)authenticateWithStytch
async authenticateWithStytch(
        accessToken: string,
        userId?: string,
        method?: string
    ): Promise<AuthMethod | undefined>export interface AuthMethod {
    authMethodType: number;
    accessToken: string;
}mintPKP
async mintPKP(authMethod: AuthMethod): Promise<IRelayPKP>export interface IRelayPKP {
    tokenId: string;
    publicKey: string;
    ethAddress: string;
}getPKPs
async getPKPs(authMethod: AuthMethod): Promise<IRelayPKP[]>export interface IRelayPKP {
    tokenId: string;
    publicKey: string;
    ethAddress: string;
}initSession
async initSession(authMethod: AuthMethod, pkp: IRelayPKP, chain: string)Last updated