diff options
| author | Marco Argentieri <3596602+tiero@users.noreply.github.com> | 2023-02-27 18:22:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-27 14:22:46 -0300 |
| commit | d70959aee6f8e6e2f2bff02898c0281a64c53a8d (patch) | |
| tree | 5ed5954c243474b5ec4d0e88654786b58df4651e /46.md | |
| parent | 2bf08b34874bc040cc257b46806cc682b56e6b50 (diff) | |
Amend nip46 describe and delegate methods (#304)
Diffstat (limited to '46.md')
| -rw-r--r-- | 46.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -61,7 +61,7 @@ These are mandatory methods the remote signer app MUST implement: | |||
| 61 | 61 | ||
| 62 | - **describe** | 62 | - **describe** |
| 63 | - params [] | 63 | - params [] |
| 64 | - result `{"get_public_key": { params: [], result: anything }}` | 64 | - result `["describe", "get_public_key", "sign_event", "connect", "disconnect", "delegate", ...]` |
| 65 | - **get_public_key** | 65 | - **get_public_key** |
| 66 | - params [] | 66 | - params [] |
| 67 | - result `pubkey` | 67 | - result `pubkey` |
| @@ -77,8 +77,8 @@ These are mandatory methods the remote signer app MUST implement: | |||
| 77 | - **disconnect** | 77 | - **disconnect** |
| 78 | - params [] | 78 | - params [] |
| 79 | - **delegate** | 79 | - **delegate** |
| 80 | - params [`pubkey`, `conditions query string`] | 80 | - params [`delegatee`, `{ kind: number, since: number, until: number }`] |
| 81 | - result `nip26 delegation token` | 81 | - result `{ from: string, to: string, cond: string, sig: string }` |
| 82 | - **get_relays** | 82 | - **get_relays** |
| 83 | - params [] | 83 | - params [] |
| 84 | - result `{ [url: string]: {read: boolean, write: boolean} }` | 84 | - result `{ [url: string]: {read: boolean, write: boolean} }` |