skeleton.

This commit is contained in:
fiatjaf
2022-01-09 21:30:15 -03:00
commit 853a2b304b
13 changed files with 1316 additions and 0 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# nos2x
### notes and other stuff signed by an extension)
## Nostr Signer Extension
This allows you to sign [Nostr](https://github.com/fiatjaf/nostr) events on web-apps without having to give them your keys.
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
```
---
LICENSE: public domain.
Icon made by <a href="https://www.freepik.com" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>.