@x402solana/cheshire-core
v0.1.1
Published
Core runtime helpers for Cheshire Terminal — Convex URL normalization, public-config types, and production readiness checks.
Downloads
206
Maintainers
Readme
@x402solana/cheshire-core
Core runtime helpers for Cheshire Terminal:
- Convex URL normalization (
.cloud/.site) GET /api/public-configclientGET /api/healthclient with Drizzle + Convex readiness checks
Install
npm install @x402solana/cheshire-coreUsage
import {
fetchPublicConfig,
fetchHealth,
isProductionReady,
normalizeConvexCloudUrl,
} from "@x402solana/cheshire-core";
const config = await fetchPublicConfig("https://cheshireterminal.ai");
console.log(config.convexUrl, config.walletRpcUrl);
const health = await fetchHealth("https://cheshireterminal.ai", { probe: true });
console.log(isProductionReady(health), health.database, health.convex);License
MIT
