@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. To use Sei Testnet, copy the template’s .env.example to .env.local.
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
This is the default template plus a Bank precompile example. The example queries the native SEI supply through
@sei-js/precompiles.To see every available extension, run
npx @sei-js/create-sei list-extensions. The Scaffold Sei page documents all CLI options and the interactive setup.What the templates include
Wallet connections
The templates use RainbowKit with the generic injected browser-wallet connector. WalletConnect-based wallets also need
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID in .env.local.Sei network config
The templates support Sei Mainnet (EVM chain ID
1329) and Sei Testnet (EVM chain ID 1328). NEXT_PUBLIC_CHAIN selects the network.Type safety
The templates use TypeScript end to end with wagmi and viem, so contract calls and ABIs are typed.
Tooling
The templates use 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 a template, open a pull request in sei-protocol/sei-js. For example, you can add a DeFi starter, an NFT mint, or an x402 payments dApp. After the template ships in the CLI, it can be listed here.
Next steps
Scaffold Sei (CLI reference)
See every
create-sei option, extension, and troubleshooting step.Build a frontend
Connect wagmi, viem, and a wallet to a Sei dApp from first principles.