MCP Etherscan Server

import { promisify } from 'util'; import { exec } from 'child_process'; export const execAsync = promisify(exec); /** * Escapes special characters in strings for AppleScript */ export function escapeString(str: string): string { // Escape for both AppleScript and shell return str .replace(/'/g, "'\\''") .replace(/"/g, '\\"'); }