# 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): string // returns the signature as hex ``` ## Screenshots ![](screenshot1.png) ![](screenshot2.png) ![](screenshot3.png) ![](screenshot4.png) --- LICENSE: public domain. Icon made by Freepik from www.flaticon.com.