Modern DeFi Platform for Business Operations
StateSet Zone is a comprehensive decentralized finance (DeFi) application built on the Cosmos SDK that streamlines business operations through blockchain technology. From invoice management to smart contracts, StateSet Zone provides all the tools you need to run efficient, transparent business operations.
- 📄 Invoice Management - Create, track, and manage invoices with automated workflows
- 🛒 Purchase Orders - Streamline procurement with intelligent purchase order management
- 💰 DeFi Loans - Access decentralized lending and borrowing with competitive rates
- 📋 Smart Contracts - Deploy and manage smart contracts for automated business processes
- 🏪 Commerce Platform - Build and scale e-commerce operations with integrated payments
- 📊 Analytics Dashboard - Gain insights with comprehensive reporting and analytics
- 🌙 Dark/Light Mode - Full theme support with system preference detection
- 📱 Responsive Design - Mobile-first design with modern UI components
- ⚡ Performance Optimized - Fast loading with optimized assets and code splitting
- 🔐 Secure Authentication - Powered by Clerk with social login support
- 🌐 Blockchain Integration - Native Cosmos SDK and Keplr wallet support
- 🎨 Modern UI/UX - Beautiful interface with smooth animations and transitions
- Frontend: Next.js 13, React 18, TypeScript
- Styling: Tailwind CSS 3 with custom design system
- Authentication: Clerk
- State Management: Apollo Client, React Query
- Blockchain: Cosmos SDK, CosmJS, Keplr
- Animation: Framer Motion
- UI Components: Headless UI, Heroicons
├── components/ # Reusable UI components
│ ├── Layout.js # Main layout with navigation
│ └── ...
├── hooks/ # Custom React hooks
│ ├── useTheme.js # Theme management hook
│ └── ...
├── pages/ # Next.js pages/routes
│ ├── _app.js # App wrapper with providers
│ ├── index.js # Landing page
│ ├── home.js # Dashboard
│ └── ...
├── styles/ # CSS and styling
│ └── global.css # Global styles with Tailwind
├── public/ # Static assets
└── ...
- Node.js 18+
- npm or yarn
- Keplr wallet (for blockchain features)
-
Clone the repository
git clone https://github.com/stateset/stateset-zone-app.git cd stateset-zone-app -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Add your environment variables:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_key NEXT_PUBLIC_GRAPHQL_ENDPOINT=your_graphql_endpoint NEXT_PUBLIC_ADMIN_SECRET=your_admin_secret
-
Run the development server
npm run dev
-
Open your browser Visit http://localhost:3000
npm run build
npm start- Primary: Blue variants for main actions and highlights
- Secondary: Yellow/Orange for accent elements
- Accent: Gray variants for text and neutral elements
- Success: Green for positive states
- Warning: Yellow for caution states
- Error: Red for error states
- Font Family: Inter (with fallbacks)
- Sizes: Responsive scale from 2xs to 9xl
- Weights: 100-900 range support
- Buttons: Primary, secondary, outline, ghost, danger, success variants
- Cards: Header, body, footer sections with consistent spacing
- Forms: Styled inputs with focus states and validation
- Badges: Status indicators with color variants
The design system is built on Tailwind CSS with custom configuration:
- Extended color palette
- Custom animations and transitions
- Responsive design utilities
- Dark mode support
GraphQL client configured with:
- HTTP link for queries/mutations
- Authentication headers
- Error handling
- Cache management
Pre-configured authentication with:
- Social login providers
- User management
- Route protection
- Session handling
- Metrics Overview - Key business metrics with trend indicators
- Quick Actions - Fast access to common tasks
- Recent Activity - Timeline of recent operations
- Network Status - Blockchain network information
- Wallet Integration - Balance and transaction history
- Mobile-first approach
- Tablet optimized layouts
- Desktop enhanced experience
- Touch-friendly interactions
- Code splitting for optimal loading
- Image optimization with Next.js
- CSS optimization with Tailwind purging
- Bundle analysis tools included
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the ISC License - see the LICENSE file for details.
- Documentation: docs.stateset.io
- RPC Endpoint: rpc.stateset.zone
- GitHub: github.com/stateset
- Website: stateset.io
- Discord: Join our community
- Twitter: @stateset
- Email: support@stateset.io
Built with ❤️ by the StateSet team