UNPKG

@hashgraphonline/hedera-agent-kit

Version:

Build LLM-powered applications that interact with the Hedera Network. Create conversational agents that can understand user requests in natural language and execute Hedera transactions, or build backend systems that leverage AI for on-chain operations.

10 lines (8 loc) 361 B
import { Key } from '@hashgraph/sdk'; /** * Parses a string representation of a key into an SDK Key object. * Supports hex-encoded private keys (derives public key) or hex/DER-encoded public keys. * @param keyString The key string. * @returns An SDK Key object or null if parsing fails. */ export declare function parseKey(keyString: string): Key | null;