LearnCard Developer Docs
  • 🚀Get Started
    • 👋Welcome
    • ⭐Who are you?
      • Learners & Employees
      • Traditional Educator
      • Non-Traditional Educator
      • Assessment Provider
      • Employer
      • App Developer & EdTech
      • DAO & Communities
      • Content Creators
      • Research Institutions
      • NGOs & Governments
      • Plugfest Partner
        • Guide for Interop Issuers
          • 🤽Creating an Interop Issuer
        • Guide for Interop Wallets
    • Protocol Overview
      • The Internet of Education
      • The Learning Economy
      • Learner & Employee Privacy
      • 22nd Century Education
      • The Open Credential Network
      • PVCs
  • 🔰LearnCard SDK
    • What is LearnCard?
      • Why a Universal Wallet?
      • Architectural Patterns
      • Production Deployment Guide
      • Troubleshooting Guide
    • LearnCard Core
      • Quick Start
        • Create New Credentials
          • Creating Verifiable Credentials for LearnCard
          • Achievement Types and Categories
          • Custom Types
          • Understanding Boosts
          • Creating Boost Credentials
        • Sign & Send Credentials
        • Accept & Verify Credentials
        • Share & Present Credentials
      • Construction
        • Managing Seed Phrases
        • initLearnCard
        • DIDKit
        • learnCardFromSeed
        • emptyLearnCard
        • IDX Config
      • Control Planes
        • ID
        • Read
        • Store
        • Index
        • Cache
        • Context
      • Plugins
        • Adding Plugins
        • Official Plugins
          • Dynamic Loader
          • Crypto
          • DIDKit
          • DID Key
          • VC
            • Expiration Sub-Plugin
          • VC Resolution
          • VC-Templates
          • VC-API
          • Ceramic
          • IDX
          • VPQR
          • Ethereum
          • CHAPI
          • LearnCard Network
          • LearnCloud
          • LearnCard
          • Claimable Boosts
        • Writing Plugins
          • The Simplest Plugin
          • The Plugin Type
          • The LearnCard Type
          • Implementing Control Planes
          • Implementing Methods
          • The Implicit LearnCard
          • Depending on Plugins
          • Private Fields
          • Publishing a Plugin to NPM
      • URIs
      • CHAPI
        • ⭐CHAPI Wallet Setup Guide
        • ↔️Translating to CHAPI documentation
        • 🖥️Demo Application
        • 🔰Using LearnCard to Interact with a CHAPI Wallet
        • 📝Cheat Sheets
          • Issuers
          • Wallets
      • LearnCard UX
        • Quick Start
        • Components
          • Verifiable Credentials
            • VC Thumbnail
            • VC Thumbnail, Mini
          • LearnCards
            • LearnCard Front
            • LearnCard Back
        • API
      • LearnCard Bridge
      • API
      • Migration Guide
    • LearnCard Network
      • LearnCard Network API
        • Authentication
        • Auth Grants and API Tokens
        • Profile
        • Credentials
        • Boosts
        • Presentations
        • Storage
        • Signing Authorities
        • Notifications
        • API Docs
        • Launch Your Own Network
      • 🔌Connect Your Application
    • ConsentFlow
      • Setting Up ConsentFlow with an Independent Network
    • GameFlow
      • Sending xAPI Statements
        • xAPI URIs
      • Reading xAPI Statements
        • Advanced xAPI Statement Queries
      • Consentful "Claim Later" Flow
  • 🚀Applications
    • LearnCard
    • SuperSkills!
      • SuperSkills! SDK
        • Digital Wallets
        • Issuing into SuperSkills!
        • 🦸Creating a SuperSkills! Issuer
    • Metaversity
    • Admin Dashboard
  • 🔗Resources
    • Github
    • Community
    • 💅Custom Development
    • Contact Our Team
    • Learning Economy
  • 🤖LearnCard Services
    • LearnCard CLI
    • Discord Bot
    • Metamask Snap
  • 💸LearnBank SDK
    • Why LearnBank?
  • 📊LearnGraph SDK
    • Why LearnGraph?
