basic functionality, untested.

This commit is contained in:
fiatjaf
2022-01-10 14:11:49 -03:00
parent 853a2b304b
commit 88a2dd806d
11 changed files with 156 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ It provides a `window.nostr` object which has the following methods:
```
async window.nostr.getPublicKey(): string // returns your public key as hex
async window.nostr.signEvent(event) // signs the given event in place
async window.nostr.signEvent(event): string // returns the signature as hex
```
---