Wallets
Add the following files/routes to your app to become CHAPI compliant!
import { initLearnCard } from '@learncard/init';
const learnCard = await initLearnCard();
await learnCard.invoke.installChapiHandler();{
"name": "LearnCard Demo CHAPI Wallet",
"short_name": "LearnCard Demo CHAPI Wallet",
"icons": [
{
"sizes": "64x64",
"src": "icon.png",
"type": "image/png"
}
],
"credential_handler": {
"url": "/wallet-worker",
"enabledTypes": ["VerifiablePresentation"]
}
}More Info
βCHAPI Wallet Setup Guideπ₯οΈDemo ApplicationLast updated
Was this helpful?