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:
Initializes a LearnCard wallet
Creates an issuer profile
Defines a Boost template
Issues the Boost to the network
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)
This step sets up your secret seed phrase for controlling your Organization's profile. However, for demonstration, you may safely skip this step to use the provided DEMO_SEED. Never hardcode a seed in production. Learn more about seeds.
Create and save your seed to .env:
Run the following command in your terminal:
Run the following command in your Windows cmd prompt:
Run the following command in Powershell:
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.
Want to customize your claimable boost even more? Check out our Core Concepts guide on "Getting Started with Boosts."
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?
SECURE_SEED="..." # Created from command in prior step.
PROFILE_ID="<unique-profile-id>" # Unique profile ID.
PROFILE_NAME="<Display Name>" # Human Readable Display Name
node createBoost.js
✅ Success! Your Claimable Boost link is ready:
https://claim.learncard.app/boost/abc123...