NIP-46: replace npub1...#? notation with bunker://... (#1023)

This commit is contained in:
fiatjaf_ 2024-02-06 20:29:33 -03:00 committed by GitHub
parent c8ba0e2e35
commit d3dad114e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
46.md
View File

@ -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"`