@getalby/paidmcp
Version:
Charge for your MCP Server tools using Nostr Wallet Connect
14 lines (13 loc) • 375 B
TypeScript
import { IWallet } from "./wallet.js";
export declare class NWCWallet implements IWallet {
private _nwcUrl;
constructor(nwcUrl: string);
verifyPayment(paymentHash: string): Promise<boolean>;
requestInvoice(args: {
satoshi: number;
description: string;
}): Promise<{
payment_hash: string;
payment_request: string;
}>;
}