UNPKG

pharos-agent-kit

Version:
17 lines 623 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PharosGetWalletAddressTool = void 0; const tools_1 = require("langchain/tools"); class PharosGetWalletAddressTool extends tools_1.Tool { constructor(pharosKit) { super(); this.pharosKit = pharosKit; this.name = "pharos_get_wallet_address"; this.description = `Get the wallet address of the agent`; } async _call(_input) { return this.pharosKit.wallet_address.toString(); } } exports.PharosGetWalletAddressTool = PharosGetWalletAddressTool; //# sourceMappingURL=wallet_address.js.map