Accept & Verify Credentials

🚧 This section is under construction to make a more comprehensive guide for implementing accept & verify flows in your applications. Thank you for being patient while our community gets another cup of coffee to finish these docs! ☕️I

Verify Credentials

After being signed, a credential is then given out through an exchange mechanism, where the receiver should verify it! To do that, you can use verifyCredential

const result = await learnCard.invoke.verifyCredential(signedVc);

console.log(result);
// [
//     { status: "Success", check: "proof", message: "Valid" },
//     {
//         status: "Success",
//         check: "expiration",
//         message: "Valid • Does Not Expire"
//     }
// ]

Last updated