mirror of
https://github.com/edufeed-org/nips.git
synced 2025-12-09 16:24:32 +00:00
nip-07 extensions to also add .id and .pubkey when signing.
This commit is contained in:
parent
f0842438c1
commit
230f63dd5f
1 changed files with 1 additions and 1 deletions
2
07.md
2
07.md
|
|
@ -12,7 +12,7 @@ That object must define the following methods:
|
|||
|
||||
```
|
||||
async window.nostr.getPublicKey(): string // returns a public key as hex
|
||||
async window.nostr.signEvent(event: Event): Event // takes an event object and returns it with the `sig`
|
||||
async window.nostr.signEvent(event: Event): Event // takes an event object, adds `id`, `pubkey` and `sig` and returns it
|
||||
```
|
||||
|
||||
Aside from these two basic above, the following functions can also be implemented optionally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue