Private production repository for Zoo Labs gaming ecosystem, NFT marketplace, and blockchain infrastructure.
zoo-labs/zoo/
βββ apps/ # Gaming applications
β βββ zoo-app/ # Main Zoo mobile/web app
β βββ marketplace/ # NFT marketplace
β βββ breeding/ # Breeding mechanics app
β βββ battles/ # Battle system app
βββ services/ # Microservices
β βββ zoo-node/ # Core blockchain node
β βββ zips/ # Zoo Improvement Proposals Service
β βββ hips/ # Habitat Improvement Proposals Service
β βββ lips/ # Loot Improvement Proposals Service
βββ contracts/ # Smart contracts
β βββ nft/ # NFT contracts (ERC-721, ERC-1155)
β βββ tokens/ # Token contracts (ZOO, BAMBOO)
β βββ defi/ # DeFi mechanics (staking, farming)
β βββ governance/ # DAO governance contracts
βββ infrastructure/ # Infrastructure as Code
β βββ kubernetes/ # K8s deployments
β βββ ipfs/ # IPFS nodes configuration
β βββ subgraph/ # The Graph protocol indexers
βββ game-assets/ # Game assets and metadata
β βββ animals/ # Animal NFT metadata
β βββ habitats/ # Habitat assets
β βββ items/ # In-game items
βββ analytics/ # Analytics and monitoring
βββ on-chain/ # On-chain analytics
βββ game-metrics/ # Game performance metrics
Main gaming application with:
- NFT collection and management
- Breeding mechanics
- Battle system
- Marketplace integration
- Wallet connectivity (MetaMask, WalletConnect)
Blockchain infrastructure node:
- Custom EVM-compatible chain
- High-throughput for gaming transactions
- Low gas fees for gameplay
- Bridge to Ethereum mainnet
- Core protocol upgrades
- Governance proposals
- Economic model changes
- Technical standards
- Habitat mechanics updates
- Environmental systems
- Resource generation rules
- Habitat NFT standards
- Item system updates
- Loot box mechanics
- Rarity algorithms
- Item NFT standards
- Networks: Ethereum, Polygon, Arbitrum, Zoo Chain
- Standards: ERC-721, ERC-1155, ERC-20
- Tools: Hardhat, Foundry, OpenZeppelin
- Indexing: The Graph, Alchemy
- Runtime: Node.js 20+
- Framework: NestJS
- Database: PostgreSQL, Redis
- Queue: BullMQ
- Storage: IPFS, Arweave
- Framework: Next.js 14
- UI: React 18, TailwindCSS
- Web3: ethers.js, wagmi, viem
- State: Zustand, React Query
- Engine: Phaser.js / Unity WebGL
- Physics: Matter.js
- Animation: Lottie, Rive
- Audio: Howler.js
# Clone the repository
git clone [email protected]:zoo-labs/zoo.git
cd zoo
# Install dependencies
pnpm install
# Set up environment
cp .env.example .env
# Configure blockchain RPC endpoints and API keys
# Start local blockchain
pnpm run chain:local
# Deploy contracts
pnpm run contracts:deploy:local
# Start services
pnpm run dev
# Start Zoo Node
cd services/zoo-node
docker compose up -d
# Deploy to testnet
pnpm run deploy:goerli
# Deploy to mainnet (requires approval)
pnpm run deploy:mainnet
# Verify contracts
pnpm run verify:etherscan
# Start validator node
./zoo-node --validator --stake 100000
# Run archive node
./zoo-node --archive --rpc-external
# Bridge assets
./scripts/bridge.sh --from ethereum --to zoo --amount 1000
- Total Supply: 10,000
- Traits: 150+ unique traits
- Breeding: Enabled after 30 days
- Staking: 100 ZOO/day base rate
- Total Supply: 5,000
- Types: Jungle, Arctic, Desert, Ocean, Sky
- Capacity: 5-50 animals per habitat
- Resources: Generate BAMBOO tokens
- Dynamic supply based on gameplay
- Rarity: Common, Rare, Epic, Legendary, Mythic
- Uses: Consumable, Equipment, Breeding
- Trading: P2P marketplace enabled
- Supply: 1,000,000,000
- Distribution:
- 30% - Play to Earn rewards
- 20% - Staking rewards
- 20% - Team & Advisors (4-year vest)
- 15% - Ecosystem fund
- 10% - Initial liquidity
- 5% - Marketing
- Supply: Unlimited (inflation controlled)
- Generation: From habitats and staking
- Uses: Breeding, items, upgrades
- Burn: 50% of usage burned
https://api.zoo.game/v1/
βββ /animals # Animal metadata
βββ /habitats # Habitat information
βββ /marketplace # Marketplace listings
βββ /leaderboard # Game rankings
βββ /proposals # ZIPS/HIPS/LIPS
wss://ws.zoo.game/
βββ battles # Real-time battles
βββ marketplace # Live marketplace updates
βββ breeding # Breeding events
βββ governance # Proposal updates
- Audits: Certik, Trail of Bits
- Bug Bounty: Up to $100,000
- Multi-sig: 4/7 for treasury
- Timelock: 48-hour delay for upgrades
- TPS: 10,000+ transactions per second
- Block Time: 2 seconds
- Gas Cost: <$0.01 per transaction
- Uptime: 99.99% SLA
- Grafana: https://monitoring.zoo.game
- Status: https://status.zoo.game
- Analytics: https://analytics.zoo.game
- Explorer: https://explorer.zoo.game
Proprietary - Zoo Labs, Inc. All rights reserved.