< Back to Works
HASH: 0x0027...2026.05 - Present

SettleLab - Stablecoin Systems LMS

Blockchain Education Platform

System Description

Solo-built stablecoin systems LMS that turns a Korean Obsidian research vault into a Next.js learning platform for issuance, redemption, signed payments, CCTP/L2 risk, RWA tokenization, account abstraction, x402 agent payments, security testing, and capstone labs.

Technologies

Next.jsReactTypeScriptPrismaSQLiteBetter AuthTailwind CSSVitestFoundry
SettleLab - Stablecoin Systems LMS
ROLE: SOLO_DEVELOPERDOMAIN: BLOCKCHAIN
!

PROBLEMThe Challenge

Needed to preserve the source vault as read-only evidence while converting it into structured LMS content with courses, lessons, exams, prerequisites, tasks, code labs, search, progress tracking, and admin review workflows.

SOLVEDThe Solution

Built a Next.js App Router LMS with Prisma-backed learning state, Better Auth, Markdown/exam import scripts, source-boundary checks, admin monitoring/review pages, dashboard progress, public search, and Foundry-based stablecoin lab contracts.

Verified Impact

Public artifacts are available for independent verification.

SYSTEM_COMPONENTS

LMS Web App

Learning Platform

Tech Stack

Next.jsReactPrismaBetter Auth

Highlights

  • Course/lesson routes
  • Progress dashboard
  • Auth and admin review flows

Content Import Pipeline

Vault-to-LMS Conversion

Tech Stack

TypeScriptgray-matterPrisma

Highlights

  • Markdown course import
  • Exam bank import
  • Source boundary and coverage audits

Stablecoin Lab Workbook

Hands-on Blockchain Practice

Tech Stack

SolidityFoundryVitest

Highlights

  • Mock stablecoin
  • Permit checkout
  • ERC-3009 escrow
  • CCTP/x402 simulators
Technical Deep Dive

Overview

  • Solo-built blockchain LMS for stablecoin systems, settlement, security testing, L2/cross-chain risk, RWA tokenization, account abstraction, x402 payments, privacy, non-EVM systems, and infrastructure radar topics.
  • The project began as a Korean Obsidian research vault and was converted into a database-backed web learning platform under a dedicated web/ app.
  • Live site: https://settlelabs.dev/
  • Public repository: https://github.com/gwkim92/settleLabs

Product Surface

LMS Experience

  • Next.js App Router pages for home, learn, lesson detail, exams, search, dashboard, sign-in/sign-up, and admin routes.
  • Course navigation supports recommended path, full syllabus, and lab/task-focused views.
  • Lessons include learning outcomes, prerequisites, completion criteria, tasks, source references, code blocks, visual blocks, and Mermaid diagrams.

Progress, Exams, and Reviews

  • Prisma models cover users, sessions, courses, lessons, tasks, lesson progress, task submissions, notes, exams, questions, attempts, and answers.
  • Users can complete lessons, submit tasks, track dashboard progress, and take course exams.
  • Admin pages cover lessons, users, sources, reviews, and monitoring.

Content Pipeline

  • Markdown course materials and JSON exam banks are imported into the database through TypeScript scripts.
  • Source-boundary verification keeps the original vault as evidence rather than mutating it through the web app.
  • Content audit scripts validate coverage and quality before publishing.

Lab Layer

  • Foundry workbook contracts include a mock stablecoin, Permit checkout, ERC-3009 escrow, CCTP simulator, x402 payment server, and invariant tests.
  • The lab layer ties conceptual lessons to executable settlement/payment scenarios.

Deployment Notes

  • The production service is available at https://settlelabs.dev/ and is served through an nginx-fronted Next.js deployment.
  • The repository is public and current on main.
  • Runtime configuration uses standard Next.js scripts and environment variables for Better Auth, Prisma/SQLite, app URL, and seed admin credentials.