run402-mcp
Version:
MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
10 lines • 679 B
JavaScript
import { loadX402Stack } from "./_paid-stack.js";
import { checkBalanceAcrossProviders } from "./paid-fetch.js";
/** Balance, never the historical faucet marker, decides whether bootstrap needs funding. */
export async function prototypeBalance(address) {
const { createPublicClient, http, baseSepolia } = await loadX402Stack();
const clients = ["https://sepolia.base.org", "https://base-sepolia-rpc.publicnode.com"]
.map(url => createPublicClient({ chain: baseSepolia, transport: http(url) }));
return checkBalanceAcrossProviders(clients, "0x036CbD53842c5426634e7929541eC2318f3dCF7e", address, "eip155:84532");
}
//# sourceMappingURL=prototype-balance.js.map