@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) • 845 B
JavaScript
import { BaseHederaTransactionTool, BaseHederaQueryTool } from "hedera-agent-kit";
class BaseInscriberTransactionTool extends BaseHederaTransactionTool {
constructor(params) {
super(params);
this.namespace = "inscriber";
this.inscriberBuilder = params.inscriberBuilder;
}
/**
* Override to return the InscriberBuilder
*/
getServiceBuilder() {
return this.inscriberBuilder;
}
}
class BaseInscriberQueryTool extends BaseHederaQueryTool {
constructor(params) {
super(params);
this.namespace = "inscriber";
this.inscriberBuilder = params.inscriberBuilder;
}
/**
* Override to return the InscriberBuilder
*/
getServiceBuilder() {
return this.inscriberBuilder;
}
}
export {
BaseInscriberQueryTool,
BaseInscriberTransactionTool
};
//# sourceMappingURL=standards-agent-kit.es32.js.map