ZKFL

A privacy-preserving fantasy football platform

About

## Wave 4 submission

Live Demo: https://zkfl.vercel.app

What We Built

ZKFL is the first fully private fantasy football league on Aleo. Users pick a squad, commit it on-chain as a zero-knowledge proof, and compete for prizes without anyone seeing their lineup until after the match resolves. This wave delivers a complete, playable product end-to-end: from wallet connection to prize payout, fully live on Aleo testnet.

Private Team Drafting

When a user submits a team, the full TeamData struct (13 player IDs, formation, captain, vice-captain) is passed as a private input, encrypted in the transaction and never visible on-chain. Only a BHP256 commitment hash is stored publicly, binding the user to their picks without revealing them. The TeamRecord lives in the user's wallet; nobody else, including the platform, can read the lineup.

ZK Score Proof

After a match resolves, users submit compute_score. The ZK proof verifies the submitted TeamRecord hashes to the on-chain commitment (lineup was not changed), the score was correctly computed from oracle-submitted stats, and the match is marked resolved. Only the final score is posted publicly; player selection remains private indefinitely.

On-Chain Escrow & Payouts

All entry fees are held in Aleo-native credits escrow via zkfl_prize_v2.aleo. The oracle calls pay_winner for each top-ranked entry. A 10% platform rake is retained; the remainder splits 60% / 25% / 15%.

Four Contracts Deployed

zkfl_match.aleo handles match registry and contest creation. zkfl_team_v2.aleo manages private drafting and formation validation. zkfl_scoring_v2.aleo handles oracle stat submission and ZK score computation. zkfl_prize_v2.aleo manages escrow and prize distribution. All four are live on Aleo testnet.

Multi-Match Support

Four fixtures launched this wave: Man City vs Liverpool, Real Madrid vs Barcelona, Bayern Munich vs Dortmund, and a fourth fixture. Each match runs independently via unique match_id fields; many contests per match without redeployment.

Oracle Service

A Node.js oracle reads fixture stats, submits submit_player_stats for each player (25+ on-chain calls per match), resolves matches, and triggers prize distribution. It is the only component requiring a funded private key; all user actions are fully self-custodied.

From the public Akindo product 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?

No public repo linked, so we can't tell.

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.