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:
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:
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:
.env:🏃♂️ 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."
➡️ Next Steps
📝 Play with sending different kinds of credentials (see Building Verifiable Credentials)
🔐 Add expiration, limits, or QR codes (see Detailed Usage)
🧠 Learn how Boosts work under the hood (see Core Concepts)
🛠️ Issue credentials dynamically in your app or game
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?