Your First Integration

Claim Your First Digital Badge in 5 Minutes!

Welcome to your first LearnCard integration! In just a few lines of code, you'll create a verifiable, claimable digital badge—what we call a Boost.

This quickstart helps you:

  • Install LearnCard tools

  • Create a demo issuer profile

  • Generate a verifiable Boost (credential)

  • Output a link that anyone can claim

No experience required. Just code, coffee, and a terminal.

⭐️ What You'll Be Making

🧰 Installation

Choose your preferred package manager:

🚀 Quickstart Script

This script:

  1. Initializes a LearnCard wallet

  2. Creates an issuer profile

  3. Defines a Boost template

  4. Issues the Boost to the network

  5. Generates a claim link for anyone to redeem

✅ Prerequisites

  • Node.js (v18+)

  • A secure seed phrase (stored in SECURE_SEED)

  • A unique ID for your issuer (e.g. my-awesome-org-profile)

📁 Create createBoost.js:

🔩 Setup Organization Config (optional)

Create and save your seed to .env:

Run the following command in your terminal:

Add config variables to your .env:

You must create a unique profile ID for your organization. It must be 3-40 characters, lowercase, no spaces or special characters. E.g.: my-organization, acme, taffy-co-organization , etc.

🏃‍♂️ Run the Script

🎉 What You'll See

The console will print a claimable URL like:

Anyone with that link can scan or click to claim their badge. It’s a live verifiable credential issued by your script.

➡️ Next Steps

You just built your first digital credential. You’ve touched real-world decentralized identity and verifiable credentials—with just a few lines of code.

We’re glad you’re here. Ready to build something great?

Last updated

Was this helpful?