diff options
| author | Pablo Fernandez <pfer@me.com> | 2025-10-08 14:34:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 14:34:47 +0300 |
| commit | 2ace01cf1ad0a68dae6217111c9286e3de759923 (patch) | |
| tree | aaf2aed489f96a5900e0fc3956f8b4e5a7f9ba28 | |
| parent | b516adbf423a120045e07adf5358ae69f190f3c8 (diff) | |
NWC Deep Links (#1777)
| -rw-r--r-- | 47.md | 18 |
1 files changed, 18 insertions, 0 deletions
| @@ -667,3 +667,21 @@ Here are some properties that are recognized by some NWC clients: | |||
| 667 | "sig": "31f57b369459b5306a5353aa9e03be7fbde169bc881c3233625605dd12f53548179def16b9fe1137e6465d7e4d5bb27ce81fd6e75908c46b06269f4233c845d8" | 667 | "sig": "31f57b369459b5306a5353aa9e03be7fbde169bc881c3233625605dd12f53548179def16b9fe1137e6465d7e4d5bb27ce81fd6e75908c46b06269f4233c845d8" |
| 668 | } | 668 | } |
| 669 | ``` | 669 | ``` |
| 670 | |||
| 671 | ### Deep-links | ||
| 672 | |||
| 673 | Wallet applications can register deeplinks in mobile systems to make it possible to create a linking UX that doesn't require the user scanning a QR code or pasting some code. | ||
| 674 | |||
| 675 | `nostrnwc://connect` and `nostrnwc+{app_name}://connect` can be registered by wallet apps and queried by apps that want to receive an NWC pairing code. | ||
| 676 | |||
| 677 | All URI parameters, MUST be URI-encoded. | ||
| 678 | |||
| 679 | URI parameters: | ||
| 680 | * `appicon` -- URL to an icon of the client that wants to create a connection. | ||
| 681 | * `appname` -- Name of the client that wants to create a connection. | ||
| 682 | * `callback` -- URI schema the wallet should open with the connection string | ||
| 683 | |||
| 684 | Once a connection has been created by the wallet, it should be returned to the client by opening the callback with the following parameters | ||
| 685 | * `value` -- NWC pairing code (e.g. `nostr+walletconnect://...`) | ||
| 686 | |||
| 687 | |||