Skip to content

mobile(live): Wallet lifecycle (create/reset) + deterministic address + secure storage #3

@AbdelStark

Description

@AbdelStark

Problem\nLive mode needs a real wallet lifecycle: create owner key, derive deterministic account address, persist it, and support reset.\n\n## Context\nExisting building blocks already exist but are not wired into the current UI:\n- apps/mobile/lib/wallet/wallet.ts (createWallet, loadWallet, resetWallet)\n- apps/mobile/lib/storage/secure-store.ts\n\n## Scope\n- Wire wallet create/reset into the onboarding + settings flows for live mode.\n- Persist and restore wallet snapshot on app launch.\n- Show the deterministic account address in the UI (copyable).\n\n## Out of Scope\n- Deploying the account on-chain (separate issue).\n- Session key policies (separate issue).\n\n## Acceptance Criteria\n- [ ] Fresh install (live mode): can create a wallet and see a deterministic address.\n- [ ] App restart: wallet loads automatically.\n- [ ] Reset removes wallet secrets and returns user to onboarding.\n- [ ] ./scripts/app/check passes.\n\n## Depends On\n- Backend abstraction: #2\n

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mobileExpo mobile app (UI, navigation, storage, UX)enhancementNew feature or requesthelp wantedExtra attention is neededmode:liveLive Starknet mode (Sepolia/Mainnet)priority:P1High leverage / next

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions