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. https://hol.org

26 lines (25 loc) 644 B
const DEFAULT_CONFIG = { maxInscriptionSize: 50 * 1024, // 50KB minContentSize: 10, logLevel: "warn" }; function loadConfig() { return { maxInscriptionSize: parseInt( process.env.REF_MAX_SIZE || DEFAULT_CONFIG.maxInscriptionSize.toString(), 10 ), minContentSize: parseInt( process.env.REF_MIN_SIZE || DEFAULT_CONFIG.minContentSize.toString(), 10 ), logLevel: process.env.REF_LOG_LEVEL || DEFAULT_CONFIG.logLevel, enableContentValidation: process.env.REF_ENABLE_VALIDATION !== "false" }; } export { DEFAULT_CONFIG, loadConfig }; //# sourceMappingURL=standards-agent-kit.es2.js.map