UNPKG

node-red-contrib-nostr

Version:

Node-RED nodes for seamless Nostr protocol integration. Features robust WebSocket handling, event filtering, and NPUB-based routing. Built with TypeScript for type safety and extensive testing. Perfect for Nostr automation flows.

7 lines (6 loc) 299 B
import { NostrEvent } from '../nodes/shared/types'; export declare class EventBuilder { private static keyManager; static createEvent(kind: number, content: string, privateKey: string, tags?: string[][]): Promise<NostrEvent>; static validateEvent(event: NostrEvent): Promise<boolean>; }