Commit Graph

2 Commits

Author SHA1 Message Date
hailin 747e4ae8ef refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing
- Remove Address field from PartyEndpoint (parties connect to router themselves)
- Update K8s Discovery to only manage PartyID and Role labels
- Add Party registration and SessionEvent protobuf definitions
- Implement PartyRegistry and SessionEventBroadcaster domain logic
- Add RegisterParty and SubscribeSessionEvents gRPC handlers
- Prepare infrastructure for party-driven MPC coordination

This is the first phase of migrating from coordinator-driven to party-driven
architecture following international MPC system design patterns.
2025-12-05 08:11:28 -08:00
hailin 5366a6d8a9 docs(mpc-system): add integration guide and verification report
Added comprehensive documentation for MPC system integration:
- MPC_INTEGRATION_GUIDE.md: Complete integration guide for backend developers
  * System architecture explanation
  * Service responsibilities and relationships
  * Standard MPC session types (keygen/sign/recovery)
  * Integration examples (Go/Python/HTTP)
  * Troubleshooting guide

- VERIFICATION_REPORT.md: System verification report
  * Service health status checks
  * API functionality verification
  * E2E test issue analysis
  * System maturity assessment

- test_real_scenario.sh: Real scenario test script
  * Automated verification workflow
  * Keygen session creation test

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 04:22:27 -08:00