TokenTwist

Step into the world of fair gaming with our blockchain-powered slot machine which is built on top of ZkNoid SDK

Repo
TokenTwist banner

About

This project is a decentralized slot machine game built on the Mina Protocol using the zknoid SDK and Protokit, with the backend powered by o1js library for secure random number generation, the game integrates zero-knowledge proofs to verify fairness without revealing sensitive data. A commit-reveal scheme is employed to ensure that outcomes cannot be altered after a commitment is made, reinforcing trust in the results. The frontend, built with TypeScript and React, provides an intuitive and interactive interface. By combining zk proofs, blockchain, and a user-friendly interface, this project demonstrates the potential of decentralized technologies in delivering provably fair online gaming.

How it's made

Partner Technologies: - zknoid SDK and Protokit allowed for easy integration of zk proofs, significantly reducing the complexity of incorporating zero-knowledge components. - Mina Protocol provided the ideal environment for deploying zk-based decentralized applications, benefiting from its lightweight and privacy-focused approach.

Technologies Used:

- Mina Protocol: The blockchain platform used to deploy the slot machine game, ensuring decentralized and lightweight operation. - zknoid SDK and Protokit: Used for building zero-knowledge applications and integrating zk proofs into the game for verifiable fairness. - o1js Library: Handles the random number generation through a commit-reveal scheme, securing the randomness process and preventing tampering. - TypeScript and React: Used for developing the frontend, providing a dynamic and interactive user experience.

Architecture and Integration:

- The backend and zk components are integrated using the Mina Protocol, enabling zk proofs to verify the fairness of each game outcome. - The o1js library is crucial for generating secure random numbers, which are verified via zk proofs to ensure the integrity of the game. - The commit-reveal scheme works by first committing to a random value and revealing it later, ensuring that the outcomes are predetermined and not influenced after the fact.

Notable Hacks and Challenges:

- Implemented custom logic to handle the randomness in a zk-friendly way, ensuring that the proofs were both efficient and verifiable on-chain. - Optimized the commit-reveal process to reduce latency and enhance the user experience, making the game responsive and engaging despite the underlying cryptographic operations.

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.

Power Clash

Step into the world of fair gaming with our blockchain-powered game which is built on top of ZkNoid SDK

Trustless Tricksters

A decentralized poker game built on Morph zkEVM, featuring secure card shuffling, Chainlink VRF for fairness, XMTP chat, and Web3Auth login. Experience the future of poker with fast, low-cost, and cheat-resistant gameplay on the blockchain. 馃儚馃攼馃殌 #Web3Poker

Connect4

Connect4 X ZkNoid: A blockchain-powered twist on the classic game! Built on Mina Protocol with ZkNoid, it features provable fairness, gasless transactions, and ZKPs for secure gameplay. Real-time matchmaking & leaderboards bring competitive gaming to the decentralized future!

ZKazino

Zero knowledge based poker developed using zknoid SDK which uses protokit behind the scenes and runs on mina chain.