Nymb is a cutting-edge Telegram Mini App that combines gaming, social features, and blockchain technology. Built on the TON (The Open Network) blockchain, it offers users an immersive gaming experience with NFT minting, social interactions, and reward systems.
- Swipe Game: Interactive card-based gaming mechanics
- Battle Game: Competitive gameplay with Rive animations
- Daily Rewards: Claim daily bonuses to keep players engaged
- Farming System: Earn rewards through various activities
- Star Board: Leaderboard system to track top performers
- Referrals (Frens): Invite friends and earn rewards
- Tasks System: Complete challenges for additional rewards
- TON Connect: Seamless wallet connectivity
- NFT Minting: Mint unique NFTs with 0.1 TON transactions
- Early Access NFTs: Special minting opportunities for early users
- Transaction Verification: Real-time blockchain transaction monitoring
- React 19 with TypeScript
- Vite for fast development and building
- React Router DOM for navigation
- Rive Animations for rich interactive graphics
- Lottie for additional animations
- TON Connect UI for wallet integration
- ton-core for blockchain interactions
- Custom transaction handling with BOC (Bag of Cells) processing
- ESLint with TypeScript support
- Prettier for code formatting
- PostCSS for styling
- Vite SVGR for SVG component generation
The app is specifically designed as a Telegram Mini App with:
- Telegram Web App API integration
- Safe area handling for mobile devices
- Custom styling for Telegram's dark theme
- Optimized for mobile-first experience
- Node.js (v18 or higher)
- npm or yarn
- Telegram account for testing
- Clone the repository:
git clone <repository-url>
cd nymb- Install dependencies:
npm install- Start the development server:
npm run devThe app will be available at http://localhost:3000
npm run buildThis will generate optimized files in the dist/ directory with a post-build script for additional processing.
The app uses various polyfills and configurations for blockchain compatibility:
- Buffer polyfills for browser compatibility
- Global variable definitions for TON Connect
- Custom Vite configuration for Node.js modules
The app connects to TON wallets using a manifest file:
https://nymb-frontend.vercel.app/manifest/tonconnect-manifest.json
src/
โโโ api/ # API client and backend integrations
โโโ assets/ # Images, icons, and animations
โโโ common/ # Reusable components
โโโ context/ # React context providers (Auth, etc.)
โโโ hooks/ # Custom React hooks
โโโ pages/ # Main application pages
โโโ types/ # TypeScript type definitions
โโโ utils/ # Utility functions
โโโ App.tsx # Main application component
โโโ main.tsx # Application entry point
- Index: Main landing page with animations and game previews
- Home: User dashboard
- Star Board: Leaderboard and rankings
- Tasks: Challenge and quest system
- Frens: Referral and social features
- Daily Rewards: Daily check-in system
- Swipe Game: Card-based gaming interface
- Authentication: Telegram-based user authentication
- Wallet Integration: TON Connect for blockchain operations
- NFT Minting: Complete transaction flow for NFT creation
- Animation System: Rive-based animations for enhanced UX
- TypeScript for type safety
- ESLint configuration for code quality
- Secure transaction handling
- Proper error handling for blockchain operations
- Local storage management for user data
The application is configured for deployment on Vercel with:
- Optimized build configuration
- Proper asset handling
- TON Connect manifest hosting
- Lazy loading for animations
- Optimized bundle splitting
- Efficient React rendering
- Minimal blockchain API calls
- Fork the repository
- Create a feature branch
- Make your changes
- Run linting and tests
- Submit a pull request
npm run dev- Start development servernpm run build- Build for productionnpm run postbuild- Run post-build processingnpm run lint- Run ESLintnpm run preview- Preview production build
Nymb - Where gaming meets blockchain in the Telegram ecosystem.