Command-line interface for Run402 — provision Postgres databases, deploy static sites, run Node 22 serverless functions, host content-addressed CDN assets, send email, and sign on-chain, all paid autonomously with x402 USDC micropayments on Base. Version 2.37.0, active development, Node >=22 required. Key differentiators include testnet prototype tier (free), JSON-only output for scripting, and GitHub Actions OIDC integration.
npm install run402No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a Run402 allowance (testnet), provisions a Postgres database, deploys a static site from ./dist, and claims a subdomain.
Always pipe stdout to jq or parse JSON; check exit code for success/failure.
Use 'deploy apply --manifest app.json' for new deployments.
Update Node.js to version 22 or later.
Run 'run402 init' first, then verify with 'run402 allowance balance'.
Ensure wallet is configured and testnet USDC is obtained via faucet (run402 allowance fund).
Upgrade Node.js to v22 or later (e.g., 'nvm install 22').
Run 'run402 init' to create and fund an allowance.
Run 'run402 allowance fund' to request testnet USDC.