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:
Diffstat (limited to '07.md')
-rw-r--r--07.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/07.md b/07.md
index 0bd3de6..3b7a1d2 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:
@@ -24,6 +24,9 @@ async window.nostr.nip04.decrypt(pubkey, ciphertext): string // takes ciphertext
24 24
25### Implementation 25### Implementation
26 26
27- [nos2x](https://github.com/fiatjaf/nos2x) is available as a Chromium extension that provides such capabilities. 27- [horse](https://github.com/fiatjaf/horse) (Chrome and derivatives)
28- [Alby](https://getalby.com) is a Bitcoin extension that also provides a compatible `window.nostr`. 28- [nos2x](https://github.com/fiatjaf/nos2x) (Chrome and derivatives)
29- [Blockcore](https://www.blockcore.net/wallet) 29- [Alby](https://getalby.com) (Chrome and derivatives, Firefox, Safari)
30- [Blockcore](https://www.blockcore.net/wallet) (Chrome and derivatives)
31- [nos2x-fox](https://diegogurpegui.com/nos2x-fox/) (Firefox)
32- [Flamingo](https://www.getflamingo.org/) (Chrome and derivatives)