-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
NIP-47 says:
The connection URI contains the following query string parameters: * relay Required. URL of the relay where the wallet service is connected and will be listening for events. May be more than one.
However the sdk uses only a single relay query param included in the connection string:
Line 88 in 761d172
| const relayUrl = url.searchParams.get("relay"); |
Using multiple relays encoded in the string (at least 2 or 3 if available) would increase the reliability as the connection wouldn't depend on a single relay anymore that may be down or blocks the current IP (e.g. due to VPN or Tor).
Metadata
Metadata
Assignees
Labels
No labels