Amend nip46 describe and delegate methods (#304)

This commit is contained in:
Marco Argentieri 2023-02-27 18:22:46 +01:00 committed by GitHub
parent 2bf08b3487
commit d70959aee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
46.md
View File

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