@sei-js/create-sei CLI scaffolds a project with wallet connections, Sei network configuration, TypeScript, and styling already set up.
Scaffold in one command
http://localhost:3000. The dApp connects to Sei Mainnet unless .env.local sets NEXT_PUBLIC_CHAIN=testnet. Copy the template’s .env.example to .env.local to use Sei Testnet.
Templates
Next.js + Wagmi
The default template is a Next.js App Router dApp with typed wallet connections and contract reads and writes. That page lists its stack and pinned versions.
Precompiles extension
The default template plus a Bank precompile example that queries the native SEI supply through
@sei-js/precompiles.Run
npx @sei-js/create-sei list-extensions to see every available extension. The Scaffold Sei page documents all CLI options and the interactive setup.What the templates include
Wallet connections
RainbowKit with the generic injected browser-wallet connector. WalletConnect-based wallets also need
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID in .env.local.Sei network config
Sei Mainnet (EVM chain ID
1329) and Sei Testnet (EVM chain ID 1328), selected with NEXT_PUBLIC_CHAIN.Type safety
End-to-end TypeScript with Wagmi and Viem, so contract calls and ABIs are typed.
Tooling
Tailwind CSS and Mantine UI for styling, and Biome for formatting.
You need Node.js to run the CLI and Bun to install and run the generated project. The Scaffold Sei page lists the minimum versions.
Contribute a template
Templates ship as part of@sei-js/create-sei. To add one, such as a DeFi starter, an NFT mint, or an x402 payments dApp, open a pull request in sei-protocol/sei-js. Once it ships in the CLI, it can be listed here.
Next steps
Scaffold Sei (CLI reference)
Every
create-sei option, extension, and troubleshooting step.Build a frontend
Wire Wagmi, Viem, and a wallet into a Sei dApp from first principles.