Sverg š
A starter template combining the power of Svelte 5, modern UI components, and seamless Ergo blockchain integration.
Build modern dApps with a light, fast and reliable starter kit.
⨠Features
- š„ Svelte 5 Ready - Built with the latest Svelte 5 featuring runes, enhanced reactivity, and improved performance
- šØ Shadcn-Svelte UI - Pre-configured with beautiful, accessible UI components built on top of Bits UI
- š° Ergo Blockchain Integration - Ready-to-use wallet connection, transaction handling, and blockchain state management
- šÆ Tailwind v4 - Modern styling with the latest Tailwind CSS featuring new utilities and improved performance
- š”ļø TypeScript First - Full TypeScript support with strict type checking and excellent developer experience
- ⨠Motion Animations - Smooth, performant animations powered by Motion.dev for modern, engaging user experiences
- ā” Developer Tools - Hot reload, code splitting, optimized builds, and comprehensive development tooling
š ļø Tech Stack
- Svelte 5 - The latest and greatest
- TypeScript - Type safety everywhere
- Tailwind v4 - Modern CSS framework
- Shadcn-Svelte - Beautiful UI components
- Motion.dev - Smooth animations and interactions
- Fleet SDK - Ergo blockchain integration
- Lucide Icons - Consistent iconography
š Quick Start
# Clone the repository
git clone https://github.com/pehcastro/sverg.git
cd sverg
# Install dependencies
bun install
# or npm install / pnpm install / yarn
# Start development server
bun dev
# or npm run dev
š¦ Building
# Create production build
bun run build
# Preview production build
bun run preview
š Ergo Integration
This template comes with pre-configured Ergo blockchain integration:
- Wallet Connection - Support for all major Ergo wallets
- Transaction Handling - Send ERG and tokens with ease
- State Management - Reactive wallet and blockchain state
- Type Safety - Full TypeScript support for all Ergo operations
š Project Structure
src/
āāā lib/
ā āāā components/ # Reusable components
ā ā āāā ui/ # Shadcn-Svelte UI components
ā ā āāā blockchain/ # Ergo-specific components
ā āāā providers/ # Context providers (Ergo wallet, etc.)
ā āāā utils/ # Utility functions
ā āāā hooks/ # Custom hooks
āāā routes/ # SvelteKit routes
āāā app.html # App template
šÆ What's Included
- Pre-configured wallet selector with auto-reconnection
- ERG formatting utilities with precise conversions
- Responsive design with mobile-first approach
- Dark/light theme support
- Production-ready build configuration
- Comprehensive test page for blockchain functions
š” Contributing
Feel free to open issues and pull requests. This is a community-driven template for the Ergo ecosystem.
Built with ā¤ļø by nkz for the Ergo ecosystem.