
SettleLab - Stablecoin Systems LMS
A stablecoin systems LMS generated from a Korean research vault. It turns structured Markdown, exams, progress data, admin review, and Foundry labs into a production learning platform.
A stablecoin systems LMS generated from a Korean research vault. It turns structured Markdown, exams, progress data, admin review, and Foundry labs into a production learning platform.
What made this system difficult?
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.
How did the design respond?
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.
How responsibility moves through the system.
LMS Web App
- — Course/lesson routes
- — Progress dashboard
- — Auth and admin review flows
Content Import Pipeline
- — Markdown course import
- — Exam bank import
- — Source boundary and coverage audits
Stablecoin Lab Workbook
- — Mock stablecoin
- — Permit checkout
- — ERC-3009 escrow
- — CCTP/x402 simulators
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.