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

Abierto
#688 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

  • #649 de @BBakker26 — cerrado sin fusionar
  • #650 de @BBakker26 — cerrado sin fusionar

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
dart, rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Dart
Estrellas
11
Forks
9
Merge medio
2 d 1 h
PR fusionados (30 d)
16

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MostroP2P/app

Todos los issues de MostroP2P/app

Issues similares

Más issues de Dart

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.