Quick Start Guide
Build your first Sei application in under 10 minutes with @sei-js
Prerequisites
Before you begin, ensure you have the following installed:
Create your first Sei application
Initialize your project
Generate a new Sei application using our CLI tool:
Expected outcome: A new project directory with TypeScript configuration, testing setup, and example code.
The CLI will ask you to choose a template. Select “React + Wagmi” for a full-featured web application, or “Node.js” for backend/script development.
Navigate and install dependencies
Move into your project directory and install dependencies:
Expected outcome: All dependencies installed successfully without errors.
Start your development server
Launch your application in development mode:
Expected outcome: Development server running at http://localhost:3000
with hot reload enabled.
Your browser should automatically open to show your new Sei application with:
- Wallet connection button
- Network status display
- Example interactions ready to test
What you can build
Your new Sei application comes with examples and patterns for common blockchain interactions:
Connect Wallets
Connect to any Sei-compatible wallet including MetaMask, Compass, and more using the built-in wallet integration
Check Balances
Fetch and display wallet balances for SEI and other tokens with real-time updates
Query Blockchain Data
Access blockchain information like total SEI supply using precompile contracts
Smart Contract Interactions
Deploy and interact with smart contracts including simple examples like counters and token transfers