🏠 Backend Service
The Backend Service is a module designed to be used in combination with the Hedera Stablecoin Studio. Its primary purpose is to enable multi-signatures for stable coins management operations.
💡 Context
Whenever users need to submit a transaction to the DLT network (e.g., Cash In, Freeze, etc.) associated with an account that has multiple keys (key list or threshold keys), they interact with this backend to coordinate the collection of signatures.
⚠️ Important Constraint: Only single level multikeys are supported for now. Keys lists or Threshold keys associated with accounts cannot contain other key lists or threshold keys themselves as keys.
🏗️ Core Technologies
The service is built using a modern and robust stack:
- Runtime: Node.js
- Framework: NestJS
- Database: PostgreSQL & TypeORM
- Documentation: Swagger
- Hedera SDKs: @hashgraph/sdk
- Logging: Winston
- Testing: Jest
📚 Document Sections
- Quick Start: Setup guide, environment variables, and running the service.
- Architecture: Deep dive into the transaction flow and background jobs.
- Overview: High-level description of the backend service.