List Lambda SDK
import { Passport } from "@0xpass/passport";
import { WebauthnSigner } from "@0xpass/webauthn-signer";
const signer = new WebauthnSigner({
rpId: window.location.hostname,
rpName: "rpName",
});
const passport = new Passport({
scopeId: "insert_your_scope_id",
signer: signer
});
const userInput {
username: "insert_username_here"
userDisplayName: "insert_user_display_name_here"
}
await passport.setupEncryption();
await passport.authenticate(userInput);
// Generate a threshold signature
const lambdas = await passport.listLambda();
console.log(lambdas);listLambda Response
Last updated