UNPKG

@getalby/paidmcp

Version:

Charge for your MCP Server tools using Nostr Wallet Connect

8 lines (7 loc) 270 B
import { IStorage } from "./storage.js"; export declare class MemoryStorage implements IStorage { private _validPaymentHashes; constructor(); isValid(paymentHash: string): Promise<boolean>; setValid(paymentHash: string, valid: boolean): Promise<void>; }