@keypo/typescript-sdk-server
Version:
Server-side SDK for Keypo with custom decrypt and proxy execute implementations
14 lines • 1.04 kB
TypeScript
import { ethers } from "ethers";
import { LitNodeClient } from "@lit-protocol/lit-node-client";
import { type AccessControlConditions, type EvmContractConditions } from "@lit-protocol/types";
export declare const genAuthSigServer: (wallet: ethers.Wallet, client: LitNodeClient, uri: string, resources: any[], expiration?: string, debug?: boolean) => Promise<any>;
export declare const genSessionServer: (wallet: ethers.Wallet, client: LitNodeClient, resources: any[], expiration: string, chain: string, authSig?: any, debug?: boolean) => Promise<any>;
export declare const authenticateLitSessionServer: (wallet: ethers.Wallet, chain: string, expiration: string, permissionsRegistryContractAddress: string, dataIdentifier: string, apiUrl: string, debug?: boolean) => Promise<{
sessionSigs: any;
authSig: any;
litNodeClient: LitNodeClient;
dataToEncryptHash: string;
evmConditions: (AccessControlConditions | EvmContractConditions)[];
dataMetadata: any;
}>;
//# sourceMappingURL=authenticateLitSessionServer.d.ts.map