project screenshot 1
project screenshot 2
project screenshot 3

SillyVoting

Trying to allow people to create Survivor-like games on-chain!

SillyVoting

Created At

ETHGlobal San Francisco

Project Description

The goal was to create a smart contract + front-end in order to allow users to create their own Survivor games on-chain. It would use Gnosis's shutter to hide the elimination votes until after the player was eliminated, to maintain the secrecy that's key to the game. In its present form, the smart contract functionality to allow elimination does not currently work. It only allows for voting, but there's currently no way to remove a player based on the conclusion of those votes.

How it's Made

I used solidity, foundry, and some node.js+ethers for testing. The full vision of the project was to allow users to create new games using a react client-side, as well as start elimination rounds, vote in elimination rounds, and reveal who was eliminated (as well as actually eliminate them on the smart contract side). In order to prevent players from seeing how others are voting, they would sign a hash of the address of the player they wish to eliminate it, and commit that using Shutter, so that it could only be revealed after the elimination round was over.

background image mobile

Join the mailing list

Get the latest news and updates