Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ChainLearn Documentation

ChainLearn is a Stellar-based AI-powered learning platform that rewards learners with on-chain tokens and verifiable credentials. This repository contains the canonical documentation for all ChainLearn services, smart contracts, APIs, and architectural decisions.

Quick Links

SectionDescription
Architecture OverviewSystem design, repo structure, tech stack
Data FlowEnd-to-end flow from enrollment to credential
Smart ContractsContract design decisions and rationale
API ReferenceOpenAPI specs for all services
Contract DocsLearn Token, Credential NFT, Progress Tracker
GuidesLocal dev, deployment, contributing
Decision RecordsArchitecture Decision Records (ADRs)

Platform Overview

ChainLearn combines three technologies:

  1. AI-generated content -- Courses, quizzes, and feedback are generated by Cohere's language models, ensuring fresh and personalized learning material.
  2. Stellar blockchain -- Rewards (SEP-41 tokens) and credentials (NFTs) are issued on-chain via Soroban smart contracts, giving learners portable, verifiable proof of achievement.
  3. Traditional web stack -- A React frontend, Node.js API, and PostgreSQL database handle the user experience, authentication, and content management.

Repository Map

The ChainLearn platform spans seven repositories:

RepositoryPurpose
chainlearn-frontendReact + TypeScript SPA
chainlearn-apiExpress REST API and auth layer
chainlearn-aiPython AI service (Cohere integration)
chainlearn-contractsSoroban smart contracts (Rust)
chainlearn-indexerEvent indexer for on-chain data
chainlearn-docsThis documentation
chainlearn-infraTerraform + Docker infrastructure

Getting Started

New to ChainLearn? Start here:

  1. Read the Architecture Overview to understand the system
  2. Follow the Local Development Guide to set up your environment
  3. Review the Contributing Guide before submitting changes

License

Documentation is licensed under CC BY 4.0. Code examples are MIT licensed.

About

Documentation for the ChainLearn platform — architecture, APIs, and user guides.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors