element-x-ada/features/wallet/api
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
..
src/main feat(wallet): complete SSSS round-trip with delete and restore 2026-03-29 05:18:53 -07:00
build.gradle.kts feat(wallet): scaffold wallet module structure 2026-03-27 10:04:58 -07:00