https://github.com/T-33/ETHBishkek2025
Business plan is in BUSINESS.md
Overview
Game Economy Dashboard is a comprehensive blockchain-based platform that enables transparent game economies with provably fair lootbox mechanics, ERC1155 NFT items, and advanced analytics for developers.
Problem: Game developers struggle with opacity in item distribution, economic inflation, and player distrust in centralized systems.
Solution: On-chain lootboxes with transparent probabilities, real-time analytics, and supply controls that give developers full visibility while players truly own their items.
Key Features
For Players
For Developers
Tech Stack
Blockchain
Smart Contracts
Frontend
Deployed Contracts (zkSync Sepolia)
ContractAddressExplorer
| GameItems | 0x809EB00D049f2D58ad7C7b7005B900C09FB68b5D | View |
| EconomyController | 0xcD24d6bbB32dC8bfB3eB2C8674584303CeFb84A7 | View |
| Lootbox | 0xdb63c3Ff0a1a1bc2DC84f4f3d1cf1a6E4457fDCb | View |
Network: zkSync Sepolia Testnet (Chain ID: 300)
Architecture
Smart Contract Flow
Player → Lootbox.openLootbox() (pays ETH) ↓ EconomyController.requestMint() ├─ Check rarity weights ├─ Validate supply caps └─ Enforce time-based limits ↓ GameItems.mint() (ERC1155) ↓ Player receives NFT items
Game Items
Key Design Principles
Quick Start
Prerequisites
Installation
# Clone repositorygit clone cd ETHBishkek2025# Install dependenciesyarn install
Local Development
# Terminal 1: Start local blockchainyarn chain# Terminal 2: Deploy contractsyarn deploy# Terminal 3: Start frontendyarn start
Open http://localhost:3000
Deploy to zkSync Sepolia
# Set up environmentcp packages/hardhat/.env.example packages/hardhat/.env# Add your private key to .env# Deploy contractscd packages/hardhatyarn deploy:zksync# Start frontendcd ../nextjsyarn dev
Generate Test Data
# Populate analytics with test transactionsyarn generate-activity
Usage
Player Portal (/player)
Analytics Dashboard (/analytics)
Transaction History (/history)
Project Structure
ETHBishkek2025/├── packages/│ ├── hardhat/ # Smart contracts│ │ ├── contracts/ # Solidity contracts│ │ ├── deploy/ # Deployment scripts│ │ └── scripts/ # Helper scripts│ ││ └── nextjs/ # Frontend│ ├── app/ # Next.js pages│ ├── components/ # React components│ ├── hooks/ # Custom hooks│ ├── contracts/ # ABIs & addresses│ └── utils/ # Utility functions│├── CLAUDE.md # Developer guide└── README.md # This file
Development Commands
# Contract developmentyarn compile # Compile contractsyarn deploy # Deploy to local networkyarn deploy:zksync # Deploy to zkSync Sepoliayarn test # Run contract tests# Frontend developmentyarn start # Start Next.js dev serveryarn next:check-types # TypeScript type checkingyarn next:lint # Lint frontend code# Testingyarn generate-activity # Generate test transactionsyarn hardhat:test # Run contract tests with gas reports# Utilitiesyarn account # Show deployer account infoyarn format # Format code (both packages)
Key Technologies
zkSync Era
ERC1155
Scaffold-ETH 2
Security Features
Analytics Features
The platform tracks comprehensive metrics:
All data is calculated from on-chain events in real-time.
Roadmap
Current (v1.0)
Future
License
MIT License
Contact & Links
Built with Scaffold-ETH 2 for ETH Bishkek 2025