2022-02-14 20:06:58 -03:00
2022-02-14 20:06:58 -03:00
2022-01-14 09:54:14 -03:00
2022-01-15 17:52:35 -03:00
2022-01-09 21:30:15 -03:00
2022-01-09 21:30:15 -03:00
2022-01-26 22:05:57 -03:00
2022-01-09 21:30:15 -03:00
2022-01-26 22:40:10 -03:00
2022-02-01 16:46:31 -03:00
2022-01-15 17:52:35 -03:00
2022-01-15 17:52:35 -03:00
2022-01-15 17:52:35 -03:00
2022-01-15 17:52:35 -03:00
2022-01-25 20:16:56 -03:00

nos2x

notes and other stuff signed by an extension

Nostr Signer Extension

This allows you to sign 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
async window.nostr.nip04.encrypt(pubkey, plaintext): string // returns ciphertext+iv as specified in nip04
async window.nostr.nip04.decrypt(pubkey, ciphertext): string // takes ciphertext+iv as specified in nip04

Demo Video

https://user-images.githubusercontent.com/1653275/149637382-65d50a85-fe30-4259-b7de-99c88b089b53.mp4

Install

  • Firefox Add-on
  • Chrome Extension
  • git clone https://github.com/fiatjaf/nos2x && cd nos2x && yarn && yarn run build then load as unpackaged on chrome://extensions with "developer mode" enabled

Screenshots


LICENSE: public domain.

Icon made by Freepik from www.flaticon.com.

Description
nostr signer extension, fork of nos2x by fiatjaf
Readme 5.3 MiB
Languages
JavaScript 99.9%