mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
NIP-46: replace npub1...#? notation with bunker://... (#1023)
This commit is contained in:
parent
c8ba0e2e35
commit
d3dad114e6
3
46.md
3
46.md
|
@ -17,7 +17,7 @@ The client always starts by generating a random key which is used to communicate
|
||||||
The remote signer generates a connection token in the form
|
The remote signer generates a connection token in the form
|
||||||
|
|
||||||
```
|
```
|
||||||
<npub1...>#<optional-secret>?relay=wss://...&relay=wss://...
|
bunker://<hex-pubkey>?relay=wss://...&relay=wss://...&secret=<optional-secret>
|
||||||
```
|
```
|
||||||
|
|
||||||
The user copies that token and pastes it in the client UI somehow. Then the client can send events of kind `24133` to the specified relays and wait for responses from the remote signer.
|
The user copies that token and pastes it in the client UI somehow. Then the client can send events of kind `24133` to the specified relays and wait for responses from the remote signer.
|
||||||
|
@ -96,4 +96,3 @@ The signer key will always be the key of the user who controls the signer device
|
||||||
- **ping**
|
- **ping**
|
||||||
- params: []
|
- params: []
|
||||||
- result: `"pong"`
|
- result: `"pong"`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user