Use case

Client preview sites without shared logins.

An agency can put each client preview site on its own production URL with one command, without a shared agency account or a dashboard login to pass around. Hosting is prepaid in USDC at $0.20 per project-day, and on approval the site transfers to the client's wallet for $0.01 without going offline.

One project per client, one command

From the client project root, run:

$ npx x402-hosting@latest deploy --days 30

Each client site is its own project with its own URL, its own prepaid period, and its own x402-hosting.json record in the repository. The CLI builds locally with OpenNext before payment, so a broken preview build costs nothing. Thirty days of preview hosting is $6.01 per client.

No shared agency credentials

There are no accounts on x402-hosting, which means there is no agency login to share, rotate, or leak. Ownership is per project and cryptographic: the wallet that pays the first upload controls that project, and every paid mutation must settle from the same wallet. Offboarding a team member is not a password rotation exercise — it is a key management decision you already make.

owner walletthe projectDeploy, renew, rollback, transfer, and delete must settle from the same wallet.
Ownership is cryptographic: the wallet that pays the first upload controls the project.

What each preview includes

  • Static assets, 100,000 dynamic requests, 15 million CPU ms
  • Revisions during review: $0.01 redeploys at the same URL
  • Free status reads, so the client can check state independently
  • Rollback to a previous deployment for $0.01
  • Supported Next.js: 15.5.21 to below 16, or 16.2.11 and later

Handover on approval

When the client approves the work, run npx x402-hosting@latest transfer --to 0x… with the client's wallet address. The transfer costs $0.01, the site never goes offline, and from that point every renewal and redeploy settles from the client's wallet — the agency is out of the billing path entirely. The transfer guide details the flow.

Predictable per-client costs

Prepaid pricing makes per-client accounting trivial: $0.20 per project-day per site, with every operation and its exact cost on the pricing page. There is no agency tier, no per-seat pricing, and no consolidated invoice to untangle — each project carries its own prepaid balance of days.

Related guides