Services
Sorcha is composed of 7 microservices orchestrated by .NET Aspire.
| Service | Purpose | Docs |
|---|---|---|
| API Gateway | YARP reverse proxy, unified entry point | README |
| Blueprint Service | Workflow management, action execution, SignalR | README |
| Register Service | Distributed ledger, OData queries, chain integrity | README |
| Tenant Service | Multi-tenant auth, JWT issuer, participant identity | README |
| Wallet Service | HD wallets, crypto operations, credential management | README |
| Validator Service | Consensus, docket building, transaction validation | README |
| Peer Service | P2P networking, gRPC, register replication | README |
Architecture
┌─────────────┐ ┌─────────────────┐ ┌──────────────────┐
│ Sorcha UI │────▶│ API Gateway │────▶│ Blueprint Svc │
│ (Blazor) │ │ (YARP) │ │ (Workflows) │
└─────────────┘ └─────────────────┘ └────────┬─────────┘
│ │
┌───────┴───────┐ ┌───────┴────────┐
┌─────▼─────┐ ┌─────▼─────┐ │ ┌────────────▼┐
│ Wallet │ │ Register │◀─┘ │ Validator │
│ Service │ │ Service │ │ Service │
└─────┬─────┘ └─────┬─────┘ └─────────────┘
│PostgreSQL │ │ MongoDB │ │ Redis │See the Architecture Reference for detailed diagrams.