@enclaved/encli
Version:
CLI utilities for working with enclaved application server for TEEs
15 lines (14 loc) • 604 B
TypeScript
import { Event } from "nostr-tools";
import { Client } from "./client";
export declare function validateKeycrux(e: Event): Promise<any>;
export declare function fetchKeycruxServices(pubkey?: string, relayUrl?: string): Promise<Event[]>;
export declare function fetchKeycruxService(pubkey: string, relayUrl?: string): Promise<Event | undefined>;
export declare class KeycruxClient extends Client {
constructor({ relayUrl, signerPubkey, privkey, }: {
relayUrl: string;
signerPubkey: string;
privkey?: Uint8Array;
});
start(): Promise<void>;
ping(): Promise<void>;
}