uniderp-mcp
Version:
> A plug-and-play MCP tool server to **send ETH**, **transfer ERC-20 tokens**, **deploy tokens**, and **interact with smart contracts** on the **UNICHAIN** — built for **Claude Desktop**, **AI agents**, and **developers.**
12 lines (11 loc) • 341 B
JavaScript
import fs from "fs";
import path from "path";
import { __dirname } from "../lib/storage.js";
let version = "1.0.0"; // fallback
try {
const pkgPath = path.resolve(__dirname, "../../package.json");
const pkgJson = JSON.parse(fs.readFileSync(pkgPath, "utf8"));
version = pkgJson.version || version;
}
catch { }
export { version };