Skip to content

Running ENSAdmin Locally

Terminal window
pnpm install
Terminal window
cp .env.local.example .env.local

Available environment variables:

  • NEXT_PUBLIC_SERVER_CONNECTION_LIBRARY - Comma-separated list of ENSNode URLs offered as connection options (defaults to NameHash’s hosted instances)
  • ENSADMIN_PUBLIC_URL - The public URL where ENSAdmin is hosted (optional)

Starts the Next.js development server:

Terminal window
pnpm dev

Visit http://localhost:4173 to build with ENSAdmin locally.

Create an optimized static export and serve it locally:

Terminal window
pnpm build
pnpm start

The production preview runs on http://localhost:4173 using the serve package.