mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -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**
|
- **describe**
|
||||||
- params []
|
- params []
|
||||||
- result `{"get_public_key": { params: [], result: anything }}`
|
- result `["describe", "get_public_key", "sign_event", "connect", "disconnect", "delegate", ...]`
|
||||||
- **get_public_key**
|
- **get_public_key**
|
||||||
- params []
|
- params []
|
||||||
- result `pubkey`
|
- result `pubkey`
|
||||||
|
@ -77,8 +77,8 @@ These are mandatory methods the remote signer app MUST implement:
|
||||||
- **disconnect**
|
- **disconnect**
|
||||||
- params []
|
- params []
|
||||||
- **delegate**
|
- **delegate**
|
||||||
- params [`pubkey`, `conditions query string`]
|
- params [`delegatee`, `{ kind: number, since: number, until: number }`]
|
||||||
- result `nip26 delegation token`
|
- result `{ from: string, to: string, cond: string, sig: string }`
|
||||||
- **get_relays**
|
- **get_relays**
|
||||||
- params []
|
- params []
|
||||||
- result `{ [url: string]: {read: boolean, write: boolean} }`
|
- result `{ [url: string]: {read: boolean, write: boolean} }`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user