mirror of
https://github.com/lux-apps/game.git
synced 2026-10-30 18:15:14 +00:00
The only live network was Sepolia, where deploy.sepolia.json pointed at OpenZeppelin's own deployment of the levels; its Motorbike still checks the old condition. Lux Testnet, C-Chain 96368, replaces it, defined once in src/chains.js for the client and the supersede script. Until the levels are deployed there, the game offers to deploy them from the browser, as it does on any network without deploy data. A push to main that passes the tests now publishes client/build to the Sites plane as project `game`. Claude-Session: https://claude.ai/code/session_019ABm6hF8RNyUFpbjQWqfxY
client
The game's web client: React, Vite and viem.
yarn dev # dev server
yarn build # production build in build/
ABIs and level sources are read from ../contracts (run forge build
first); deployed addresses from src/gamedata/deploy.<network>.json.
Environment comes from the repository root .env (see .env-sample).