Powered by GitBook
On this page
  • Some common use cases:
  • Are you using LearnCard?
  • Quick Start
  • #1—Issue IDs from your Agencies
  • #2—Verify Credentials from your Agencies
  • Accepting Credentials using CHAPI
  • Verifying Credentials using LearnCard SDK
  • #3—Support Open, Interoperable Ecosystems with Policy

Was this helpful?

  1. Get Started
  2. Who are you?

NGOs & Governments

Using LearnCard to cultivate open, cross-border ecosystems!

PreviousResearch InstitutionsNextPlugfest Partner

Last updated 2 years ago

Was this helpful?

If you're an NGO or a government, and are interested in understanding how LearnCard can help to minimize complexity and streamline your processes—you've come to the right place!

This guide will walk you through everything you need to get started. No prior experience required.

First things first: you need to identify your use case. Why are you interested in using LearnCard in the first place?

Some common use cases:

  • 🪪 IDs: you want to issue a verifiable ID for your citizens. Start .

  • ⛑ Professional Licenses: you want to issue a verifiable licenses for professions. Start .

  • Verification: you want to verify IDs, licenses, skills, learning certificates, achievements, or another credential that a citizen presents to you. Start .

  • 🕊 Cultivate an Ecosystem: you want to solve equity, skills, and mobility gaps in your state or nation. Start .

Are you using LearnCard?

We'd love to hear to hear from you! Share your story in our, or send us an email at —we'd love to feature your work 🙌.

Quick Start

These are some of the most common and quickest ways to get started.

#1—Issue IDs from your Agencies

To issue credentials to your citizens this, you can either , or you can .

#2—Verify Credentials from your Agencies

In a government platform, you want to streamline the verification process of citizens' credentials for various use cases like IDs, professional licenses, verification of presented credentials, and cultivating an ecosystem to solve equity, skills, and mobility gaps. You can achieve this using the CHAPI (Credential Handler API) and the LearnCard SDK. The following steps outline how an App Developer can accept and verify credentials in their platform using CHAPI and LearnCard SDK.

Accepting Credentials using CHAPI

  1. Import the CHAPI Polyfill into your platform based on your development environment. You can either use the script tag method for vanilla JavaScript or import the polyfill library in Node.js.

  2. Construct a Verifiable Presentation Request using the desired credential types (e.g., GovernmentIDCredential for issuing a verifiable ID to citizens).

  3. Wrap the Verifiable Presentation Request in a Web Credential Query, allowing your platform to request credentials from a user's digital wallet.

  4. Request a Web Credential using the navigator.credentials.get(credentialQuery) function. The user will be prompted to present the requested credentials from their digital wallet.

  5. Handle null results, which can occur when the user denies the request or does not have a wallet installed. As a developer, decide how to handle these situations by offering fallback mechanisms, retry options, or alternate paths.

Verifying Credentials using LearnCard SDK

  1. Check the results of the verification to ensure the validity of the credentials. The result will contain an array of objects with status, check, and message properties.

  2. If the verification is successful, proceed with the next steps specific to the use case (e.g., granting professional licenses or verifying presented credentials). Otherwise, handle the failed verification case by either requesting the user to provide valid credentials or implementing any other suitable action.

By integrating CHAPI and LearnCard SDK into your government platform, you can create a seamless and secure process for accepting and verifying citizen credentials for various use cases. This will not only streamline the verification process but also provide added security and trust in the credentials presented by citizens, enhancing overall public services and facilitating the cultivation of a thriving ecosystem in your state or nation.

#3—Support Open, Interoperable Ecosystems with Policy

🚧 Coming soon

See the full CHAPI documentation for verifiers .

After receiving the credentials from the user's wallet, use the LearnCard SDK's function to verify the received credentials.

🚀
⭐
🤽Creating an Interop Issuer
💅Custom Development
here
learnCard.invoke.verifyCredential(signedVc)
🎉
✅
Github Discussions
community@learningeconomy.io
setup your own, interoperable Issuer by following these steps
reach out to us for support and custom development to help connect your Agencies
here
here
here
here