Skip to content
/ horse Public

hardware remote nostr event signer with webserial

Notifications You must be signed in to change notification settings

lnbits/horse

Repository files navigation

horse

hardware remote signer of events

a bridge to your Nostr hardware signer device

Use this to sign Nostr events on web-apps without having to give them your keys.

It implements NIP-07, i.e. 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): Event // returns the full event object signed
async window.nostr.getRelays(): { [url: string]: RelayPolicy } // returns a map of relays
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

This extension is Chromium-only.


Icon by shmai.

About

hardware remote nostr event signer with webserial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published