@enclaved/encli
Version:
CLI utilities for working with enclaved application server for TEEs
27 lines (26 loc) • 832 B
TypeScript
/**
* Container Pay command implementation
*/
import { Command } from 'commander';
/**
* Run the pay command
* @param pubkey Public key of the container
* @param amount Amount in sats to pay
* @param walletName Optional wallet name to use for payment
* @param relay Relay URL to search for the container
* @param description Optional description for the payment
* @returns Result of the pay operation
*/
export declare function runPayCommand(pubkey: string, amount: number, walletName?: string, relay?: string, description?: string): Promise<{
success: boolean;
name: any;
invoice: any;
preimage: any;
address: any;
amount: number;
}>;
/**
* Register the pay command with the CLI
* @param program Commander program instance
*/
export declare function registerPayCommand(program: Command): void;