# iOS Cold Wallet — Plan 4 Smoke Test

Tests the Create flow end-to-end. Run on iPhone 17 simulator or real device after Plan 4 lands.

## Setup

1. Build the app for the simulator/device (`xcodebuild build` or Cmd+R in Xcode).
2. Launch the app. If you have prior wallets, optionally delete the simulator + reinstall, or skip directly to the WalletsList "+" menu.

## Path A: Device RNG (fast)

1. Tap **Create new wallet** (Welcome screen) or **+ → Create new wallet** (WalletsList).
2. Source screen appears. Tap **Use device randomness**.
3. Brief spinner, then **Your seed** screen shows 24 numbered word boxes. Confirm 24 words display, each in its own box.
4. Write down the 24 words by hand. Tap **Next**.
5. **Verify** screen shows 3 random word positions. Type each word lowercase. Tap **Check**.
6. **Password** screen. Type a password twice. Tap **Set password and finish**.
7. Swipe back to the wallets list. The new wallet should appear with its label "Armory Offline".
8. Tap into the wallet. Confirm the fingerprint matches what you'd derive from the seed (you can verify on the desktop via `armory-offline verify`).

## Path B: Dice rolls (slow but more thorough)

1. Same entry point. Tap **Roll dice**.
2. **Dice** screen shows 6 large numbered buttons. Tap them according to actual rolled dice (or randomly for the smoke test).
3. Counter advances 1/100, 2/100, ... Backspace removes the most recent.
4. After 100 rolls, **Done** enables. Tap it.
5. Continue through Seed → Verify → Password → wallets list as in Path A.

## Edge cases to verify

- **Backing out mid-flow.** Swipe back from Dice/Seed/Verify before completing — the pending wallet should NOT appear in the wallets list (because `confirmKeygen` was never called).
- **Wrong verify answer.** On the Verify screen, type a wrong word. Confirm the error appears and you can retry.
- **Skip password.** On the Password screen, tap **Skip — no encryption**. Wallet should appear unencrypted (no lock icon if you have one later).

## Pass criteria

- Both paths produce a wallet that shows up in the wallets list after confirm.
- The verify quiz catches typos and lets you retry.
- Backing out without confirming leaves the wallets list unchanged.
- Restored mnemonic on a different device with the same words produces the same fingerprint.
