@dolphin-id/cli creates a runnable Next.js Dolphin ID app from scriptable
flags.
dolphin-id create my-dolphin-app --framework next --chains evm,sui --ui default --auth self-hosted --token-storage cookieGenerated apps include:
- EVM and/or Sui adapters based on
--chains. - Either
@dolphin-id/uidefault components or headless@dolphin-id/reacthooks based on--ui. - Self-hosted Next.js nonce/session routes or hosted endpoint configuration
based on
--auth. - Cookie-backed or memory-only session behavior based on
--token-storage. dev,build,typecheck, andtestscripts.
Default UI with self-hosted auth:
dolphin-id create my-dolphin-app --chains evm,sui --ui default --auth self-hosted --token-storage cookieHeadless UI with hosted auth:
dolphin-id create my-headless-app --ui headless --auth hosted --hosted-url https://auth.example.com --token-storage memorySui-only self-hosted app:
dolphin-id create my-sui-app --chains sui --auth self-hosted --token-storage cookieAfter generation:
cd my-dolphin-app
pnpm install
pnpm test
pnpm dev