Skip to content

Add troubleshooting guide for cache-clear recovery #89

@Miracle656

Description

@Miracle656

Background

When a user clears their browser cache, the Veil wallet enters a degraded state: the contract address is gone from localStorage but the passkey and on-chain funds still exist. The recovery flow is already implemented, but there's no user-facing or developer-facing documentation explaining it.

What to build

A troubleshooting guide in the Nextra docs site covering the cache-clear recovery scenario from both a user and developer perspective.

Key files

  • frontend/docs/pages/troubleshooting.mdx — create this file
  • frontend/wallet/app/lock/page.tsx — the recovery UI entry point
  • frontend/wallet/lib/deriveFeePayer.ts — the deterministic derivation logic

Suggested execution

git checkout -b docs/cache-clear-troubleshooting-guide
  1. Create frontend/docs/pages/troubleshooting.mdx
  2. Add a section: "What happens when I clear my browser cache?"
  3. Explain: passkey stays on device, contract still on-chain, fee-payer keypair is re-derived from credential ID
  4. Add step-by-step recovery instructions (tap "Set up fee-payer" on dashboard)
  5. Add a developer section explaining deriveFeePayerKeypair(credentialId)
  6. Link from the docs navigation (theme.config.tsx or sidebar)

Example commit message:
docs: add troubleshooting guide for cache-clear wallet recovery

Acceptance criteria

  • Guide covers user-facing recovery steps
  • Guide covers developer-facing explanation of deriveFeePayer.ts
  • Linked from docs navigation
  • Renders correctly in the Nextra docs site locally

Drips Wave · Complexity: Trivial · 100 points
Comment below to request assignment. PR must include Closes #[this issue].

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions