Next.js

chainship deploys statically exported Next.js. Perfect for dApp frontends; not for server-runtime apps.

Setup

Add static export to next.config:

// next.config.mjs
export default { output: "export" };

Then deploy as usual — chainship auto-detects Next and builds to out/:

npx chainship deploy        # or drop the folder in the browser

If output: "export" is missing, chainship stops before building with a clear message.

✅ Supported

❌ Not supported (and why)

A server at request time would reintroduce the central trust chainship removes — so there is no server runtime. These Next.js features therefore don't work:

Migrating server logic

Every tool that checks frontends has this boundary: the frontend is permanent and each asset is tamper-checked (pointer verification on chain is still to come). Dynamic behavior runs in the client or against APIs it calls. See the trust model.