@lit-protocol/e2e
Version:
Lit Protocol E2E testing package for running comprehensive integration tests
13 lines • 486 B
JavaScript
export const createPkpSignTest = (ctx, getAuthContext, pubkey) => {
return async () => {
const res = await ctx.litClient.chain.ethereum.pkpSign({
// chain: 'ethereum',
// signingScheme: 'EcdsaK256Sha256',
authContext: getAuthContext(),
pubKey: pubkey || ctx.aliceViemAccountPkp.pubkey,
toSign: 'Hello, world!',
});
expect(res.signature).toBeDefined();
};
};
//# sourceMappingURL=pkp-sign.js.map