UNPKG

@hashgraphonline/standards-agent-kit

Version:

A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication.

33 lines (32 loc) 775 B
import { BaseHederaTransactionTool, BaseHederaQueryTool } from "hedera-agent-kit"; class BaseHCS2TransactionTool extends BaseHederaTransactionTool { constructor(params) { super(params); this.namespace = "hcs2"; this.hcs2Builder = params.hcs2Builder; } /** * Override to return the HCS2Builder */ getServiceBuilder() { return this.hcs2Builder; } } class BaseHCS2QueryTool extends BaseHederaQueryTool { constructor(params) { super(params); this.namespace = "hcs2"; this.hcs2Builder = params.hcs2Builder; } /** * Override to return the HCS2Builder */ getServiceBuilder() { return this.hcs2Builder; } } export { BaseHCS2QueryTool, BaseHCS2TransactionTool }; //# sourceMappingURL=standards-agent-kit.es20.js.map