UNPKG

@gluneau/hive-mcp-server

Version:

An MCP server that enables AI assistants to interact with the Hive blockchain

25 lines 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.verifySignatureSchema = exports.signMessageSchema = void 0; // Cryptography tool schemas const zod_1 = require("zod"); // Schema for sign_message tool exports.signMessageSchema = zod_1.z.object({ message: zod_1.z.string().min(1).describe('Message to sign (must not be empty)'), key_type: zod_1.z .enum(['posting', 'active', 'memo', 'owner']) .optional() .default('posting') .describe('Type of key to use: \'posting\', \'active\', or \'memo\'. Defaults to \'posting\' if not specified.'), }); // Schema for verify_signature tool exports.verifySignatureSchema = zod_1.z.object({ message_hash: zod_1.z .string() .describe('The SHA-256 hash of the message in hex format (64 characters)'), signature: zod_1.z.string().describe('Signature string to verify'), public_key: zod_1.z .string() .describe('Public key to verify against (with or without the STM prefix)'), }); //# sourceMappingURL=crypto.js.map