OpenViSTAI · Agents · Blockchain · Crypto
Menu
NFTs & Gaming

0Xfable

0Xfable is a browser-based trading card game built to run with blockchain contracts and zero-knowledge circuits. Its public repository includes a Next.js web app, contract and circuit packages, and instructions for running the game stack locally on Anvil.

Independent OpenViST project profile, based on linked sources.

0Xfable — OpenViST project profile in NFTs & Gaming.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Install the prerequisites and run the command below.

    Documented command
    make setup
  2. In separate terminals, run the command below and the command below.

    Documented command
    make anvil
    Documented command
    make webdev
  3. Run the command below and the command below.

    Documented command
    make deploy
    Documented command
    make circuits
  4. Open 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.
Source-based practical guide

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

  1. Open http://localhost:3000/?index=0 in one browser profile.

  2. Open http://localhost:3000/?index=1 in a second profile.

  3. 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.
Evidence and transparency

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