A React Native (Expo + TypeScript) app for registering and verifying payment QR codes.
Blockchain anchoring and QR scanning are not implemented yet —
lib/and the Register/Verify screens are scaffolded placeholders.
- Expo SDK 52 + Expo Router (file-based routing)
- TypeScript (strict)
- NativeWind v4 (Tailwind for React Native)
- React Query (
@tanstack/react-query) - Zustand (client state)
npm install
npx expo startThen press i (iOS simulator), a (Android emulator), or w (web), or scan the QR with Expo Go.
app/
_layout.tsx # Root layout: Expo Router stack + React Query + NativeWind
index.tsx # Home screen (logo, Register/Verify buttons)
register.tsx # Register QR (placeholder)
verify.tsx # Verify QR (placeholder)
components/
Button.tsx # Reusable button (primary / secondary)
Card.tsx # Surface container
lib/
blockchain.ts # On-chain register/verify stubs
hash.ts # Payload hashing stub
store/
useAppStore.ts # Zustand store
types/
index.ts # Shared domain types
- App icons / splash assets are intentionally omitted; add them under
assets/and re-reference them inapp.jsonbefore building for stores.