Search projects, hackathons, sponsors and tech

    ← All projects

    Mincomind

    On chain mastermind/cows and bulls tournament built on Inco network

    About

    Video: demo Deck: https://docs.google.com/presentation/d/1QEbknOpkDt-Bz82htuTw9E1d23snHOuSdhhkCJmNf30/edit?usp=sharing On chain cows and bulls tournament built on Inco network, leveraging fully homomorphic encryption to enable secret values and randomisation in smart contracts. # Game play ## Basics A secret code of 4 colour pegs is created 🟤🟤🟤🟤 A player attempts to guess the secret code 🔴🟢🟠🟣 After each guess, the player gets feedback: A black peg for each correct color in the correct position (bull). ⚫ A white peg for each correct color in the wrong position (cow). ⚪ Objective: Use the feedback to deduce the secret code within 8 attempts. ## Tournament Deposit 0.001 inco native tokens to play Fail = lose your deposit Win = earn points = land on the leaderboard Redeem points for proportion of the pot, but leave leaderboard

    How it's made

    - Smart contracts - Inco network leveraging homomorphic encryption to implement secrets & randomization on chain - UI - Rescript react, Dynamic for wallet connection & interaction, blockscout for tx & account info - Indexer - envio Fully homorphic encryption opened an entirely new paradigm in smartcontract engineering, it was an interesting problem to solve having timestamp based view functions after blocks where mined to prevent reverting transactions on bad game outcomes.