Credits & payments

chainship is crypto-only and built on unusual economics: Arweave storage is pay-once-permanent and bandwidth is free (no egress bill, ever).

How it works

Topping up (USDC on Base)

  1. Pay USDC to the operator's address on Base (shown in the app).

  2. Redeem the payment into credits:

    chainship redeem <base-tx-hash>
    

    The server verifies the transfer on-chain and credits your account (idempotent — a tx can't be redeemed twice).

  3. Check your balance: chainship balance (or the dashboard).

Gasless deploys

The server performs the deploy on its treasury (storage) and debits your credits; you never hold ETH or Arweave credits. No refunds after upload, because storage is permanent. The deploy log names the price it charged; run chainship deploy --estimate to see it first.

Agentic (x402)

For machine-to-machine deploys, the API can answer HTTP 402 with payment requirements; the caller pays USDC on Base and retries with X-PAYMENT: <tx hash> and X-PAYMENT-SIGNATURE, the paying wallet's signature over the signMessage of the answer (it names the payment and the bundle). One payment buys one bundle. If the upload fails, send the same request again. Experimental.