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) 788 B
import { BaseHederaTransactionTool, BaseHederaQueryTool } from "hedera-agent-kit"; class BaseHCS10TransactionTool extends BaseHederaTransactionTool { constructor(params) { super(params); this.namespace = "hcs10"; this.hcs10Builder = params.hcs10Builder; } /** * Override to return the HCS10Builder */ getServiceBuilder() { return this.hcs10Builder; } } class BaseHCS10QueryTool extends BaseHederaQueryTool { constructor(params) { super(params); this.namespace = "hcs10"; this.hcs10Builder = params.hcs10Builder; } /** * Override to return the HCS10Builder */ getServiceBuilder() { return this.hcs10Builder; } } export { BaseHCS10QueryTool, BaseHCS10TransactionTool }; //# sourceMappingURL=standards-agent-kit.es7.js.map