Changes across all three services to properly associate recovery mnemonics with account sequence numbers instead of user IDs, following DDD principles: identity-service: - Add accountSequence to MpcKeygenRequestedEvent payload - Pass accountSequence when publishing keygen request - Remove direct access to recoveryMnemonic table (now in blockchain-service) - Call blockchain-service for mnemonic backup marking - BlockchainWalletHandler no longer saves mnemonic (stored in blockchain-service) mpc-service: - Add accountSequence to KeygenRequestedPayload interface - Pass accountSequence through to blockchain-service when deriving addresses - Include accountSequence in KeygenCompleted event extraPayload blockchain-service: - Add accountSequence to derive-address API and internal interfaces - Add accountSequence to KeygenCompletedPayload extraPayload - Add PUT /internal/mnemonic/backup API for marking mnemonic as backed up - Store recovery mnemonic with accountSequence association 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| backup | ||
| blockchain | ||