Interoperate with LearnCard
How-To Guide: Interoperating with LearnCard
1. Sending a Credential TO a LearnCard Passport
Recipe 1a: Sending via a VC-API Deep Link (Simple Method)
=== "JavaScript (Frontend)"
// Your server has an endpoint ready at https://api.my-app.com/issue/xyz
const vcApiEndpoint = 'https://api.my-app.com/issue/xyz';
// Construct the deep link
const learnCardDeepLink = `https://learncard.app/request?vc_request_url=${encodeURIComponent(vcApiEndpoint)}`;
// When a user clicks your "Send to LearnCard" button, redirect them:
window.location.href = learnCardDeepLink;
Recipe 1b: Sending via an Interaction URL (Universal Method)
2. Receiving a Credential FROM a LearnCard Passport
3. How LearnCard's Universal Inbox is Interoperable
Last updated
Was this helpful?