rwadurian/backend/services/blockchain-service/src
hailin c1670d2439 feat(mnemonic): add recovery mnemonic generation and backup confirmation
Backend (blockchain-service):
- Add RecoveryMnemonicAdapter to generate 12-word BIP39 mnemonic
- Generate mnemonic when wallet addresses are derived (linked to public key)
- Include mnemonic in WalletAddressCreated event

Backend (identity-service):
- Add RecoveryMnemonic table with revocation/replacement support
- Save encrypted mnemonic to database on WalletAddressCreated event
- Add PUT /user/mnemonic/backup API to mark mnemonic as backed up
- Clear plaintext mnemonic from Redis after backup confirmation

Frontend (mobile-app):
- Update markMnemonicBackedUp() to call backend API
- Fix verify_mnemonic_page validation logic:
  - Checkbox checked → pass directly
  - Not checked → must select correct word

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 12:32:10 -08:00
..
api refactor: move mnemonic verification from identity-service to blockchain-service 2025-12-07 00:11:06 -08:00
application feat(mnemonic): add recovery mnemonic generation and backup confirmation 2025-12-07 12:32:10 -08:00
config feat(blockchain-service): implement complete blockchain service with DDD + Hexagonal architecture 2025-12-06 20:54:58 -08:00
domain feat(mnemonic): add recovery mnemonic generation and backup confirmation 2025-12-07 12:32:10 -08:00
infrastructure feat(mnemonic): add recovery mnemonic generation and backup confirmation 2025-12-07 12:32:10 -08:00
shared feat(blockchain-service): implement complete blockchain service with DDD + Hexagonal architecture 2025-12-06 20:54:58 -08:00
app.module.ts feat(blockchain-service): implement complete blockchain service with DDD + Hexagonal architecture 2025-12-06 20:54:58 -08:00
main.ts fix(blockchain-service): add global API prefix and increase healthcheck start_period 2025-12-07 01:20:35 -08:00