Bare-minimum Avaxopoly MVP scaffold:
apps/web: React + Three.js frontend with wallet connect, deposit flow, board view, and single-player turn loopapps/server: authoritative offchain game service with in-memory sessions and settlement signingpackages/shared: data-driven board content, card content, narrative moments, and game enginecontracts: Avalanche FujiGameBankescrow/settlement contract plus mock ERC-20s and tests
- Install dependencies with
pnpm install. - Copy environment files:
apps/server/.env.exampletoapps/server/.envapps/web/.env.exampletoapps/web/.env
- Set Fuji RPC, GameBank address, token addresses, payout caps, swap rates, and WalletConnect project ID.
- Run the backend with
pnpm dev:server. - Run the frontend with
pnpm dev:web.
- Single human player with 3 scripted bots
- Offchain rules and in-memory sessions
- Onchain Fuji escrow and payout settlement
- Data-driven Avalanche-native board moments and cards
- Supported settlement tokens:
AVAX,COQ,KET,NOCHILL
- Requires real config values for Fuji token addresses and treasury signer
- No persistence layer yet; sessions reset on server restart
- Houses, hotels, auctions, multiplayer, and trading are intentionally out of scope