A modern, Web3-enabled Next.js application built with TypeScript and TailwindCSS. This project serves as the base client for HashStack's decentralized platform.
- Framework: Next.js 15.1 with React 19
- Language: TypeScript
- Styling: TailwindCSS with SASS support
- Web3: RainbowKit, wagmi, and viem for blockchain interactions
- State Management: Zustand
- Data Fetching: TanStack Query (React Query)
- UI Components: Radix UI primitives
├── app/ # Next.js 15 app directory (pages, layouts)
├── assets/ # Static assets (images, icons)
├── components/ # Reusable UI components
│ ├── ui/ # Base UI components
│ └── ... # Feature-specific components
├── constant/ # Application constants and configurations
├── context/ # React context providers
├── features/ # Feature-specific modules
├── hooks/ # Custom React hooks
├── lib/ # Third-party library configurations
├── store/ # Zustand store definitions
├── styles/ # Global styles and Tailwind configurations
├── types/ # TypeScript type definitions
├── utils/ # Utility functions
└── web3/ # Web3-specific implementations
- Node.js 18+
- Yarn package manager
# Install dependencies
yarn install
# Setup environment variables
cp .env.example .env.local
# Start development server
yarn dev
The application will be available at http://localhost:3000.
- TurboRepo Integration: Faster development builds
- TypeScript: Strict type checking
- ESLint & Prettier: Code quality and formatting
- Tailwind CSS: Utility-first CSS framework with animations
Copy .env.example
to .env.local
and configure:
NEXT_PUBLIC_WALLET_CONNECT_ID
: WalletConnect Project IDNEXT_PUBLIC_ALCHEMY_ID
: Alchemy API Key- Additional network-specific variables
Web3 providers and network configurations are managed in web3/
directory. The
application supports multiple networks through RainbowKit and wagmi.
# Production build
yarn build
# Start production server
yarn start
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request to
development
branch
This project is proprietary software. All rights reserved.