upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/07.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-01-15 15:37:42 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-01-15 15:37:42 -0300
commit230f63dd5fb1e0d3465c6962ffafbc7fa29e4983 (patch)
treecee188f2a250216f710e221d224ba041c8499f7d /07.md
parentf0842438c149be4834010540a30a4bdea7bee81e (diff)
nip-07 extensions to also add .id and .pubkey when signing.
Diffstat (limited to '07.md')
-rw-r--r--07.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/07.md b/07.md
index 0bd3de6..20c671a 100644
--- a/07.md
+++ b/07.md
@@ -12,7 +12,7 @@ That object must define the following methods:
12 12
13``` 13```
14async window.nostr.getPublicKey(): string // returns a public key as hex 14async window.nostr.getPublicKey(): string // returns a public key as hex
15async window.nostr.signEvent(event: Event): Event // takes an event object and returns it with the `sig` 15async window.nostr.signEvent(event: Event): Event // takes an event object, adds `id`, `pubkey` and `sig` and returns it
16``` 16```
17 17
18Aside from these two basic above, the following functions can also be implemented optionally: 18Aside from these two basic above, the following functions can also be implemented optionally: