Skip to content

Sorcha Documentation

Comprehensive documentation for the Sorcha decentralised register platform.

Current Status: 100% MVD (Minimum Viable Deployment) | Detailed Status Report


Documentation by Audience

System Administrators

Deploy, configure, scale, and manage a Sorcha instance.

  • System Admin Guide — Complete operations manual (prerequisites, installation, configuration, scaling, monitoring, troubleshooting)

Organization Administrators

Integrate your organization with a running Sorcha instance.

End Users

Set up your account using passkeys or social login.

Developers

Build on the Sorcha platform.

  • API Documentation — Interactive Scalar API explorer at http://localhost/openapi (when running locally)
  • Getting Started — Development environment setup
  • Guides — Feature-specific integration guides
  • Reference — Architecture, status, and specifications

AI Agents and Integrators

Machine-readable surfaces for AI agents, AI coding assistants, and integrators picking up the platform without prior context.

  • Architecture — Entry-point overview: services, data flows, the discovery surface
  • OpenID4VC / HAIP Integration — How Sorcha issues to and verifies from HAIP-conformant holder wallets
  • Applicability — The four near-term regulatory-pull domains, each with a worked example
  • Security Model — Selective disclosure, post-quantum posture, and honest gaps
  • Quickstart — Agent-runnable setup against a clean Docker host
  • MCP Server — Connecting an AI agent via the Model Context Protocol
  • llms-full.txt — Long-form machine-readable summary
  • STANDARDS.md (repo root) — Single source of truth for every standard the platform implements
  • llms.txt (repo root) — One-screen factual summary, llmstxt.org-conforming
  • GET /.well-known/openapi.json + GET /.well-known/openapi.yaml — Aggregated OpenAPI 3.1 surface
  • GET /.well-known/mcp.json — MCP server manifest

Getting Started

Setup guides, first-run configuration, and prerequisites.

GuideDescription
Getting StartedPrerequisites, first run, service overview
Docker Quick StartStart all services with Docker Compose
Docker Development WorkflowRebuild, hot reload, and debug with Docker
First Run SetupBootstrap credentials and initial configuration
Bootstrap CredentialsDefault credentials for development environments
Port ConfigurationComplete port assignments for Docker, Aspire, and individual services
Infrastructure SetupPostgreSQL, MongoDB, Redis deployment and configuration
Blueprint Quick StartCreate your first blueprint in 5 minutes
NuGet SetupPackage management and private feed configuration

Guides

How-to guides for specific tasks, integrations, and workflows.

Authentication & Security

GuideDescription
Authentication SetupJWT Bearer configuration, delegation tokens, policies
JWT ConfigurationToken lifetimes, signing keys, service-to-service auth

Blueprints

GuideDescription
Blueprint FormatJSON/YAML blueprint specification
Blueprint Architecture4-step execution pipeline: validate, calculate, route, disclose
JSON-LD Quick ReferenceJSON-LD context usage in Sorcha models
JSON-LD ImplementationJSON-LD integration status and patterns
JSON-e TemplatesTemplate language for dynamic payload generation
JSON Logic GuideConditional routing and calculation expressions

Integration & Serialization

GuideDescription
Integration GuideSDK patterns, wallet integration, SignalR examples
Payload SerializationTransaction serialization, Base64url encoding, hash computation

Testing

GuideDescription
Testing GuideTest strategy, naming conventions, coverage targets
Peer Integration TestsPeer Service integration test suite

Deployment

GuideDescription
DeploymentProduction deployment guide
Azure Quick StartDeploy to Azure Container Apps
Azure Database SetupAzure PostgreSQL and MongoDB setup
Azure Custom DomainCustom domain and SSL configuration

Development

GuideDescription
Claude Code GuidelinesAI-assisted development conventions
TroubleshootingCommon issues and solutions

Reference

Architecture, API documentation, and technical specifications.

DocumentDescription
API DocumentationComplete REST API reference for all services
Architecture OverviewHigh-level system architecture and service interactions
Project StructureSolution layout and project organization
Development StatusOverall platform completion and recent updates
Security RequirementsComponent placement rules, crypto isolation, threat model
OpenAPI DecisionsScalar UI configuration and OpenAPI decisions

Data & Transactions

DocumentDescription
Blockchain Transaction FormatJSON-LD transaction model and DID URI addressing
Transaction Submission FlowEnd-to-end transaction lifecycle
Data PersistenceStorage architecture: PostgreSQL, MongoDB, Redis

Cryptography & Wallets

DocumentDescription
Wallet EncryptionKey management and encryption provider architecture
Cryptography & Quantum AnalysisPost-quantum cryptography, ZK proofs, algorithm analysis

Service Reference

DocumentDescription
Validator DesignValidator Service architecture and design
Validator Quick ReferenceValidator Service API cheat sheet
Architecture DecisionsADRs (Architecture Decision Records)
Service Status ReportsPer-service detailed status

AI Blueprint Design

DocumentDescription
Blueprint ExamplesExample blueprints for AI assistants
Blueprint Builder PromptSystem prompt for AI-powered blueprint design

Archive

Historical implementation plans, session summaries, and completion reports are preserved in archive/.


Released under the MIT License.