mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Amend nip46 describe and delegate methods (#304)
This commit is contained in:
parent
2bf08b3487
commit
d70959aee6
6
46.md
6
46.md
|
@ -61,7 +61,7 @@ These are mandatory methods the remote signer app MUST implement:
|
|||
|
||||
- **describe**
|
||||
- params []
|
||||
- result `{"get_public_key": { params: [], result: anything }}`
|
||||
- result `["describe", "get_public_key", "sign_event", "connect", "disconnect", "delegate", ...]`
|
||||
- **get_public_key**
|
||||
- params []
|
||||
- result `pubkey`
|
||||
|
@ -77,8 +77,8 @@ These are mandatory methods the remote signer app MUST implement:
|
|||
- **disconnect**
|
||||
- params []
|
||||
- **delegate**
|
||||
- params [`pubkey`, `conditions query string`]
|
||||
- result `nip26 delegation token`
|
||||
- params [`delegatee`, `{ kind: number, since: number, until: number }`]
|
||||
- result `{ from: string, to: string, cond: string, sig: string }`
|
||||
- **get_relays**
|
||||
- params []
|
||||
- result `{ [url: string]: {read: boolean, write: boolean} }`
|
||||
|
|
Loading…
Reference in New Issue
Block a user