rwadurian/backend/services/mpc-service
hailin 6fa4d7ac1d feat: 添加MPC多方计算服务模块
新增 mpc-service 微服务,实现 MPC-TSS 门限签名功能:

架构设计:
- 采用六边形架构(Hexagonal Architecture)
- 实现 CQRS 命令查询职责分离模式
- 遵循 DDD 领域驱动设计原则

核心功能:
- Keygen: 分布式密钥生成协议参与
- Signing: 门限签名协议参与
- Share Rotation: 密钥份额轮换
- Share Management: 份额查询和管理

技术栈:
- NestJS + TypeScript
- Prisma ORM
- Redis (缓存和分布式锁)
- Kafka (事件发布)
- Jest (单元/集成/E2E测试)

测试覆盖:
- 单元测试: 81个
- 集成测试: 30个
- E2E测试: 15个
- 总计: 111个测试全部通过

文档:
- ARCHITECTURE.md: 架构设计文档
- API.md: REST API接口文档
- TESTING.md: 测试架构说明
- DEVELOPMENT.md: 开发指南
- DEPLOYMENT.md: 部署运维文档

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 17:31:43 -08:00
..
database/migrations feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
docs feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
prisma feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
src feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
tests feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
.env.example feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
.gitignore feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
Context(微服务)架构.jpg feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
Dockerfile feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
MPC-Service-Context-Complete-Specification.md feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
docker-compose.yml feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
nest-cli.json feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
package-lock.json feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
package.json feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
tsconfig.json feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00
项目目录架构.jpg feat: 添加MPC多方计算服务模块 2025-11-27 17:31:43 -08:00