Skip to content
Z

ZK-Mafia

Mafia without a trusted 3rd party!

Created on 16th April 2023

•

Z

ZK-Mafia

Mafia without a trusted 3rd party!

The problem ZK-Mafia solves

In the standard Mafia game, all players need to trust the moderator. The moderator knows about everything that is going on in the game. Obviously, this is never a problem for friendly games, but wouldn't it be cool to play this game in an actually competitive setting? zkMafia makes this possible. Using zero-knowledge proofs, zkMafia lets the players decentralize the role of the moderator, thus making it possible for players to keep their secrets to themselves while playing the game.

Challenges we ran into

Had some difficulties verifying ZK circuit proofs on chain. Off chain we were able to figure out, but on chain we encountered an issue common to many other discord users. Had something to do with casting of bytes or overflowing.

Tracks Applied (4)

LionHack

We have an interesting project idea :)

Aztec

We used the noir language for our ZK circuits.

Quantstamp

We used Solidity and tested our contracts

🏆Fool's Gold

Our project has a silly side, too. Check the couchsurfer :)

Discussion

Builders also viewed

See more projects on Devfolio