@lit-protocol/vincent-scaffold-sdk
Version:
Shared build configuration and utilities for Vincent abilities and policies
14 lines • 667 B
TypeScript
export interface PKPInfo {
publicKey: string;
tokenId: string;
ethAddress: string;
}
/**
* Helper function to mint a new PKP and return its information
* @param pkpOwnerPrivateKey Private key of the wallet that will own the PKP
* @param litNetwork Lit network to use (e.g., "datil", "datil-test", "datil-dev")
* @param abilityAndPolicyIpfsCids IPFS CIDs for abilities and policies to authorize
* @returns PKP information including tokenId, publicKey, and ethAddress
*/
export declare const mintNewPkp: (pkpOwnerPrivateKey: string, litNetwork: string, ...abilityAndPolicyIpfsCids: string[]) => Promise<PKPInfo>;
//# sourceMappingURL=mint-pkp.d.ts.map