ProblemNEXT_PUBLIC_WALLETCONNECT_PROJECT_ID || '' means without explicit configuration the client attempts to pair against the public relay with an empty project id, which the relay rejects — yet the UI proceeds to display a QR code as if pairing is viable.
- The empty-string default is indistinguishable from "misconfigured" and gives no user-facing error.
- Only a QR code is shown; there is no indication that pairing will fail until the wallet fails to settle.
- README/.env.example do not document the requirement.
Solution
- Treat a missing/empty project id as a hard configuration error and surface it in the connect modal.
- Add env documentation and a dev-mode warning.
- Provide a graceful "configuration not set" state instead of an unworkable QR code.
Acceptance Criteria
- Without the project id, the wallet modal shows a clear configuration error instead of a dead QR.
- README documents the var and an example value source.
- With the var set, pairing proceeds as before.
npm run build passes.
Note for Contributors: Write a clear PR description. Include screenshot of the config-error state and the documented var in README.
Problem
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID || ''means without explicit configuration the client attempts to pair against the public relay with an empty project id, which the relay rejects — yet the UI proceeds to display a QR code as if pairing is viable.Solution
Acceptance Criteria
npm run buildpasses.Note for Contributors: Write a clear PR description. Include screenshot of the config-error state and the documented var in README.