Skip to content

TypeScript baseline and M0 foundations - #2

Open
erubboli wants to merge 47 commits into
mainfrom
feat/m0-foundations
Open

erubboli wants to merge 47 commits into
mainfrom
feat/m0-foundations

Conversation

@erubboli

Copy link
Copy Markdown
Member

Summary

Converts the codebase to TypeScript strict modules, then lands milestone M0 (foundations) of the wallet completion plan:

  • TS strict migration of all modules, check gate (theme test + tsc + eslint + no-em-dash scan + i18n/providers/secureStore tests) enforced in CI
  • PIN lockout hardening (synchronous attempt counting, keypad freeze) and seed import masking + capture protection
  • modules/mojito-core: Expo native module scaffold, Kotlin + Swift with real AES-256-GCM seal/open/wipe + secureRandom (Keystore/Keychain backed), typed TS facade, binding stubs rejecting until M1
  • src/i18n: central strings module, 277 keys, completeness test; screens migrate to t()
  • src/storage: SecureStore seam, fail-closed in release without the native core, dev-only memory fallback
  • src/data/providers: provider interfaces (wallet/prices/broadcast/waitlist) with fixture-backed mock mode; screens read providers
  • src/config/endpoints.ts: mainnet/testnet config switch (testnet URL pending)
  • EAS profiles + dev-client setup; a11y pass on shared and icon-only controls

Review

Full multi-cycle review completed: OCR + security + DRY + UX + mobile/i18n audits, 0 critical / 0 medium at close.

Known follow-ups (tracked)

  • Native binding stubs throw by design; real AAR/xcframework integration lands in M1
  • Broadcast provider is mocked (public submission endpoint inquiry pending)
  • Waitlist is local-only persistence; must be replaced with a real backend before production ship
  • Charts quote provider is fixture-backed; production source decision tracked
  • Testnet base URL pending upstream confirmation

🚢 Submitted via the mojito-neo completion pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant