Skip to content

WalletConnect project ID defaults to empty string, breaking pairing #500

Description

@therealjhay

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.

  1. The empty-string default is indistinguishable from "misconfigured" and gives no user-facing error.
  2. Only a QR code is shown; there is no indication that pairing will fail until the wallet fails to settle.
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions