FanForge

Sports prediction game using card collectibles. Collect cards, predict match outcomes, earn rewards!

ETHGlobal Buenos AiresShipped November 21, 2025Prize winner#gaming#nft#social
Repo
FanForge banner

About

FanForge is a sports prediction game on Chiliz Blockchain. Players collect and pack cards (player cards like Tom Brady and Mbappé, and match event cards like Red Card, Hat Trick, Overtime), use them to make predictions on real sports matches, and earn dynamic Fan NFTs that level up based on prediction accuracy and knowledge of your team. This is a new way for sports fans to interact with their teams. FanForge allows fans to turn their passion into real interactions and value. They can get a prize reward if they show their loyalty through accurate predictions and upgrading their NFT (proof of loyalty and knowledge). This also allows to turn fandoms into financial participation and bring all the attention of sports into a gamified experience where users can also win.

How it's made

I am using Solidity with Hardhat, OpenZeppelin, React, Ethers.js and the app is deployed on Chiliz Spicy Testnet. The system includes 3 contracts—CardPackFactory, DynamicFanNFT, and PredictionManager. This works with a React frontend that interacts directly via Ethers.js. I have a Pseudo-randomness logic that uses block.timestamp, block.prevrandao, and per-user nonces. Prediction IDs are computed client-side by iterating previous matches. The frontend handles BigInt-to-string conversions from Ethers.js. Card ownership is checked by iterating up to 30 card IDs instead of indexed queries. Metadata URIs are dynamically updated on NFT level-ups using abi.encodePacked string concatenation. The system uses a cumulative probability distribution for rarity (40/30/20/8/2%) and locks cards by transferring them to the PredictionManager contract during predictions.

Prizes

  • Chiliz · The Future of Fan Ownership · 1st place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

FanFusion

The hyper-focused ultimate SocialFi x SportFi platform! Engage with dynamic AIGC-generated quizzes, pool-based fantasy sports, fan tokens, and NFT collectibles. Built on EVM-compatible chains for seamless scalability and powered by Flow, Chiliz, Scroll, Celo, Morph and Mantle. 🏀

FanPredix

FanPredix is a decentralized, peer-to-peer prediction market platform designed specifically for sports events, leveraging team-specific Fan Tokens on the Chiliz blockchain.