Project Description
It is necessary to develop a full-featured 2D farm game in the Telegram Mini-App format with gamification elements, tap-to-earn mechanics, a referral system, and Web3 functionality (company tokens, NFT, staking). The game should launch inside Telegram, supporting messenger-based authorization.
Tasks and Requirements
- Frontend (game client)
- Framework: Phaser.js
- Wrapper: React or Vue.js
- Gameplay:
- 2D "farm" scenes: pastures, cows, milking machines
- Tap-to-earn, daily quests and missions, puzzles
- Leaderboards, achievements, social challenges
- Telegram Integration:
- Telegram Web App SDK (authorization, context passing)
- Inline buttons, deep-link chat transitions
- UX/UI:
- Responsive interface for mobile devices
- Animations and micro-interactions
- Bot & Backend
- Language and framework: Node.js + Telegraf.js
- Bot functionalities:
- Linking Telegram ID to game profile
- Referral system: link generation and tracking, bonus accrual
- Notifications about new missions and airdrops
- API for frontend:
- Saving progress, statistics, leaderboards
- Endpoints: get profile, balance, task list
- Database: PostgreSQL (or similar)
- Web3 Integration
- Smart contracts:
- ERC-20 company token
- ERC-721/1155 for NFT items
- Development tools: Hardhat or Truffle
- Client library: ethers.js
- Functions:
- mint / claimReward
- stake / unstake
- transfer / swap within the game
- Wallet support: MetaMask, Telegram Wallet, WalletConnect
- Admin Panel
- Framework: React or Vue.js
- Functions:
- KPI monitoring (DAU, CPA, Retention)
- Referral campaigns and airdrop management
- Viewing and moderating user accounts
- Game economy settings (bonuses, farm speed)
- Infrastructure and DevOps
- Containerization: Docker
- CI/CD: GitHub Actions or similar
- Deployment: AWS / GCP / DigitalOcean
- Monitoring and logging: Prometheus + Grafana or ELK
- Testing and Security
- Functional testing: coverage of key scenarios
- Unit and integration tests for smart contracts
- Smart contract security audit (with recommendations)
- Load testing for backend API and Telegram bot
Expected Results
- Fully functional Telegram Mini-App with specified features
- Deployed and tested smart contracts
- Backend and bot ready for scaling
- Admin panel for game management
- Detailed documentation on installation, deployment, and operation
Required Skills of the Performer
- Phaser.js, JavaScript/TypeScript, HTML5/WebGL
- React or Vue.js
- Node.js, Telegraf.js, Express
- Solidity, Hardhat/Truffle
- ethers.js or Web3.js
- PostgreSQL
- Docker, CI/CD, experience with cloud deployment
- Experience in developing Telegram Mini-Apps and bots
- Understanding of Web3 architecture, tokenomics, and NFT