Skip to content

System Administrator Guide

This guide covers deploying, configuring, scaling, and managing a Sorcha distributed ledger instance.

Sorcha is a distributed ledger platform for secure, multi-participant data flow orchestration. It runs as 7 microservices plus supporting infrastructure (PostgreSQL, MongoDB, Redis), orchestrated via Docker Compose with .NET Aspire for observability.

Contents

GuidePurpose
Prerequisites & SizingHardware, software, and network requirements
Installation & First RunDocker deployment and bootstrap
Configuration ReferenceComplete environment variable reference
Scaling & High AvailabilityHorizontal scaling and replication
Monitoring & ObservabilityDashboard, health checks, logging
AdministrationUser management, backup, security
TroubleshootingCommon issues and diagnostics
Upgrade & MigrationVersion upgrades and database migrations

Quick Reference

  • Default admin: admin@sorcha.local / Dev_Pass_2025! (change immediately)
  • API Gateway: http://localhost:80
  • API Documentation: http://localhost/openapi
  • Admin Dashboard: http://localhost/admin/dashboard (requires SystemAdmin role)
  • Health checks: http://localhost/{service}/health

Architecture Overview

                         ┌──────────────────┐
                         │   API Gateway    │
                         │   (YARP, :80)    │
                         └────────┬─────────┘
              ┌──────────┬────────┼────────┬──────────┬───────────┐
              v          v        v        v          v           v
        ┌──────────┐┌─────────┐┌────────┐┌────────┐┌──────────┐┌──────┐
        │Blueprint ││ Wallet  ││Register││ Tenant ││Validator ││ Peer │
        │ Service  ││ Service ││Service ││Service ││ Service  ││Svc   │
        └────┬─────┘└────┬────┘└───┬────┘└───┬────┘└────┬─────┘└──┬───┘
             │           │         │         │          │         │
        ┌────v─────┐┌────v────┐┌───v────┐┌───v────┐    │         │
        │ MongoDB  ││Postgres ││MongoDB ││Postgres│  Redis    Redis
        │          ││         ││        ││        │
        └──────────┘└─────────┘└────────┘└────────┘

Service Summary

ServiceDefault PortPurpose
API Gateway80YARP reverse proxy, TLS termination
Blueprint Service5000Workflow management, SignalR
Wallet ServiceinternalCrypto operations, HD wallets
Register Service5380Distributed ledger, OData
Tenant Service5450Multi-tenant auth, JWT issuer
Validator Service5800 / 5801Consensus, chain integrity
Peer Service50051 (gRPC)P2P network communication
Aspire Dashboard18888Observability (traces, logs, metrics)

Released under the MIT License.