UNPKG

@gala-chain/launchpad-mcp-server

Version:

MCP server for Gala Launchpad - 102 tools (pool management, event watchers, GSwap DEX trading, price history, token creation, wallet management, DEX pool discovery, liquidity positions, token locks, locked token queries, composite pool data, cross-chain b

17 lines 704 B
"use strict"; /** * Has Wallet Tool * * Checks if the SDK has a wallet configured for signing operations. * Returns true if wallet is available, false for read-only mode. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.hasWalletTool = void 0; const tool_factory_js_1 = require("../../utils/tool-factory.js"); exports.hasWalletTool = (0, tool_factory_js_1.createNoParamTool)({ name: 'gala_launchpad_has_wallet', description: 'Check if wallet is configured in the SDK. Returns true if wallet is available for signing operations, false if in read-only mode.', handler: (sdk) => sdk.hasWallet(), resultKey: 'hasWallet', }); //# sourceMappingURL=hasWallet.js.map