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
- Create
frontend/docs/pages/troubleshooting.mdx
- Add a section: "What happens when I clear my browser cache?"
- Explain: passkey stays on device, contract still on-chain, fee-payer keypair is re-derived from credential ID
- Add step-by-step recovery instructions (tap "Set up fee-payer" on dashboard)
- Add a developer section explaining
deriveFeePayerKeypair(credentialId)
- Link from the docs navigation (
theme.config.tsx or sidebar)
Example commit message:
docs: add troubleshooting guide for cache-clear wallet recovery
Acceptance criteria
Drips Wave · Complexity: Trivial · 100 points
Comment below to request assignment. PR must include Closes #[this issue].
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 filefrontend/wallet/app/lock/page.tsx— the recovery UI entry pointfrontend/wallet/lib/deriveFeePayer.ts— the deterministic derivation logicSuggested execution
frontend/docs/pages/troubleshooting.mdxderiveFeePayerKeypair(credentialId)theme.config.tsxor sidebar)Example commit message:
docs: add troubleshooting guide for cache-clear wallet recoveryAcceptance criteria
deriveFeePayer.ts