Skip to content

mobile(live): Deploy SessionAccount from app (fund-first, deploy-later) #5

@AbdelStark

Description

@AbdelStark

Problem\nTo run real policies and session-key actions, the account must be deployable from the app. The UX should follow a fund-first, deploy-later flow.\n\n## Context\nRelevant code: \n- Class hash pin: apps/mobile/lib/starknet/contracts.ts\n- Account helpers: apps/mobile/lib/starknet/account.ts\n- Wallet snapshot: apps/mobile/lib/wallet/wallet.ts\n\n## Scope\n- In live mode, implement a deploy flow with clear states: needs funding -> ready to deploy -> deploying -> deployed.\n- Persist deploy tx hash and deployed state across restarts.\n- Provide copyable address and faucet instructions (Sepolia).\n\n## Out of Scope\n- Factory-based deployments (optional later).\n\n## Acceptance Criteria\n- [ ] Live mode: user can deploy the account after funding the deterministic address.\n- [ ] App can verify nonce/balances after deploy.\n- [ ] Deploy status is resilient to app restarts.\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