nostr-tools
Version:
Tools for making a Nostr client.
12 lines (11 loc) • 461 B
TypeScript
import { type VerifiedEvent } from './pure.ts';
interface NWCConnection {
pubkey: string;
/** @deprecated Use `relays` instead. This returns only the first relay. */
relay: string;
relays: string[];
secret: string;
}
export declare function parseConnectionString(connectionString: string): NWCConnection;
export declare function makeNwcRequestEvent(pubkey: string, secretKey: Uint8Array, invoice: string): Promise<VerifiedEvent>;
export {};