element-x-ada/features/wallet/impl
Kayos 1dbc4c92c4 feat(wallet): add wallet setup flow and payment event wiring
Phase 4: Final features for Element X ADA alpha

## Wallet Setup Flow
- New setup state machine: WELCOME -> GENERATING -> ADDRESS -> BACKUP_PROMPT -> COMPLETE
- WalletSetupState.kt: state data class and events
- WalletSetupPresenter.kt: generates wallet via CardanoKeyStorage, state transitions
- WalletSetupView.kt: Compose UI with FLAG_SECURE for mnemonic display
- WalletSetupNode.kt: Appyx node with setup callbacks
- Wired into MessagesFlowNode via NavTarget.WalletSetup
- SSSS backup skipped for alpha (local-only, TODO for Phase 5)

## Payment Event Wiring
- PaymentProgressPresenter now sends Matrix payment event on tx confirmation
- Added roomId to PaymentProgressNode.Inputs and NavTarget.Progress
- Calls paymentEventSender.sendPaymentEvent() when SubmissionState.Confirmed
- Non-fatal if event fails (tx already succeeded)

## Files Changed
- features/wallet/impl/setup/ (new directory, 4 files)
- MessagesFlowNode.kt: NavTarget.WalletSetup, navigation wiring
- PaymentFlowNode.kt: roomId passthrough to Progress
- PaymentProgressNode.kt: roomId in Inputs
- PaymentProgressPresenter.kt: event sending on confirmation
2026-03-28 10:13:06 -07:00
..
src feat(wallet): add wallet setup flow and payment event wiring 2026-03-28 10:13:06 -07:00
build.gradle.kts Phase 3: Wallet panel UI and full /pay flow wiring 2026-03-28 09:23:58 -07:00
proguard-rules.pro feat(wallet): scaffold wallet module structure 2026-03-27 10:04:58 -07:00