element-x-ada/features/wallet
Kayos da589ae78f feat(wallet): complete SSSS round-trip with delete and restore
Delete Wallet feature:
- Add showDeleteConfirmation state to WalletPanelState
- Add WalletDeleteConfirmationDialog composable with warning
- Non-dismissible dialog with clear warning about backup
- Wire DeleteWallet/ConfirmDeleteWallet/CancelDeleteWallet events
- Call keyStorage.deleteWallet() and clear wallet state on confirm
- Panel shows setup screen after deletion

Restore from SSSS feature:
- Add hasBackupWithoutKey() to WalletBackupService for checking backup existence
- Uses raw Matrix account data API to check if secret key exists
- Add RESTORE_FROM_CLOUD step to SetupStep enum
- Check for cloud backup on setup init (non-blocking)
- Show "Restore from Matrix Backup" button when backup exists
- Add recovery key input flow for cloud restore
- Restore decrypts mnemonic from SSSS and imports wallet

Both features enable complete wallet backup/restore round-trip via Matrix SSSS.
2026-03-29 05:18:53 -07:00
..
api feat(wallet): complete SSSS round-trip with delete and restore 2026-03-29 05:18:53 -07:00
impl feat(wallet): complete SSSS round-trip with delete and restore 2026-03-29 05:18:53 -07:00
test Phase 3: Wallet panel UI and full /pay flow wiring 2026-03-28 09:23:58 -07:00