Practical overview
When it fits
Use 0Xfable when you want to inspect or run a browser-based card-game project whose documented setup brings together a web client, local EVM contracts and zero-knowledge circuits.
Who it is for
- Developers exploring fully on-chain card-game design.
- People who want to run the documented local game setup and test it with Anvil accounts.
Documented uses
- Launch the web development server against a local EVM node.
- Deploy the game contracts locally and build the zero-knowledge circuits.
- Open a local game session and test with two preloaded Anvil accounts.
Requirements & limits
- The documented route is a local development setup, not a described hosted-game onboarding flow.
- Running the circuits requires Circom and a 300 MB trusted setup file on the first build.
- The README documents proof-skipping and deterministic-randomness variants for testing.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up and launch 0Xfable locally
Run the web app with contracts deployed to a local Anvil EVM node and build the circuits.
Before you start
- Make and Foundry
- Node.js and PNPM; the README reports testing with Node v20.1.0 and says the appropriate PNPM version is listed in package.json
- Circom, required to build the circuits package
- A 300 MB trusted setup file for the first circuits build
Steps
Install the prerequisites and run the command below.
make setupIn separate terminals, run the command below and the command below.
make anvilmake webdevRun the command below and the command below.
make deploymake circuitsOpen the app at
http://localhost:3000/.
Expected outcome
The README describes an Anvil node at localhost:8545 with chain ID 1337, a running Next.js development server, contracts deployed to the local node and circuits built.
Guide limitations
- Anvil and the web development server must remain running in their own terminals.
- If port 3000 is occupied, Next.js may use another port.
- After restarting Anvil, a wallet may need its activity and nonce data reset.
Test a local game session with two accounts
Use the documented local test accounts to open the game with separate player identities.
Before you start
- A running local setup and app at
http://localhost:3000/ - Two browser profiles or separate browsers
- The Anvil test accounts; the README says accounts 0 and 1 receive pre-airdropped decks during deployment
Steps
Open
http://localhost:3000/?index=0in one browser profile.Open
http://localhost:3000/?index=1in a second profile.Interact with the app using the two local test accounts.
Expected outcome
The app loads the local test identities, allowing a two-account game test without selecting a wallet for every transaction.
Guide limitations
- The README says two separate browsers or profiles are needed; two tabs may work only partly, and a reload can reset the address.
- The documented account paths load test private keys locally and are intended for testing.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- 0xFableOrg/0xFable · Official homepage title · retained in its source language

