import {
  promptDeposit
} from "./chunk-GYJKIBJJ.js";
import "./chunk-DZNSJ2BA.js";
import "./chunk-DPKUB6GL.js";
import "./chunk-6XGAIMNK.js";
import {
  getWallet
} from "./chunk-HFEYSQRZ.js";
import "./chunk-NPJV7AMV.js";
import "./chunk-LNQRIXFK.js";
import {
  log
} from "./chunk-Y4VZACTC.js";
import "./chunk-VDBUUHJF.js";
import "./chunk-ITCDZXBZ.js";
import "./chunk-QZBSRYSW.js";
import "./chunk-NROPRHIC.js";
import "./chunk-C7KWYVS3.js";

// src/cli/commands/fund.ts
import { intro, log as clackLog, outro } from "@clack/prompts";
import chalk from "chalk";
var fundMcpServer = async (args) => {
  intro(chalk.bold(`Fund ${chalk.hex("#2563eb")("agentcash MCP")}`));
  const walletResult = await getWallet();
  if (walletResult.isErr()) {
    log.error(walletResult.error.message);
    clackLog.error(walletResult.error.message);
    outro(chalk.bold.red("Failed to get wallet"));
    process.exit(1);
  }
  await promptDeposit("fund", args, walletResult.value);
  outro(chalk.bold.green("Your agentcash MCP server is funded!"));
};
export {
  fundMcpServer
};
//# sourceMappingURL=fund-OTAWWC7N.js.map