NWC: the web app cannot connect a wallet, and blames the URI

Aperta
#688 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #649 di @BBakker26 — chiusa senza merge
  • #650 di @BBakker26 — chiusa senza merge

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
dart, rust

Direzione di ricerca

Read rust/src/nwc/client.rs and locate connect_wallet to understand the web stub and how failures are labeled. Review linked PRs #649 and #650 first, since they already address the proposed error messaging and web support. Done means the reported web connection failure is resolved and users receive a helpful error when NWC is unavailable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

On mostro.network/app, connecting an NWC wallet always fails with "Connection failed. Please check your NWC URI and try again." The same URI works in the Android app. The console shows [nwc] connection failed: AnyhowException(InvalidNwcUri: NWC is not supported on web).

The web build stubs the NWC client out (rust/src/nwc/client.rs), and connect_wallet labels every failure InvalidNwcUri. The stub's reason ("needs tokio + TCP") no longer holds: the app already reaches its own relays from the browser through nostr-sdk.

Proposal: label connect errors by what helps the user, and say on web that NWC is not available yet (#649). Then drop the stub so NWC works on web (#650).

Reported by a user; reproduced in Chrome.

Lingua principale
Dart
Stelle
11
Fork
9
Merge medio
2g 1h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MostroP2P/app

Tutte le issue di MostroP2P/app

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.