Templates
Choose from a collection of templates to quickly scaffold your Sei dApps. Each template comes pre-configured with wallet connection, network setup, and essential development tools.
New to @sei-js/create-sei? Check out our Quick Start guide for step-by-step instructions on getting started. This page is a reference for all available template combinations.
Next.js Templates
Choose from these Next.js-based templates for building production-ready frontend dApps with server-side rendering, SEO optimization, and full-stack capabilities. Each template includes pre-configured wallet connections and Sei blockchain integration.
Next.js + Wagmi (EVM)
Production-ready Next.js application with Wagmi for type-safe Ethereum wallet connections and blockchain interactions. Includes built-in support for MetaMask, WalletConnect, Coinbase Wallet, and other popular wallets. Best for full-stack dApps requiring server-side rendering, SEO optimization, and robust wallet integration.
CLI Flags: -f next -e evm -l wagmi
Tech Stack: Next.js 14
Wagmi v2
Viem
TanStack Query
Tailwind CSS
Next.js + Ethers.js (EVM)
Next.js application using Ethers.js for blockchain interactions with custom React hooks for wallet management. Includes pre-configured Sei precompile contract integrations for native blockchain functionality like token operations, staking, and governance. Ideal for developers familiar with Ethers.js who need direct access to Sei’s unique features.
CLI Flags: -f next -e evm
Tech Stack: Next.js 14
Ethers.js v6
Custom Hooks
Sei Precompiles
Tailwind CSS
Next.js + CosmJS (Cosmos) - Deprecated
Deprecated: CosmWasm and Cosmos functionality will be removed from Sei as part of SIP-3. Please use EVM templates for new projects.
Legacy Next.js application with CosmJS for Cosmos SDK interactions and Keplr wallet integration. Supports native Cosmos transaction signing and IBC transfers. Only recommended for maintaining existing Cosmos-based applications before migrating to EVM templates.
CLI Flags: -f next -e cosmos
Tech Stack: Next.js 14
CosmJS
Keplr Wallet
Cosmos SDK
Tailwind CSS
Vite Templates
Select from these Vite-based templates for rapid frontend dApp development with instant hot module replacement and lightning-fast build times. Perfect for prototyping, single-page applications, and development environments requiring quick iteration cycles.
Vite + Wagmi (EVM)
Ultra-fast development environment with Vite’s instant hot module replacement and Wagmi’s type-safe wallet connections. Features automatic wallet detection, connection state management, and optimized bundle sizes. Perfect for rapid prototyping, development testing, and single-page applications requiring fast iteration cycles.
CLI Flags: -f vite -e evm -l wagmi
Tech Stack: Vite
React 18
TypeScript
Wagmi v2
Viem
TanStack Query
Vite + Ethers.js (EVM)
Lightweight Vite application with Ethers.js for direct blockchain interactions and custom wallet connection setup. Includes Sei precompile contract factories for accessing native functionality like bank operations, staking rewards, and oracle price feeds. Best for developers who prefer minimal abstractions and direct control over wallet connections.
CLI Flags: -f vite -e evm
Tech Stack: Vite
React 18
TypeScript
Ethers.js v6
Sei Precompiles
Vite + CosmJS (Cosmos) - Deprecated
Deprecated: CosmWasm and Cosmos functionality will be removed from Sei as part of SIP-3. Please use EVM templates for new projects.
Legacy Vite application with CosmJS for Cosmos SDK interactions, Keplr wallet integration, and native Cosmos transaction signing. Supports IBC transfers and CosmWasm contract interactions. Only use for maintaining existing Cosmos applications during the transition period to EVM-based architecture.
CLI Flags: -f vite -e cosmos
Tech Stack: Vite
React 18
TypeScript
CosmJS
Keplr Wallet
What’s Included
Every template includes these essential features:
Wallet Connection
Ready-to-use wallet connection with support for MetaMask, WalletConnect, and other popular wallets
Network Configuration
Pre-configured for Sei mainnet, Atlantic-2 testnet, and devnet environments
Type Safety
Full TypeScript support with proper type definitions for contracts and blockchain interactions
Modern Tooling
ESLint, Prettier, and modern development tools configured out of the box
Responsive Design
Mobile-first responsive layouts with Tailwind CSS utility classes
Error Handling
Comprehensive error boundaries and user feedback for blockchain interactions